Lukasz Boryn 6441d0f425 feat(sound): add verified recon before a blueprint locks
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>
2026-07-22 13:23:18 +02:00

3.4 KiB

name, description, disable-model-invocation
name description disable-model-invocation
blueprint Synthesize the current conversation or a roadmap phase into a justified, verifiable blueprint at OKF/blueprints/NNN-<slug>.md — the unit that weave executes. No interview, pure synthesis. true

blueprint

Matt Pocock's to-blueprint, file-based. Turns already-discussed work into a blueprint with justification. The interview happened upstream (grill-me / architect); blueprint only crystallises.

When to use

  • User says "blueprint", "/blueprint", "write the blueprint", "blueprint this out".
  • An architect roadmap phase is ready to decompose into implementable units.
  • A ferry decision resolved and needs its blueprint(s).

Process

  1. Locate the source — the conversation, a named roadmap phase, or a resolved ferry decision. No source → stop; run grill-me/architect first. Never invent requirements.
  2. Number it — NNN = highest existing in OKF/blueprints/ + 1 (grep -ho '^[0-9]\{3\}' <(ls OKF/blueprints/) | sort -n | tail -1); directory empty or absent → start at 001.
  3. Write OKF/blueprints/NNN-<slug>.md per blueprint-format.md. Status starts draft.
    • Justification traces to a roadmap phase, ferry decision, or a stated user need — by reference, not restatement.
    • Seams touched lists the interfaces tests will run against — bdd consumes this as its pre-agreed seam list.
    • Verify is a runnable command or observable check — weave's done-gate runs exactly this.
  4. Sound it — call sound by name on the draft: it verifies what the blueprint rests on and stamps sounded: <date>. Unsounded, there is nothing to lock against.
  5. Show the blueprint; iterate. On explicit user yes → flip status to locked. No yes, no lock.
  6. Index it — add NNN — <title> — <status> to OKF/index.md Blueprints section.
  7. Seal via commit-atomic-jj: docs(blueprint): add NNN <slug>.

Status discipline

draft → locked → implemented, or → superseded-by-NNN from any state. Never backwards; never edit a locked blueprint's Contract section — supersede with a new number instead. A lock has a precondition: a sounded: stamp — okf-check warns on a locked blueprint without one. The "tracker" is grep -r "^status:" OKF/blueprints/.

Output / done criteria

  • Blueprint exists, matches blueprint-format.md, indexed in index.md.
  • Justification traces to a real source; Verify is runnable.
  • Locked only on explicit user approval.

Guardrails

  • Never interview here — synthesis only.
  • Never lock without a user yes.
  • Never write implementation code or tests — that's weave.
  • Never restate OKF content in the blueprint — reference pages by path.
  • One blueprint = one implementable unit; too big to verify in one weave run → split, or send to ferry.

See also