Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,23 @@ PATH="$PWD/.venv/bin:$PATH" make check
VIRTUAL_ENV=.venv uv pip install -e '.[dev]'
```

## Code and tests

The shared coding standards are the default; this section records only what is true here.

- mypy is the typing gate and runs over `src` and `tests`, so every def is annotated.
Never relax `disallow_untyped_defs` to land a change.
- Ruff is the only formatter and linter. `T20` (print), `PT` (pytest mistakes) and
`RUF100` (unused noqa) are candidates once the suite is clean under them; enabling a
rule is its own change.
- A test is named after the acceptance assertion it protects (`OUT6.1`, `FT5.7`), not
the function under test. A changed function is not a test obligation; an assertion is.
- Speech and translation stay behind the protocols with the fakes in `tests/fakes.py`:
no network, no API key and no GPU in the default suite. `slow` and `gpu` mark the
exceptions.
- Python 3.14 syntax: `list[str]`, `X | None`, no `from __future__ import annotations`.
- No coverage gate and no test-count target.

## Ownership lanes

| lane | paths | notes |
Expand Down
Loading