Validate Traceability and Coverage
The repository contains requirements, code, tests, and documentation. The Assessor needs objective evidence and reproducible metrics instead of manual spreadsheets.
Goal¶
Generate traceability data and coverage reports that identify gaps: missing implementations, missing verifications, unresolved IDs — and keep proven ground from eroding.
Steps¶
- Run
trace scanto build the trace graph from docs, code, and tests. - Generate coverage reports to identify missing links; coverage is informational while the corpus grows.
- Run
trace ratchetagainst the committed matrix snapshot: a requirement that was verified must stay verified unless it is retired — growth stays free, regressions gate. - Generate matrices for review (US↔REQ, REQ↔Tests) and refresh the committed snapshots.
- Review diagnostics and assign fixes (docs, code markers, tests).
- Let the done claim close the loop: a story may declare
doneonly when every requirement it carries is verified by an active test, and the linter checks that claim mechanically (LNT-005).
Outputs¶
- Trace graph (machine-readable)
- Coverage report (missing implements/verifies)
- Ratchet verdict against the committed baseline
- Trace matrices (MD/CSV/JSON)
- Machine-checked story done claims
Failure Modes¶
- Markers missing in tests or code.
- IDs are inconsistent or unresolved.
- A previously verified requirement loses its active test (ratchet regression).
- A story claims done while a carried requirement is unverified (LNT-005).
- Reports are non-deterministic (noisy diffs).
Related Commands¶
arqix trace scanarqix trace coveragearqix trace ratchetarqix trace matrixarqix lint run