Engineering rules

Python environments

Use standard Python, pip and pyproject.toml by default. Runtime must not depend on a specific environment manager. Install development dependencies using pip 25.1 or later with --group dev.

Architecture regression checks

Python subsystem import boundaries are checked in tests/architecture/; run API regression tests with python -m pytest apps/api/tests. In apps/web, run npm run check:architecture for static module boundaries and cycles; npm run build includes that check, type checking and production bundling. Build the combined, home and docs website targets and check deployment links. Architecture checks do not replace scientific stage acceptance or guarantee coverage of runtime dynamic dependencies.