165 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
0bab80dffe docs(roadmap): discharge phase 10 and open phases 12-14
docs(roadmap): prune phases 9-11 to one line each, per R-020
docs(roadmap): open phase 12 — rename architect to chart, weave to rig
docs(roadmap): open phase 13 — analysis Verify as reproducibility, OKF/findings/
docs(roadmap): open phase 14 — flatten skills/<name>/ so any harness can install
docs(roadmap): restate two resolved risks as closed, citing 020-022
docs(roadmap): record that a ruling kept only in a phase dies with the phase

Phase 12 carries a precondition on blueprint 023: the rename moves 26 of the
421 unvalidated links, and a grep for old names proves absence, not that the
new paths resolve.
2026-07-31 13:02:44 +02:00
5783bd896e docs(skills): close the phase-10 skills-consistency findings
docs(grill-with-docs): trim the description to one human-facing line (F6)
docs(nuke-review): trim the description to one human-facing line (F6)
docs(grill-with-docs): add When to use / Output / See also, the router shape (F7)
docs(conjure-a-skill): legitimise evocative headings for spine and router skills (F8)
docs(model-domain): normalise descriptive ADR uses to "decision file" (F11)

F8 is ruled here rather than in the roadmap phase: R-020 prunes a discharged
phase to one line, so a ruling recorded there does not outlive it.
2026-07-31 13:02:36 +02:00
4dfe4e200a feat(okf-check): error on a blueprint cite and a discharged phase verify step
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.
2026-07-31 10:16:24 +02:00
1b9aa038b2 docs(blueprint): add 022 validate-every-cite-at-every-status 2026-07-31 10:12:01 +02:00
75a52f1da4 docs(okf): record the stranded-Verify learning and close 021
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.
2026-07-30 20:33:04 +02:00
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
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
579bf5e804 docs(write-OKF): move the parent to <theme-dir>/index.md on a split
split-page.md §Rewiring the index said the capped page keeps its name and
becomes its subpages' index, but okf-check's reachable() walks on only
through pages named index.md or MAP.md — so every subpage of such a
parent errors 'not reachable from index.md'. Doctrine instructing into a
validator error.

The parent now moves to <theme-dir>/index.md and index.md's single line
repoints at it; reachable() is untouched. Widening the walk was rejected:
the narrow rule is what buys the spine guarantee, and a split is rare
enough to pay a rename. okf-layout.md's LEARNINGS.md contract and tree
comment follow.

blueprint 021, rule 1 — doctrine half.
2026-07-30 20:29:30 +02:00
d7c365adf7 docs(blueprint): declare cites: in the blueprint format
blueprint-format.md named traces-to and sounded: only, while every
blueprint since B-014 but B-015 carries a cites: block. Declares it
optional — B-015 is why — with the cite grammar left owned by
okf-layout.md §Conformance rather than restated.

blueprint 021, rule 3.
2026-07-30 20:27:23 +02:00
99239e1e93 docs(blueprint): add 021 align-validator-and-doctrine
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.
2026-07-30 20:17:00 +02:00
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
111d34da1f docs(blueprint): add 020 enforce-the-prune-and-validate-every-cite
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.
2026-07-30 17:51:49 +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
478ce9fd91 docs(okf): record two doctrine drifts in ROADMAP risks
Architect revision pass. No new decision file: the warrant test fails
because decision 020 already rules it — "ROADMAP.md prunes a discharged
phase to one line" — and 021 paraphrases the same. The verify-line
question was never open; three lines simply contradict a live decision.

- :84 drops the time-relative "(this session)" — the risk is still
  unvalidated and owed a lint whenever it is read
- :86 adds one entry covering both drifts found sounding blueprint 019:
  architect/SKILL.md:36,:54 and revise.md:15 tell the revision loop to
  keep the verify line and mark the tick on it, against decision 020;
  and okf-check:245 skips blueprints/ferries before its cite loop, so
  no blueprint cites are validated at all

Not done, deliberately: no LEARNINGS.md entry — it sits at 105 of 110
and already owes two, and its growth path per decision 020 is a split
into learnings/<theme>.md, which is split-page work, not an architect
edit. No new phase: ROADMAP:43 opens one only for an arc spanning more
than one blueprint or session.

Section touched: Risks and gotchas. 106 of 110, okf-check 0 errors.
2026-07-30 17:12:43 +02:00
e36f1ebf93 docs(blueprint): add 019 add-a-render-lint-over-the-loop-shape
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.
2026-07-30 17:02:07 +02:00
8784b6f669 docs(okf): own the loop shape in ARCHITECTURE flow 1
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.
2026-07-30 16:36:54 +02:00
7f2ebf0e9c docs(blueprint): add 018 own the loop's shape in ARCHITECTURE flow 1
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.
2026-07-30 16:28:04 +02:00
62cf841db1 docs(okf): prune phase 9, restate the loop, open phases 10 and 11
ROADMAP carried a 20-line body for a phase verified 2026-07-22, which
013 (a plan, not an archive), 020 (prune a discharged phase to one
line) and 021 (a phase line names its blueprint and stops) each already
forbade. 020's prune triggers at cap+1 and the page sat at 83 of 110,
so the rule never fired — recorded under §Risks, since the trigger
belongs on `✅ verified` instead and nothing validates it yet. Safe to
prune: 015 already moved the pending check-3 record onto 007's own
Verify section (007:103), which is the loss 021 warned the prune would
cause.

The vision's loop string was the stale 5-stage form. It now carries the
same token sequence as CONTEXT.md, though wrapped at different points —
which is F5 in miniature, and why 019's lint must compare on
whitespace-collapsed text.

Phases opened for the two arcs spanning more than one blueprint: 10 for
the 2026-07-24 review's remainder (F5-F8 untriaged, F11 ruled but
unswept), 11 for the loop's shape plus the lint that keeps its
renderings from diverging. Blueprints 008-017 stay grandfathered —
`user request <date>` is a declared traces-to value, and index.md
already registers every blueprint with its status, so requiring a phase
per blueprint would duplicate that warrant rather than add one.

okf-check OKF/ -> 0 error(s), 0 warning(s)
2026-07-30 16:03:44 +02:00
6b35878e6c docs(okf): gloss the cap, decision and ferry-decision terms
Three vocabulary rulings from a model-domain session. CONTEXT.md answers
"what is the canonical name for this concept", and all three questions
turned out to be gaps in it rather than drift against it.

- The cap: House cap read "110 lines per SKILL.md", but okf-check
  enforces 110 on OKF pages and 150 on blueprints, so a second word grew
  to cover the rest. Ruling: line cap is the genus (any page kind's
  limit), house cap the 110 both SKILL.md and OKF pages share. The 15
  existing "line cap" sites are correct usage, not drift — no sweep.
- The decision artifact: the glossary had no entry for it at all, so five
  names circulated (ADR x15, decision file x9, why-register x5, register
  file, decision record) — worst inside model-domain itself. Ruling: the
  set is the why-register, the entry is a decision file; ADR survives only
  as a trigger alias users type.
- The collision F9 flagged: ferry/decision-format.md and
  model-domain/decision-format.md describe genuinely different artifacts.
  Ruling: a ferry decision is an open question awaiting the user; a
  decision file is a settled ruling. Distinction glossed, both filenames
  left alone — each is unambiguous inside its own skill.

Graduate loses the path it restated, now that ferry decision and
why-register own those names.

No decision file opened: CONTEXT.md's own answers: entry already owns
"what is the canonical name for this concept", so a register page would
be a duplicate warrant.

CONTEXT.md 94 -> 109 against a 110 cap. okf-layout.md gives a
single-context glossary no split, so the next term needs a cull first.
2026-07-30 14:55:39 +02:00
3b80a6e6c1 feat(skills): lint skill line counts with skill-check
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
2026-07-30 14:55:24 +02:00
60953e9280 docs(blueprint): add 017 add-a-line-cap-lint-over-skills 2026-07-30 14:38:56 +02:00
12659c76d1 refactor(skills): pull call-charon and commit-atomic-jj under the line cap
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
2026-07-30 13:51:03 +02:00
1d01b99ded docs(blueprint): add 016 pull-two-skills-under-cap-and-level-commit-twins
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
2026-07-30 13:45:25 +02:00
961811a41c docs(okf): record 007's session-check discharges on the blueprint
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
2026-07-30 13:44:45 +02:00
c87a3fb41a docs(blueprint): add 015 record-session-check-discharges-on-the-blueprint
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.
2026-07-30 13:33:57 +02:00
4c06df571e docs(decisions): rule 021 — a session check discharges on its own blueprint
Some Verify checks a script cannot make ride later sessions. Their state
had no home: 007's four sat as prose in ROADMAP phase 9, where 013 makes
past-tense text inadmissible and 020's prune deletes the one still
pending the first time that page hits its cap.

Rules the record onto the blueprint that wrote the check, stamped on the
check itself. Narrows blueprint-format's immutability rule rather than
breaking it — that rule binds a check's text, not its state marker.

Rejects a terminal 'verified' status as premature: one blueprint has
ever carried a pending check.
2026-07-30 13:23:52 +02:00
bb35812d45 refactor(skills): unify sibling-file naming on lowercase-kebab topic names
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.
2026-07-30 13:04:33 +02:00
bcf517f033 docs(blueprint): sound + lock 014 unify-skill-sibling-file-naming
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.
2026-07-30 13:03:20 +02:00
760d15ed71 feat(loop): split moor into SKILL.md + REFERENCE.md to hold 110-line cap
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
2026-07-24 11:27:44 +02:00
86e1a08449 docs(blueprint): sound + lock 013 split-moor-into-skill-and-reference
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.
2026-07-24 11:27:26 +02:00
8d51544507 feat(loop): add ferry-level muster gate at moor
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>
2026-07-24 11:19:18 +02:00
531c214e3b docs(blueprint): lock 012 add-ferry-level-muster
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.
2026-07-24 11:01:31 +02:00
2ae4dc4a88 docs(learnings): note okf-check flattens nested frontmatter blocks 2026-07-24 10:39:43 +02:00
5943180375 docs(blueprint): split 010 into 011 (implemented) + 012, supersede 010
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
2026-07-24 10:38:52 +02:00
3421847c15 feat(loop): add blueprint-level muster, the human review gate in weave
implements blueprint 011:
- okf-check: error on muster+implemented without a tally: (pin-style parser)
- weave: Muster step halts after the seal; review-base recorded at Frame
- blueprint-format, okf-layout: document muster / review-base / tally
2026-07-24 10:38:32 +02:00
4e719008a4 docs(blueprint): add 010 add-muster-the-human-review-gate 2026-07-24 10:27:06 +02:00
fda72effec docs(decisions): record the growth-path doctrine as 020
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>
2026-07-24 00:28:28 +02:00
e66be91c73 feat(write-OKF): enforce the line cap by giving every page a growth path
- 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
2026-07-24 00:17:37 +02:00
a6769919c1 docs(blueprint): add 009 give every page a growth path 2026-07-24 00:17:25 +02:00
49f98ba1da feat(sound): make nostos primary and file reads the fallback
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>
2026-07-23 23:42:25 +02:00
5686c254b3 docs(blueprint): add 008 make nostos primary and file reads the fallback 2026-07-23 23:36:24 +02:00
5bed76764a docs(roadmap): record 007 check 2 as discharged by the 001 sounding
- docs(roadmap): narrow the pending clause to check 3 alone
2026-07-23 22:21:21 +02:00
3796889191 docs(blueprint): drop 001 — generic write-readme already covers R
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.
2026-07-22 19:26:16 +02:00
9fb6ff3aaa docs(learnings): record that the cite/pin split fails the warrant test
Closes the question 004 left open by stating the doctrine as prose only:
`page-warrant.md:36` already answers who owns cite drift, and 017 gives
the visibility principle it follows from. 020 stays unspent.
2026-07-22 14:17:29 +02:00
aa61a3f51f fix(okf-check): treat a cite line range as a reading aid, not a symbol
A `path:92-97` cite fell through the `isdigit()` suffix rule and was
matched as a literal symbol, so it could never resolve. Line ranges are
the same reading aid a bare line number is, and are idiomatic in this
repo prose, so the grammar now admits `N` and `N-M` alike.
2026-07-22 14:17:24 +02:00
6cb19302ea fix(write-readme): read the R install path from evidence, not a default
REFERENCE.md told a README reader to run renv::restore() on the host.
For anything the R scaffolds produce that is wrong: renv::init() is the
user's post-scaffold step, and renv::restore() then runs inside the
image build (containerize-project/Dockerfile.r-*.tpl), so the reader's
entry point is 'just build-dev' then 'just up'. The rule is now stated
as evidence — justfile, Dockerfile, lockfile — with 'omit the section'
as the fallback, since a bare restore is right only for a repo with a
committed lockfile and no container.

build-r-package pointed at a README 'Out of scope' heading that does not
exist; it now names generic write-readme, which already covers
r-package, and blueprint 001 for the dedicated skill.

Blueprint 001 was sounded against the earlier, half-right reading and is
corrected with it: the install clause now says what the Dockerfiles do,
and the REFERENCE fix leaves its seam list and Out of scope, having
landed here instead.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 14:05:19 +02:00
4b9b9f8281 docs(blueprint): sound 001 and correct what it rested on
001 predates the loop build-out and carried no sounded: stamp. Sounding
it against live code broke two of its claims. The R scaffolds do not
ship without a README generator — generic write-readme already detects
DESCRIPTION and _targets.R and extracts both — so the gap is depth, not
coverage, and the blueprint now says so and must earn its keep against
that path. And renv::restore() is wrong for scaffolded R projects, which
run through docker compose and ship no lockfile; the default traces to
write-readme/REFERENCE.md:38, which the blueprint now corrects instead
of copying.

Seams went from two files to seven — the symlink, the steer row and the
README entries that today's conventions require. Verify became runnable:
every 'just' recipe the README documents must exist in the justfile, and
no renv line may appear without a lockfile.

Status stays draft. Stamped sounded: 2026-07-22.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 14:02:15 +02:00
39cd91944a docs(learnings): record that naming a skill spoils its zero-fire test
Blueprint 007's check 4 measures how often sound fires unasked, and the
description that makes it fire loads the moment the skill is named — so
the check had to run before check 1 and in a session that had not built
it. Generalises to every model-invoked skill octobot adds.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 13:50:57 +02:00