octobot/OKF/learnings/validators.md
Lukasz Boryn 1d2b12fdbe docs(okf): split LEARNINGS.md into learnings/
The page sat at exactly 110 and this blueprint owes it an entry, so
R-020's cap+1 trigger fires for real — the doctrine gets proved by
running it, not by fixture.

Pure relocation: sixteen entries in, sixteen out, fifteen byte-identical
and the sixteenth changed on one line only, the ../ its new depth needs.
Nothing reworded, merged or resequenced.

Themed by the layer an entry forces to change, per split-page.md
§Choosing the axis: the loop's own steps, the OKF format, the
validators, the Claude Code harness, jj. The parent moves to
learnings/index.md so reachable() still walks the spine, and the links
the move broke are repointed in the same change — OKF/index.md's line,
ROADMAP.md's pointer, and R-013's cites: entry, which okf-check
validates and which would otherwise dangle.

blueprint 021, rule 1 — the split itself.
2026-07-30 20:31:37 +02:00

28 lines
1.1 KiB
Markdown

---
type: Learnings
purpose: Keep what the check scripts turned out to see, and what their parsers are blind to.
answers:
- "What did we get wrong about the OKF check scripts?"
cites:
- skills/loop/write-OKF/scripts/okf-check
status: live
---
# octobot — learnings: the validators
<!-- Append-only. Format: believed / true / source. Supersede, never
rewrite. -->
- Believed: a marker-shape check can match its markers anywhere in the
page. True: octobot's own blueprint 004 *documents* the `okf:derived`
markers, so an unanchored match read them as a third fence and failed
the repo's own OKF. A delimiter must be anchored to its whole line, or
the page that specifies it becomes invalid. Source: weave of blueprint
004.
- Believed: `okf-check` can read a new nested frontmatter block (like
`tally:`) through its generic `frontmatter()` parser. True: that parser
flattens a nested block to an empty list — its indented `key: value` lines
match neither its list nor its scalar branch — so a block check needs a
dedicated regex grab, the way `pin()` handles `sealed:`. Source: weave of
blueprint 011.