T13 Vale error-gate + mdBook docs-check SUMMARY
Question
Two prose gaps (standard prose.md):
- Vale gates at
warningtoday (just docs-lint, CIdocs.yml). The standard argues a gate that fails on suggestions/warnings gets deleted; onlyerrorshould gate. Switch--minAlertLeveltoerror. Measure the current error findings, any that fire are real and get fixed at root cause, not downgraded. - No docs-check. Add a
docs-checkrecipe that validatesdocs/SUMMARY.mdagainst the files on disk both directions: no listed page that doesn’t exist, no disk file the SUMMARY omits. Orphans/dead links fail the gate. (This plan’s own newplans/tree lives outside the book source on purpose, so it won’t trip the check.)
Exit predicate
just docs-lint uses --minAlertLevel error and passes; a just docs-check
(or in-just docs) fails if a page is added to disk without a SUMMARY entry and
vice versa; both folded into just ci via T06.
Resolution
To be recorded when the ticket closes.