Documentation
¶
Overview ¶
Command checklistcheck keeps docs/release/v1-checklist.md honest (Story 4.19, NFR11): every adoption blocker of the PRD and every non-functional requirement NFR1 to NFR10 has a row, and every row has evidence that exists.
The checklist has two Markdown tables, recognised by their header row:
| Blocker | Promise | Scope | Evidence | Latest passing run | | NFR | Requirement | Scope | Evidence | Latest passing run |
Scope is `v1.0` or `v1.x`. A v1.0 row must cite at least one evidence reference in its Evidence cell (`test:<dir>.<Func>`, `job:<workflow>/<job id>` or `file:<path>`, resolved by tools/internal/evidence), and a v1.0 blocker row at least one test of the adoption suite (`test:e2e/adoption.<Func>`); its Latest passing run cell must link the runs page of a workflow that exists (https://github.com/aiagentpro/tokenhound/actions/workflows/<file>...). A v1.x row names the story that closes it ("Story 5.N"); Story 5.23 proves every v1.x row. Every reference anywhere in the document must exist, every PRD blocker and NFR1 to NFR10 must have a row, and every Test function of e2e/adoption must be cited, so the suite and the checklist cannot drift apart. An adoption test names the blocker it proves in its first `row(t, <blocker>, <promise>)` call (a string literal or a string constant of the suite); a blocker row may cite only tests of its own blocker.
Each problem is reported as "file:line: message", naming the row.
Usage: go run ./tools/checklistcheck [-doc docs/release/v1-checklist.md] [-root .]
Exit codes: 0 every row has evidence that exists, 1 at least one problem, 2 the check could not run (unreadable document, bad flags).