FastAPI Route Change
Follow AGENTS.md first.
Workflow
- Inspect neighboring modules under
autopvs1_link/api/routes/. - Keep route handlers thin; put business behavior in
autopvs1_link/services/or existing managers. - Use Pydantic models from
autopvs1_link/models/for public response shapes. - Validate genome builds, HGVS strings, and variant/CNV identifiers before routing upstream.
- Avoid logging full HGVS strings when user input might contain PHI hints.
- Add or update route tests under
tests/integration/or focused unit tests. - Run focused route tests, then
make ci-local.
Source: berntpopp/autopvs1-link — distributed by TomeVault.