3.0 KiB
3.0 KiB
name, description, disable-model-invocation
| name | description | disable-model-invocation |
|---|---|---|
| blueprint | Synthesize the current conversation or a roadmap phase into a justified, verifiable spec at OKF/specs/NNN-<slug>.md — the unit that implement executes. No interview, pure synthesis. | true |
blueprint
Matt Pocock's to-spec, file-based. Turns already-discussed work into a spec with justification. The interview happened upstream (grill-me / architect); blueprint only crystallises.
When to use
- User says "blueprint", "/blueprint", "write the spec", "spec this out".
- An architect roadmap phase is ready to decompose into implementable units.
- A ferry decision resolved and needs its spec(s).
Process
- 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.
- Number it —
NNN= highest existing inOKF/specs/+ 1 (grep -ho '^[0-9]\{3\}' <(ls OKF/specs/) | sort -n | tail -1). - Write
OKF/specs/NNN-<slug>.mdper spec-format.md. Status startsdraft.- 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 — implement's done-gate runs exactly this.
- Show the spec; iterate. On explicit user yes → flip status to
locked. No yes, no lock. - Index it — add
NNN — <title> — <status>toOKF/INDEX.mdSpecs section. - Seal via jj-atomic:
docs(spec): add NNN <slug>.
Status discipline
draft → locked → implemented, or → superseded-by-NNN from any state.
Never backwards; never edit a locked spec's Spec section — supersede
with a new number instead. The "tracker" is
grep -r "^status:" OKF/specs/.
Output / done criteria
- Spec exists, matches spec-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 implement.
- Never restate OKF content in the spec — reference pages by path.
- One spec = one implementable unit; too big to verify in one implement run → split, or send to ferry.
See also
- spec-format.md — the format contract.
- ../../engineering/review-blueprint/SKILL.md — reviews a diff against a spec.
- ../architect/SKILL.md — phases feed specs; implemented specs tick phases.