Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

T13 Vale error-gate + mdBook docs-check SUMMARY

Question

Two prose gaps (standard prose.md):

  • Vale gates at warning today (just docs-lint, CI docs.yml). The standard argues a gate that fails on suggestions/warnings gets deleted; only error should gate. Switch --minAlertLevel to error. Measure the current error findings, any that fire are real and get fixed at root cause, not downgraded.
  • No docs-check. Add a docs-check recipe that validates docs/SUMMARY.md against 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 new plans/ 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.