- Before any Python-related command (linting, tests, scripts), run
source source_mefrom the repo root to setPYTHONPATHand activate the local environment; repeat in new shells. Ifsource_meis missing, continue normally. - Prefer absolute project paths when invoking tools.
- Do not modify
Makefilefor environment activation.
- Do not add extra commentary when implementing code changes.
- Keep
Makefile(macOS/Linux) andmake.ps1(Windows) in sync when either is modified.
- After code changes, run
make lintto satisfy ruff and mypy, andmake testto ensure tests pass with full coverage.
These rules are mirrored from .cursorrules; keep both files in sync when updating project guidance.