Repository navigation
Description
Priority
High: changes regression coverage across the backend and route suites, including the standard. Application behavior is unchanged.
Components
- app/nullius (backend): tests
- app/web (routes): tests
- the standard (ports, kits, relay, runs): tests
Today
The suites contain repeated assertions, separately collected cases that share fixtures, and tests that pin incidental wording or implementation details. Against main at 38235bd, the reviewed cleanup changes 155 test files and reduces directly declared backend/route test methods from 3,950 to 3,388.
Wanted
Consolidate related cases while preserving their meaningful assertions, remove reviewed low-value or redundant checks, and retain disputed tests where no adequate replacement was established.
Acceptance
- Changes are limited to tracked backend and route tests plus test-design guidance in AGENTS.md; production code and fixtures remain unchanged.
- Consolidated tests retain the reviewed edge cases, including null precedence, malformed-metadata fallback, cancellation cleanup, source-checkout version reporting and differently ordered provider pins.
- Retain independent regression coverage where replacement was not established; do not infer redundancy solely from shared line coverage.
- Run backend and route suites on the rebased changes and report failures and validation limitations explicitly.
Dependencies and related
Based on main at 38235bd, including the completed proof-storage change in #316 and DigitalMate protocol update in #306. No outstanding implementation dependency.
Draft implementation: #320 at 32823e4. Rebased validation: 612 route tests passed; all tracked backend modules passed. The full backend discovery also runs a separate untracked audit with one pre-existing failure, excluded from the PR. Six focused mutation checks passed before rebase; Docker and final coverage measurement were not run.
Update: added the agreed Test design guidance to AGENTS.md and resolved the merge conflict with #317. All five new workspace regressions and the stronger streaming check are retained; 37 workspace tests pass after the merge. Earlier full-suite results above precede this merge.
Activity