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>
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>
Checks 1 and 4 ran in a fresh session against a no-OKF fixture: ten
ordinary code questions fired sound zero times, and /sound by name
stopped at one line naming /write-OKF. With the script leg already
green, phase 9 is verified rather than half-verified.
Checks 2 (the nostos-absent line) and 3 (a self-fire leaving its
blueprint byte-identical) still want a session and ride the next
blueprint's sounding.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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>
- docs(okf): mark 002 implemented in its frontmatter and the index line
- docs(okf): tick the register half of phase 7 with its verified date
- docs(okf): record that a page-cap plan must price the frontmatter it
mandates — the warrant cost ROADMAP more than the blueprint budgeted
- docs(model-domain): forbid an em-dash inside a register question, since
it is the index line delimiter
implements blueprint 002
- docs(okf): add OKF/decisions/ — one file per settled decision, bodies
migrated verbatim, warrant frontmatter added, numbers 1-16 preserved
- docs(okf): index the register by the question each decision settles
- docs(okf): shed both registers from ROADMAP — decisions to the register,
believed/true entries to LEARNINGS.md, §Risks keeps forward-looking risk
- docs(okf): compress §Why to its conclusion so ROADMAP clears the 110-line
cap once warrant frontmatter is added; prior-art scan moves to LEARNINGS
- docs(okf): give every durable page a warrant (purpose, answers, cites)
- docs(okf): retire the empty adr/ for the register
implements blueprint 002
Prior-art scan (OpenWiki, DeepWiki, deepwiki-skill) found a convergent
pattern octobot lacks: a declared, human-editable page plan that
generation must conform to. Without one, write-OKF has no legal home for
module reference, how-to, or analysis pages, so they land as loose files
in the OKF root.
Locks decisions 7-16 and adds phases 6 and 7:
- Page taxonomy is derived per repo, never fixed - an analysis repo keeps
analyses in directories and may have no plotting module, a library has
neither, and a hard-coded layout yields empty ceremonial pages.
- Every page carries a warrant (purpose / answers[] / cites[]) after
type. A page that answers no question, or one another page owns, is
inadmissible; the same field doubles as the routing index.
- index.md is the locked page plan; a separate TOC file would duplicate
its existing job.
- Module and analysis pages are two-zone, so a scan cannot launder
hand-written judgement.
- One why-register at OKF/decisions/, absorbing the roadmap's locked
decisions and the empty adr/ directory. Zero ADRs in the project's life
is evidence the three-of-three rule was unusable where it sat.
- Ferry decisions graduate at moor and the ferry directory collapses to a
single page, pinned by sealed: to the parent commit where the
deliberation still exists. The OKF is not the archive of record.
- One okf-check validator, built to the doctrine already written in
add-copilot-project-skill/project-validator.md. write-OKF and moor gate
on its pasted output, making the done-gate a run rather than a claim.
ROADMAP is over the 110-line cap until phase 7 lands; closing it is that
phase's first verify clause. Execution order is 7 then 6 - run the
register on octobot itself before freezing it into a contract for other
repos. Phase 7 ships as two blueprints because ferry graduation depends
on the register already existing.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
docs(okf): add type frontmatter to every page, blueprint, and ferry file
docs(okf): declare okf_version 0.1 in index frontmatter; rename INDEX.md
to reserved lowercase index.md
docs(repo): repoint AGENTS.md, CLAUDE.md, README.md at OKF/index.md
refactor(okf): OKF/specs/ becomes flat OKF/blueprints/ (NNN files only); ferry
dirs move to OKF/ferries/<topic>/ so numbering and status greps need no exclusions
docs(okf): INDEX.md gains Blueprints (NNN — title — status) and Ferries
(<topic> — n/m resolved → MAP.md) sections; decisions stay in MAP.md only
docs(okf): CONTEXT.md supersedes spec with blueprint and records the
Contract section; loop pages updated for renamed skills