All development happens inside the Dev Container. See Getting Started for setup steps and the host/container contract.
- Create a branch from
main. - Write tests first.
- Implement.
- Run
make all-checksandmake test. - Open a pull request.
Recommended local loop:
make test-unit
make autofix
make all-checksFollow Development Guide.
- MyPy strict: add explicit typing.
- Ruff for lint and formatting (
make autofixfor auto-fixes). - No endpoint-level
try/except; add exception types inapp/core/exception_handlers.py. - All responses must use
APIResponse[T].
- Local pre-commit hooks are intentionally fast (formatting/sanity checks).
- Heavy checks (
mypy,bandit, full quality/test suite, mega-linter) run in CI as merge gates. - Install local hooks (host machine):
pre-commit install.
See Testing Guide for patterns and fixtures.
fast-quality: docs lint + format validation (make format-check) — read-only, fails if code is not already formatted.full-quality: strict quality checks (make all-checks).tests: full test suite (make test).mega-linter: runs on PR/push with.mega-linter.yml(currently non-blocking rollout mode).
When behavior, contracts, or architecture change, update the relevant docs in docs/:
API.mdfor endpoint contract changes.ARCHITECTURE.mdfor design/boundary changes.DEVELOPMENT.mdfor workflow/convention changes.README.md(Scope section) when project boundaries change.
For a full list of available targets, see Commands Reference.