fix(docs): fail lint:spellcheck when frontmatter cannot be parsed
spellchecker-cli exits non-zero only when a file produced messages. Frontmatter it cannot parse is reported and then skipped, so that page's frontmatter goes unchecked while the run still exits 0. The usual trigger is an unquoted colon in a value, which is easy to introduce and invisible if you trust the exit code. scripts/spellcheck.mjs wraps the existing invocation with identical flags, streams child output through unchanged, and exits 1 when the parse marker appears. A body misspelling already exited 1 and still does. Also records two agent-facing traps in OKF: bash PIPESTATUS is empty in the zsh shell, which can turn a real failure into a recorded pass, and starting a service with a trailing & does not survive the call returning.
R
russellwheatley committed
e15477fb5fcc90a71e8cb8214d6d5b0ebae3273d
Parent: c503c7f
Committed by Mike Hardy <github@mikehardy.net>
on 9/5/2026, 4:37:15 AM