link-check and render-check each held a byte-identical pages() that
walked the filesystem, so gitignored HANDOFF.md could redden a repo-wide
gate — 024 had to carry "clear HANDOFF.md first" as a run condition, and
a handoff had to be written link-free.
Both now import a shared pages() from _pages.py, whose census comes from
git ls-files --cached --others --exclude-standard: tracked plus
untracked-but-not-ignored is exactly not-ignored, so a page is walked
before it is ever added. Where git cannot answer — not a repo, no git on
PATH — the walk falls back to the old rglob rather than shrinking to
nothing, and the catch is narrow so an unnamed git failure still
surfaces.
023 and 019 each state the old walk in their Contract, so both take
superseded-by-026; their Contract and Verify are untouched, per 022.
023 also cited the docstring the walk moved out of, so that cite follows
it to _pages.py — a cite is a working pointer at every status, per 022 —
and _pages.py words that docstring on one line, because a cite symbol
that wraps never resolves.
026 passed its muster gate (matches: yes) and flips to implemented. Its
Justification loses three lines to fit the tally: block; its Contract and
Verify are byte-identical.
blueprint 026
Step 3 gains a Muster sub-bullet: rule the gate on the criterion of what
the Verify cannot see — true for prose, doctrine and renames whose checks
go green on text that reads wrong, otherwise an explicit false carrying
the reason. Step 5 states the ruling so an unwanted gate is overruled
before the lock. Absence stops being a legal outcome.
Implements blueprint 025, mustered with matches: yes — the first muster
run in this repo. Opt-in semantics unchanged: absent still means off, and
okf-check keeps its one muster rule.
Blueprint-level muster (B-011) shipped and never fired: no blueprint has
ever carried the field. 025 makes `blueprint` rule the gate out loud at
write time — `muster: true`, or the explicit `muster: false` B-011
already allows — so a skipped gate is a decision rather than an
oversight. Opt-in semantics and okf-check's one muster rule stay as they
are.
Sounded 2026-07-31; rules itself muster: true.
The two spine skills named for a trade, not a passage, take nautical
names: directories, frontmatter, headings, prose, the 26 relative links,
11 cites:, render-check's RETIRED constant and the two ~/.claude/skills
symlinks. chart gains the hand-off edge into ferry and states the
single-request terminal as designed; ARCHITECTURE flow 1 and its two
byte-copies change names only, columns re-padded to hold the shape.
Implements blueprint 024; roadmap phase 12 ticked, and B-023's cite into
the pruned phase text repaired to a path-alone pointer.
Locks blueprint 024, phase 12: architect becomes chart and weave becomes
rig, and chart gains the hand-off edge into ferry it never had.
The rename is mechanical; the pointers are not. Four kinds break, each
caught by a different check or by none: 26 relative links across 24 files
(link-check, landed by 023), 11 frontmatter cites (okf-check) — nine of
them existing, two of them this blueprint's own — render-check's RETIRED
constant, which is a string and not a link, and two symlinks outside the
repo that nothing checks at all.
Sounding fixed three things. Cite arithmetic contradicted itself: the
blueprint's own two pointers are not among the nine it enumerated, so
eleven repoint, not nine. ferry names architect three times, not twice.
And link-check walks gitignored HANDOFF.md, whose backticked link syntax
reds it — 024's Verify was unrunnable as written, so it now carries a run
condition, and the general fix is named as a 023 supersession.
Sealed cites move; sealed prose does not. 022 settled that a cite is a
working pointer at every status, so repointing six inside implemented
blueprints is an obligation. Their bodies, and the four implemented Verify
blocks that name paths this deletes, are recorded and left alone.
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
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.
Cite resolvability moves above the blueprints/ferries `continue`, so a
blueprint's or ferry's `cites:` are validated at every status, `implemented`
included; the `no cites:` warning stays gated to warrant pages. A
`type: Roadmap` phase entry carrying both a tick and a `**Verify:**` step
is now an error — the mechanical half of R-020's prune.
Repairs the nine stale cites the new rule makes visible (four dropped,
five repointed onto live text), stops architect contradicting R-020 in
three places, and supersedes the stranded blueprint 020.
Implements blueprint 022.
B-020's Verify runs wc -l over OKF/LEARNINGS.md, which B-021 deleted, so
B-021 stranded it before it had ever run — and the immutability that
protects a Contract from drift is what forbids repairing it. Filed under
the loop, the layer it forces to change: a blueprint that moves a path
owes a check of which locked Verify already names it.
Status flipped to implemented with the Verify block pasted; index.md's
line follows. No roadmap tick — B-021 traces to a user request, and
ROADMAP.md:44-47 indexes those in index.md rather than opening a phase.
blueprint 021 — close.
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.
Locked and sounded 2026-07-30. Rules the three doctrine/okf-check
disagreements, two deferred here by B-020:
- split-page.md and okf-layout.md move the capped page to
<theme-dir>/index.md, so reachable() is left untouched and the spine
invariant survives; LEARNINGS.md splits into learnings/ under this
blueprint, its own cap+1 trigger
- an unprefixed register cite in prose becomes an okf-check ERROR,
scoped to root and decisions/ pages, type: Learnings exempt
- blueprint-format.md declares cites: as optional (B-015 carries none)
B-020 needs superseding: rule 1 deletes the OKF/LEARNINGS.md its
immutable Verify runs wc -l over. Named in 021 Out of scope, not done.
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
Locked and sounded 2026-07-30. Takes the two okf-check defects B-019 handed
it plus the architect lines contradicting R-020:
- a ROADMAP phase entry carrying both an okf-check tick and **Verify:** errors
- the cite-resolvability loop moves above okf-check:245, so blueprint and
ferry cites are validated; no cites: stays gated to warrant pages
- architect/SKILL.md:36,:54 and revise.md:15 narrow to the open phase
R-022 prefix lint and blueprint-format declaring cites: deferred to 021.
Traces to ROADMAP.md phase 11, whose second half it is: 018 landed the
ownership move, this is the lint that keeps the copies from diverging.
Sounded 2026-07-30 and locked.
- contract: `render-check <repo-root>`, a third script under write-OKF —
README.md sits at the repo root, outside both existing walkers
- owner is the fixed path OKF/ARCHITECTURE.md; copies are discovered by
walking *.md, dot-directories skipped; a file with no fence is a pointer
- compare is byte-exact (trailing whitespace stripped): the block is
box-drawing art whose column positions carry the routing fork
- three error legs — no owner block, a copy diverges, the retired flat
form returns; the first kills the false-green in 018 own Verify, where
a missing block made both copies compare empty-to-empty and print match
- OKF/blueprints/ is skipped: a locked Contract is immutable, so a rule
that could redden one would be unfixable, and blueprints quote by design
Sounding turned up a second defect, left to blueprint 020: okf-check:245
continues past the cite loop for blueprints/ and ferries/, so no
blueprint cites are validated at all. Proved with an unresolvable cite
that passed 0 errors; recorded in this blueprint §Out of scope.
Per blueprint 018. The spine was hand-copied into six sites in three
divergent forms, and a flat arrow string cannot state cadence: write-OKF
fires on scaffold or staleness, ferry branches off blueprint rather than
following it, call-charon is the multi-blueprint form of weave, and moor
closes only a ferry-traced chain.
ARCHITECTURE.md flow 1 becomes the sole owner of a 17-line rendering that
draws the routing fork and carries the OKF-refresh cycle in its legend.
README §loop and steer §The loop hold byte-for-byte copies — entry
surfaces where a pointer costs a hop. CONTEXT.md, ROADMAP.md (opening
paragraph and the §Architecture pointer, which aimed at a copy) and
CLAUDE.md stop restating the stages and point at flow 1 instead.
Folded in, same file already open: steer glossed user-invoked as "zero
context load", which it is not — naming a skill loads its body. The flag
buys routing control.
Phase 11 stays open; its Verify needs the lint (blueprint 019) before the
copies are held mechanically.
Verify: owner 17 lines, match on both copies, both greps empty with
strays exit 1, okf-check 0/0, skill-check 0 errors / 9 warnings.
Phase 11's first blueprint. The loop's spine is written out in six sites
in three divergent forms — three end at commit-atomic-jj, three continue
to moor — and a flat arrow string cannot state cadence at all: write-OKF
fires on staleness rather than per request, ferry branches off blueprint
rather than following it, call-charon is weave's multi-blueprint form,
and moor closes only a ferry-traced chain.
Declares one canonical rendering, a 17-line block that draws the routing
fork and the OKF-refresh cycle. ARCHITECTURE.md flow 1 owns it — the
page whose purpose: is flows, and which index.md already bills as
carrying the loop. README.md and steer carry byte-for-byte copies as the
entry surfaces a reader hits before OKF/; CONTEXT.md, ROADMAP.md and
CLAUDE.md become pointers, which also settles the interim moor addition
CONTEXT.md's entry was owed.
Two findings folded in while sounding. ROADMAP.md:33 already pointed at
the loop diagram but aimed at README.md, a copy, not the owner — re-aimed
at flow 1. steer/SKILL.md:8 glossed user-invoked as 'zero context load',
which is false: naming a skill loads its body, as drafting this blueprint
did. disable-model-invocation buys routing control, not context savings.
ROADMAP.md is architect's file. What architect owns is the plan — phases,
locked decisions, verify steps; both lines touched here are prose about
the loop's shape, and weave step 7 already routes blueprints back into
that file. Recorded in the Contract so review-blueprint does not flag it.
Verify extracts the block from the owner and string-compares it against
both copies, then greps for the retired forms. Sounded 2026-07-30 against
11 cites; no nostos server configured, so every claim was checked by file
read. 149 of the 150-line blueprint cap; okf-check 0/0.
The lint that makes the copies un-divergeable is blueprint 019 — phase 11
does not verify until it lands.
CLAUDE.md §5's 110-line cap on SKILL.md held only in prose, so it decayed
twice — 013 split moor and 016 deduped call-charon and commit-atomic-jj,
both hand-fixes. `okf-check` has enforced the same integer across OKF/
since 009; skills/ now gets its own gate.
A sibling script, not a flag on okf-check: the two trees share the
integer 110 and nothing else, and threading a tree-kind flag through a
275-line OKF-page-shaped validator to reuse a two-line comparison fails
sieve's Minimal test.
- feat(conjure-a-skill): add scripts/skill-check <skills-dir>, walking
*/*/SKILL.md — ERROR over 110, WARN in the 101-110 headroom band with
the count and the room left. Mirrors okf-check's argv, WARN /ERROR
prefixes, closing tally and 1/0/2 exit codes
- docs(conjure-a-skill): swap the done-criteria line asserting the cap in
prose for the script invocation, as write-OKF obliges okf-check; one
line for one, leaving the file at 105
- docs(blueprint): flip 017 to implemented and update its index line
The tree lands green: 0 errors, 9 warnings, with write-OKF and bdd at the
cap itself. Verify exercises the error leg against a synthetic over-cap
skill — a check that cannot fail is not a check.
implements blueprint 017
Both sat at 117 against CLAUDE.md §5's ≤110 cap, and the commit git/jj
twins had drifted out of skeleton parity. The two are coupled: shortening
the jj variant's Principles alone would have created the asymmetry.
The overage was restatement of each skill's own siblings, so this is a
dedup, not a split — no new sibling file.
- refactor(call-charon): point DISPATCH and REVIEW FLOTILLA at
crossing-format.md §isolation, §builder-brief and §reviewer-brief
rather than restating them; 117 -> 106
- refactor(commit-atomic-jj): move `jj split`'s parent-side trap into
anti-patterns.md as its own named section, and collapse the workflow
tail that restated three anti-patterns already written there; 117 -> 108
- docs(commit-atomic-git): add `## When to use`, levelling the twins'
`^## ` skeletons by addition, never by subtraction from jj; 97 -> 104
- docs(commit-atomic-jj): point anti-patterns.md's two back-references at
sections that exist (§5 -> §6, and "Workflow step 5" -> the `jj new` step)
- docs(okf): record that a line-based grep is an unsound reference gate
implements blueprint 016
Locks the 2026-07-24 skills review's F1 (call-charon and commit-atomic-jj
both at 117 against the ≤110 cap) and F4 (the commit git/jj pair is
asymmetric) as one blueprint: cutting the jj variant's Principles alone
would create the very asymmetry F4 asks to remove.
Sounded 2026-07-30 — the overage in both offenders is restatement of
their own siblings, so this is a dedup, not a split.
traces-to user request 2026-07-30
blueprint 015 §Seams — three seams:
- docs(blueprint): exempt a session-check state marker from the
immutability rule, so a stamp is not read as an illegal edit
- docs(okf): stamp 007's four session checks with their discharge state
- docs(okf): collapse phase 9's verification evidence to its blueprint
implements blueprint 015
Applies decision 021's three consequences, doctrine before files per
014: blueprint-format gains the stamp exemption, then 007's four session
checks gain markers, then ROADMAP phase 9's verified line collapses.
Contract pins the marker grammar — a date with no observation records
nothing. Sounded 2026-07-30: the immutability gap is real (grep for
'stamp' in blueprint-format returns 0) and 007 at 110 has headroom under
the 150-line blueprint cap, so no split is priced in. Verify
baseline-tested red on all three legs.
Locked on explicit approval.
Renames the 8 UPPERCASE offload files to topic-named lowercase-kebab and
updates all 33 referring sites, including four OKF cites: blocks that
okf-check would otherwise fail on.
moor's generic reference file splits into graduate.md + collapse.md — it held
two topics, and one-topic-per-file is the rule being enforced; the two links
in moor/SKILL.md lose their anchors and address the files directly.
write-readme's becomes ecosystems.md.
Fixes the doctrine first, in both authorities that state it: CLAUDE.md 5 no
longer prescribes a generic catch-all name, and conjure-a-skill step 4 gains
the casing rule it omitted. Without that, the next skill author reads CLAUDE.md
and recreates the violation.
Both the new doctrine and the LEARNINGS note state the rule positively, naming
no offender: the blueprint's locked Verify greps for the old filenames, so
prose that lists them trips the gate meant to prove the sweep finished.
Implements blueprint 014; flips it to implemented with its index line.
Verify: 0 error(s), 0 warning(s), exit 0.
Settles one naming rule for skill offload files: topic-named, lowercase-kebab.
Renames the 8 UPPERCASE siblings and updates all 33 referring sites.
Sounding found the review's F2 framing inverted — CLAUDE.md 5 mandates
REFERENCE.md / EXAMPLES.md, so moor/REFERENCE.md obeyed CLAUDE.md and broke
conjure-a-skill's topic-named-siblings rule. The contradiction between the two
authorities is the defect; the blueprint fixes doctrine before files so the
next skill author cannot recreate the violation.
Precedes the F1 line-cap fixes, whose splits create new sibling files.
012's ferry-muster step pushed skills/loop/moor/SKILL.md to 115 lines,
over the repo's 110-line skill cap (CLAUDE.md §5). Move the COLLAPSE pin
block (sealed:/review-base: yaml + jj log template) and the GRADUATE
frontmatter-move specifics verbatim into a new moor/REFERENCE.md, each
linked from its step; every step name, intent, and guard stays inline.
SKILL.md now 102 lines. Pure relocation — a moor run reads the same
instructions in the same order. Flip 013 status→implemented.
blueprint 013
Stamp sounded: 2026-07-24 and flip status draft→locked after the recon
pass verified the line math (moor SKILL.md 115>110), the REFERENCE.md
precedent, and the movable blocks. Index line tracks to locked.
Implements blueprint 012. moor gains a MUSTER step (its first act, after
GATHER SIGNAL, before CONSOLIDATE) guarded by the ferry MAP's muster: true:
derives review-base from the earliest commit citing a ferry blueprint,
shows the whole-ferry diff via hunk, halts on matches: no. review-base is
persisted at COLLAPSE. okf-layout documents the ferry-map muster fields;
the gate is prose-enforced, not okf-check.
moor lands at 115 lines, over the 110 soft cap — the step is irreducible
and a SKILL/REFERENCE split exceeds the blueprint's seams; noted in
LEARNINGS as a follow-up.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
incorporates the sound refinement: ferry review-base derived at moor
(Option 3, no ferry/weave seam); muster halts as moor first act, after
GATHER SIGNAL and before CONSOLIDATE, gating all mutations.
splits 010 per growth-doctrine 020, whose ferry-muster needed a seam it never declared:
- 011 add-blueprint-level-muster: implemented, carries the green diff
- 012 add-ferry-level-muster: draft, needs the ferry skill as a seam
- 010 status advanced to superseded-by-011
Blueprint 009 shipped the per-kind growth paths and the cap-as-error, but
it alone held the rejected alternative: a uniform `<page>/<theme>.md` rule
for every kind. Blueprints are supersedable and are not the register, so
the why had no queryable home. 020 gives it one, on the 018 precedent —
doctrine in the register, procedure in the skill.
- docs(decisions): add 020, verdict plus the rejected uniform rule
- docs(index): bump the live counter to 20 in OKF/index.md and ROADMAP.md
Sounded 2026-07-24: nostos absent from MCP config, so every claim fell
through to a file read; all four dirty paths and every cite read from
disk. Every growth path held against okf-layout.md and okf-check. The
twelve-pages-over-cap measurement has no owner in this repo — it is
nostos, 2026-07-22 — so 020 now cites blueprint 009 for it.
Verify: okf-check OKF → 0 error(s), 0 warning(s), exit 0; 20 numbered
decision files, 20 index lines, both counters reading 20.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- feat(okf-check): error over cap, and cap blueprints at 150 not 110
- docs(okf-layout): name the move at cap+1 per page kind — shed, prune, split
- docs(split-page): add the split procedure, pure-move and index rewiring
- docs(write-OKF): route an over-cap page to split-page.md from refresh
- implements blueprint 009
Sound queried nostos as a hint and then re-read the same bytes from
disk. Codegraph returns source, not metadata, so that read was a
duplicate everywhere except the two places the index is blind: nothing
indexed, and the working copy.
Step 2 becomes the primary source for what the code says; step 3 opens a
file only on an empty nostos result or a path dirty per one `jj st` per
run. The cite rule moves out of step 3 — it applies to every claim — and
prefers `path:symbol`, matching okf-layout's grammar for page
frontmatter. A new guardrail forbids shelling out to `codegraph`:
freshness is nostos's job, the working copy is sound's.
CONTEXT's Sounding entry and README's one-liner follow. Blueprint 008
flips to implemented; the belief it corrected lands in LEARNINGS.
Implements blueprint 008.
Verify: okf-check OKF/ → 0 error(s), 0 warning(s); sound/SKILL.md 98
lines (cap 110); grep -rni 'live code' over README, CONTEXT and
sound/SKILL.md matches nothing.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Blueprint 001 (add write-readme-r) failed all three sieves against its own
Justification's bar — "must earn its place against that generic path, or
fold into it".
- docs(blueprint): record the 0/3 verdict in 001 §Why dropped, flip status
- docs(okf): mark 001 dropped in the blueprint index
- docs(readme): retire the §Roadmap write-readme-r item — the gap is closed
- docs(write-readme-py): point §Out of scope at generic write-readme
instead of a planned skill that will not be written
Real fails: the need was self-asserted here, and the one genuinely wrong
behaviour (a host renv::restore() install line) was already fixed in
write-readme/REFERENCE.md without a new skill. The residue — a logo block
and an Apache-aware license block — is not R-shaped and stays untriggered.
New `skills/loop/sound/` — a three-step spine run in order: read the OKF
pages the question touches, query the nostos MCP server when one is
configured, then confirm both against live code, because either can have
gone stale. A claim with no internal owner is followed to its primary
source; nothing else leaves the repo.
Two mouths, per 019. Reached by name it refines the blueprint it sounded
and stamps `sounded: <date>`; self-fired it reports and writes nothing —
a stamp a self-fire cannot make is a stamp a lock can trust. It is the
loop's only model-invoked skill, so README's "All loop skills are
user-invoked" and ARCHITECTURE's invocation seam both stop being true
and are corrected here.
Sounding becomes a precondition of lock: okf-check warns `locked without
sounded:` on a locked blueprint carrying no stamp — never at draft
(not-yet-sounded is correct there) nor at implemented (it would
retro-flag 002-006). Warning, not error, so exit status stays 0.
Implements blueprint 007. The script leg of its Verify is green; the
four session checks need fresh sessions and stay open in ROADMAP.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
docs(decisions): add 019 — orchestrators are asked for, recon may self-fire
docs(roadmap): replace phases 1–8 with a pointer, per 013
docs(roadmap): add phase 9 — sound, verified recon before lock
docs(context): define Sounding
Refresh proposes a plan delta instead of scanning once at birth: every
scan candidate and every modules/ or analyses/ line already in index.md
sorts into new, standing, or unwarranted, and the user locks the delta as
they lock the plan at scaffold. Jurisdiction stops at what a scan can
see.
Removal had no ruling, so it becomes decision 018: an unwarranted page is
deleted only when wholly derived, superseded otherwise. A wholly derived
page loses nothing a rescan cannot rebuild; for the rest 015 holds, and
history is the archive of record.
okf-scan gains the two clauses 005's weave flagged, both reproduced
first: a directory matched by name alone with a candidate beneath it
proposes nothing, and an unreadable directory yields no evidence rather
than raising and exiting 1.
Implements blueprint 006; ROADMAP gains phase 8, paid for by collapsing
the execution-order note.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Scaffold stopped assuming a fixed four-template skeleton. okf-scan walks a
repo and proposes one evidence-backed page per line; the user locks what
survives into index.md.
- feat(write-OKF): add scripts/okf-scan — analyses/ and modules/ candidates
from two directory-shaped, language-blind signals, evidence per line
- docs(write-OKF): add taxonomy-scan.md — propose-never-write boundary, the
producer seam, proposal to locked plan
- docs(write-OKF): rewrite scaffold steps 2-3 as scan, propose, lock,
materialise only what a producer can fill
- feat(write-OKF): warrant the page templates; add CONTEXT/ROADMAP tpl,
unmaterialised — scaffold output now passes okf-check
- docs(okf): tick roadmap phase 6, spend its path:line churn risk
implements blueprint 005
Blueprint 004. A `cites:` entry now takes three shapes: `path`,
`path:line` (the number is a reading aid, never validated), and
`path:symbol`, which resolves only if the symbol is a literal substring
of the file — so a cite breaks when the thing it cites moves.
Cite drift belongs to okf-check, not refresh: a cite needs only the
working tree, so decision 017's visibility split leaves refresh's DRIFT
rule covering `sealed:` pins alone.
okf-check also validates derived-zone shape — at most one begin/end pair
per page, begin first — with each marker anchored to its whole line, so
a page that documents the markers is not fenced by mentioning them.
The warrant contract and the `sealed:` block move to page-warrant.md,
buying okf-layout.md the headroom for the two new contracts. ROADMAP
phase 6 records its split into 004 (cites + fences) and 005 (taxonomy
scan) and corrects the two Verify clauses this change made false.
Blueprint 004's Verify: PASS.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Phase 6 part A, locked. Extends decision 017's visibility split: a cite
resolves with only the working tree, so cites drift belongs to okf-check
while sealed: pin resolution stays with refresh. Adds the path:symbol
cite shape, the okf:derived fence contract, and the page-warrant.md
extraction that buys okf-layout.md the headroom to carry both.
Implements blueprint 003, phase 7's second half. moor gains two steps:
every resolved D-<n> that passes the warrant test graduates into the
why-register at the next free number, resolution body verbatim and
blocked-by edges dropped; then ferries/<topic>/ collapses into
ferries/<topic>.md carrying a sealed: pin (jj change id, git hash, ISO
date) read off @-, since the sealing commit cannot name itself.
Directory means open, file means moored, so `ls OKF/ferries/` finally
answers what deliberation is in flight.
Both guardrails that contradicted decisions 14/15 narrow rather than
gain exceptions: never collapse without a resolvable pin, never graduate
a decision that fails the warrant test. Done-criteria gate on okf-check,
deferred from blueprint 002 pending this rule.
okf-check learns the ferry shape rule — a page directly under ferries/
carries all three sealed: fields with a hex hash and an ISO date, and
may not coexist with its directory. Shape only: resolving the pin needs
the repo in hand, so refresh owns it, and a validator that cannot exit 0
on a tree copied outside its jj repo trains people to ignore it. That
split earns decision 017.
Verified against a throwaway scratch jj repo moored by hand per the
rewritten SKILL.md: blueprint 003's Verify block PASS, okf-check clean
on the fixture and on OKF/, moor at 106 lines and ROADMAP at 106.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Phase 7's second half: ferry decisions graduate into the why-register at
moor, and the ferry directory collapses into one sealed page. Locked.
Three calls the sources left open, now in the Contract:
- moor's "never delete a ferry directory" and "never auto-promote a
decision" guardrails contradict decisions 14/15, so they narrow rather
than gain an exception.
- Pin drift splits by visibility: okf-check validates sealed: shape (it
runs on OKF trees outside any jj repo), refresh validates resolution.
- The fixture is a throwaway scratch jj repo, so python-siblings stays
open for a real ferry sitting.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>