3 Commits

Author SHA1 Message Date
011e766915 docs(blueprint): add 029 validate OKF structure, lock
- docs(decisions): add 024 — register filenames carry the R-/B- prefix,
  superseding 022's filename ruling
- docs(decisions): mark 022 superseded-by-024
2026-09-23 13:00:12 +02:00
51ffca5a6a feat(okf-check): error on an unprefixed register cite in prose
R-022 ruled that a prose cite carries its register's prefix — B-NNN for a
blueprint, R-NNN for the why-register — and its own Consequences noted
nothing enforced it. This is the enforcement: a bare three-digit run
naming a live file in either register, standing in the body of a root or
decisions/ page, is an error.

The exclusions are the rule's hard half and all mechanical: frontmatter,
fenced blocks, code spans, whole markdown links (the path already says
which register), the page's own H1, a number touching / - . or a word
character, and type: Learnings pages — append-only by their own header,
per R-022 §Consequences. Typing that last exemption rather than naming
LEARNINGS.md is what will survive the split into learnings/<theme>.md.

Blueprints and ferries sit outside the check for the same reason their
warrants do: a locked blueprint's prose cannot be legally repaired.

One live site fired — R-022's own example sentence naming the three
collided numbers — repaired with code spans, which the rule permits.

blueprint 021, rule 2.
2026-07-30 20:29:30 +02:00
e6f92335f9 docs(okf): cite registers with a B-/R- prefix in prose
Blueprints and the why-register number independently, so 013, 017 and
019 each already name two unrelated pages. A markdown link is safe —
its path says which — but a bare number in prose is not. Prose now
takes a register prefix: B-NNN blueprint, R-NNN why-register, D-n
ferry decision. Filenames, link targets, index labels and
superseded-by-NNN status values are untouched.

- adds decision 022 with the reasoning, including why D- was rejected:
  D-<n> already names a ferry decision on disk and in CONTEXT.md, so
  reusing it would fuse two namespaces that today collide only in type:
- CONTEXT.md states the rule in the intro; 109 of 110 after compressing
  the entry twice, since R-020 gives it no growth path short of a split
  it does not qualify for
- retrofits the live pages rather than applying it forward-only, which
  would leave two dialects — the defect phase 10 exists to remove
- ROADMAP.md:43, :84, :87, :94 and 021:32; moor and build-r-package
  each carried one genuinely ambiguous cite

LEARNINGS.md is deliberately not retrofitted: it is append-only by its
own header, so its bare numbers stand and new entries carry the prefix.
Locked blueprints are left as written for the same reason.

Nothing enforces this yet — a bare three-digit number outside a link is
a lint the okf-check blueprint should carry, or the rule decays exactly
as R-020 prune did. okf-check 0 errors, skill-check 0 errors.
2026-07-30 17:24:17 +02:00