octobot/OKF/blueprints
Lukasz Boryn bc2d3c971e feat(loop): lint the loop's rendered shape with render-check
Per blueprint 019. ROADMAP phase 11 paired 018's ownership move with a
lint "so the copies cannot diverge again", and phase 11 did not verify
until it landed. Divergence already happened once — six sites, three
forms — and what held them together was 018's Verify, a sed range typed
into a blueprint, which expires with it.

That check also carried a live defect: `CANON=$(sed -n ...)` yields the
empty string on a file missing the block, so both copies compared
empty-to-empty and printed `match`. A check that cannot fail is not a
check; the script errors on a missing owner block instead.

A third script rather than a widened sibling: README.md sits at the repo
root, outside `okf-check <okf-dir>` and `skill-check <skills-dir>` both,
and widening either one's root changes the argv contract 017 built
skill-check to mirror.

- feat(write-OKF): add scripts/render-check <repo-root> — OKF/ARCHITECTURE.md
  is the named owner, copies are discovered by walking *.md, and a file with
  no such fence is a pointer, which phase 11 declares legal. Three error
  legs: no owner block (or more than one), a copy diverging byte-for-byte
  after per-line trailing-whitespace strip, and the retired flat form
  surviving anywhere. OKF/blueprints/ is skipped — a locked Contract is
  immutable, so a rule that could turn one red would be unfixable, and
  blueprints quote retired forms as record.
- docs(write-OKF): SKILL.md's done-criterion names both scripts, one line
  for one line — the page sits at the 110-line cap.
- docs(okf): append the learning — a Contract carrying a byte-exact
  artifact eats the blueprint cap. LEARNINGS.md lands at exactly 110.
- docs(okf): phase 11 ticked and pruned to the verified form per 013.

implements blueprint 019
2026-07-30 20:16:34 +02:00
..