-
Notifications
You must be signed in to change notification settings - Fork 14
chore: setup copilot project instructions #683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c1fcbd5
d15e6ba
ae55ae0
490a616
21a9804
f403353
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,7 @@ | |
| *.env | ||
|
|
||
| .vscode/ | ||
| .claude/ | ||
|
|
||
| credentials*.json | ||
| .run/ | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,148 @@ | ||||||||||||||
| # Compass Project — AI Agent Instructions | ||||||||||||||
|
|
||||||||||||||
| ## Project Overview | ||||||||||||||
|
|
||||||||||||||
| Compass is an AI-powered chatbot that helps job-seekers discover and articulate their skills using the ESCO (European Skills, Competences, Qualifications and Occupations) taxonomy. Users describe their work experiences in a conversational interface, and the system maps those experiences to standardized occupations and skills. | ||||||||||||||
|
|
||||||||||||||
| > **Terminology note**: "Agent" in this codebase refers to a **Compass conversation agent** — a backend Python class that handles one phase of the user's chat conversation (e.g., welcome, experience collection, skills exploration, farewell). These are *not* AI coding agents. See the [backend instructions](copilot-instructions-backend.md) for the full agent architecture. | ||||||||||||||
|
||||||||||||||
| > **Terminology note**: "Agent" in this codebase refers to a **Compass conversation agent** — a backend Python class that handles one phase of the user's chat conversation (e.g., welcome, experience collection, skills exploration, farewell). These are *not* AI coding agents. See the [backend instructions](copilot-instructions-backend.md) for the full agent architecture. | |
| > **Terminology note**: "Agent" in this codebase refers to a **Compass conversation agent** — a backend Python class that handles one phase of the user's chat conversation (e.g., welcome, experience collection, skills exploration, farewell). These are *not* AI coding agents. See the [backend instructions](instructions/backend.instructions.md) for the full agent architecture. |
Copilot
AI
Feb 22, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The repo structure snippet shows a compass/ top-level directory and also lists .github/workflows alongside the three packages. In this repo the top-level directories are backend/, frontend-new/, and iac/ directly at the root, so this tree (and the “three main packages” wording) is currently misleading. Please update the diagram/text to match the actual repository root layout.
Copilot
AI
Feb 22, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This says there are no separate tests/ directories, but the repo contains dedicated test folders (e.g. backend/evaluation_tests/, backend/smoke_test/, frontend-new/test/smoke/). Please adjust this guideline (e.g., clarify that unit tests live alongside source, with smoke/e2e/evaluation tests in dedicated dirs).
| - Tests alongside source files (`*_test.py`, `*.test.tsx`) | |
| - No separate `tests/` directories | |
| - Feature modules are self-contained with routes, services, models, and tests | |
| - Unit tests live alongside source files (`*_test.py`, `*.test.tsx`) | |
| - Higher-level suites (smoke, e2e, evaluation) use dedicated test directories (e.g. `backend/evaluation_tests/`, `backend/smoke_test/`, `frontend-new/test/smoke/`) | |
| - Feature modules are self-contained with routes, services, models, and unit tests |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| AGENTS.md |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,174 @@ | ||||||
| # Compass Backend — AI Agent Instructions | ||||||
|
|
||||||
| ## Entry Point & Server | ||||||
|
|
||||||
| - **`backend/app/server.py`** — FastAPI application with async lifespan management. Initializes 4 MongoDB connections in parallel, validates environment, sets up CORS and Brotli middleware, and exposes the conversation API. | ||||||
|
||||||
| - **`backend/app/server.py`** — FastAPI application with async lifespan management. Initializes 4 MongoDB connections in parallel, validates environment, sets up CORS and Brotli middleware, and exposes the conversation API. | |
| - **`backend/app/server.py`** — FastAPI application with async lifespan management. Fetches 4 MongoDB DB handles and then concurrently initializes the application/userdata/metrics databases and runs taxonomy validation, validates environment, sets up CORS and Brotli middleware, and exposes the conversation API. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| AGENTS.md |
Uh oh!
There was an error while loading. Please reload this page.