Verification Loop¶
The repository should provide a fast path for agents to validate changes before opening a PR.
Required local loop¶
make bootstrap-harness— create localuv-managed.venvwith lightweight verification depsmake check— fast syntax validation (compileall)make test— lightweight pytest suitemake verify— all of the above
What belongs in lightweight tests¶
- Pure utility behavior
- File/schema/layout invariants
- Documentation or harness expectations
- Fast parser or serializer behavior
What should be added later¶
- CLI smoke tests
- Training config schema validation tests
- Dataset contract validation tests
- Small synthetic end-to-end smoke runs
Rule¶
If a rule matters for future agent-generated diffs, prefer encoding it as: 1. a test, 2. a script target, 3. CI, 4. documentation.