diff --git a/AGENTS.md b/AGENTS.md index 935ef15..b8f1d9c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -12,31 +12,49 @@ Run the full CI check suite: make ci ``` -This runs ruff lint, ruff format check, and pytest. All three must pass. +This runs ruff lint, ruff format check, prettier (frontend), `vue-tsc` +(frontend type-check), and pytest. All must pass. -To auto-fix formatting and safe lint issues before checking: +To auto-fix Python formatting and safe lint issues before checking: ``` -ruff format . -ruff check --fix . +make format make ci ``` ## Running tests ``` -pytest # all tests -pytest tests/ # same, explicit path +make test # pytest under the project's venv ``` Tests live in `tests/` and cover pure utility functions that need no Flask -app context. Keep new tests free of Flask/database dependencies where possible. +app context. Keep new tests free of Flask/database dependencies where +possible. ## Frontend (when working in `frontend/`) +The frontend is a Vite + Vue 3 SPA written in **TypeScript** (strict mode). +Single-file components use `