Conventions — kpolimis.github.io
Working agreements for humans and AI assistants (Claude Code, aider) in this repo.
Style
- Python: stdlib-first, type hints on new code,
pathliboveros.path. - Prefer small, focused diffs; additive over rewrites.
Testing
- Run tests with
python3 -m pytest -q— keep them green.
Git
- Never auto-commit. Assistants edit the working tree; a human reviews
git diffand commits. - Never touch
.envor anything credential-shaped; reference secrets by environment-variable name only.
Handoffs
- aider tasks are driven by packets in
docs/handoffs/(seeHANDOFF-template.md); edits stay inside the packet’seditablelist.