docs: correct RD-20's file count, and record the ninth miss

RD-20 asserted `git grep -l "toWizardErrors"` would find 5 files, but its own
Steps list regenerates `behaviour-spec.mdx`, and the generator publishes every
`describe` title. Naming a spec after the function it tests puts the name in
the generated document too, so the honest count is 6.

The agent refused to rename the describe block to satisfy the number, which is
the correct response and matches the precedent from RD-14.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
eho
2026-09-04 22:01:01 +02:00
co-authored by Claude Opus 5
parent 831940f1b9
commit dff5f96bb3
2 changed files with 14 additions and 1 deletions
@@ -113,9 +113,14 @@ Measured against the tree before handover.
```bash
git grep -c "export function toWizardErrors" -- libs/shared/src/layout/wizard-shell/wizard-errors.ts # MUST be 1
git grep -l "toWizardErrors" -- apps libs | wc -l # is 0 -> MUST be 5 (helper, spec, 3 wizards)
git grep -l "toWizardErrors" -- apps libs | wc -l # is 0 -> MUST be 6
```
**Corrected after the ticket ran: 6, not the 5 first written.** The sixth file is
`libs/shared/docs/behaviour-spec.mdx`. Step 5 regenerates it, and the generator publishes every
`describe` title — so `describe('toWizardErrors', …)` puts the name in the generated document.
The helper, its spec, the three wizards, and the generated page.
The hand-rolled flattening is gone from all three:
```bash