2 Commits

Author SHA1 Message Date
68ad38188e feat(link-check): lint relative markdown links across the repo
Add skills/loop/write-OKF/scripts/link-check, a fourth lint mirroring
okf-check / render-check / skill-check: same argv shape, ERROR prefix,
closing tally and 0/1/2 exit codes. It walks every *.md from the repo
root — dot-directories and OKF/blueprints/ out, render-check's walk
exactly — skips fenced blocks, and errors on any inline link whose
target does not resolve against its containing file's directory.

Register it in write-OKF's run-and-paste line, and unmake the two
ellipsis placeholders the lint catches: architect/SKILL.md's [NNN](…)
and revise.md's [NNN](blueprints/…) become prose, without which the
lint cannot reach green.

Satisfies ROADMAP phase 12's precondition — that rename moves 26 of the
421 link targets, and a grep for the old names proves absence, not that
the new paths resolve.

blueprint 023
2026-07-31 13:51:27 +02:00
83f78aa618 docs(blueprint): add 023 link lint over relative markdown links
Locks blueprint 023, phase 12's precondition: nothing today validates a
relative markdown link, and phase 12 moves 26 of the 421 in skills/.

Sounding changed the design before the lock. A naive walk reports 28
unresolvable links, so the lint as first specified could never have gone
green: 17 sit inside fenced code blocks (illustration, not navigation) and
9 in OKF/blueprints/ (sealed, append-only history). Both are excluded, the
second mirroring render-check. The remaining 2 are ellipsis placeholders in
architect, repaired by the blueprint itself.
2026-07-31 13:02:50 +02:00