Filename search needs the prefix on disk, not just in prose; a bare NNN can't tell decisions and blueprints apart by ls or grep. * refactor(okf): rename decision and blueprint files to R-/B- prefix * fix(write-OKF): recognize R-/B- filenames in register_numbers * docs(blueprint): fix numbering step and filename-pattern docs
4.6 KiB
sounded: <date>. Use when the user says "sound", "/sound", "sound this blueprint", "verify this before I lock it"; when blueprint reaches its lock step; or when you are about to act on a claim taken from an OKF page, a blueprint's Justification, or a cite that nothing has checked against the code. Not open-ended "how does this work" research — the trigger is an unverified claim about this repo, not a topic.
sound
The recon pass that precedes a lock. A blueprint locks on a human's yes,
and that yes rests on knowledge nothing checked — sounding is what checks
it. Ports mattpocock's research, re-founded on the OKF.
The spine
Three steps, in order. Steps 1 and 2 run every time; step 3 runs only where step 2 came up short.
-
OKF — read the pages the question touches, starting at
OKF/index.md. No./OKF/→ say so in one line, name/write-OKF, stop. Nothing else runs. -
nostos — query the nostos MCP server, via its
find/provenance_oftools. It is the primary source for what the code says, not a hint feeding a later read: what it returns is source, not metadata. Presence comes from the agent's MCP configuration, never from a filesystem path — never guess at a checkout. Absent or unconfigured → every query comes back empty, which routes every claim to step 3; say so in one line namingnostos install, run from the repo to be indexed, and continue. -
File read — the fallback. A file is opened for a claim in exactly two cases:
- Empty result — nostos returned nothing. Empty means not indexed, never not there.
- Dirty path — the claim touches a path with uncommitted changes,
per one
jj stper run.
Neither → the nostos answer stands, unread.
Cite path:symbol where a symbol carries the claim — that is the shape
that breaks when the thing it cites moves, while a path:line suffix is
a reading aid nothing validates (/write-OKF's okf-layout.md). A
claim with no internal owner — a third-party API, a spec — is followed
to its primary source and cited. Nothing else leaves the repo.
Two mouths
The same skill, two modes, and which one is decided by how the run started — see 019.
| Reached | Behaviour |
|---|---|
By name — user, or blueprint at its lock step |
refine the blueprint sounded; stamp sounded: <date> |
| Self-fired — routed by description | report only; write nothing |
The stamp is what a lock leans on, so a run nobody asked for may not
make it. A stamp a self-fire cannot make is a stamp a lock can trust.
Self-fired and the findings matter → say so and name /sound; the user
decides whether it becomes a write.
The mark
sounded: YYYY-MM-DD, fourth frontmatter field, after traces-to (see
/blueprint's blueprint-format.md). Sounding is a precondition of lock: okf-check warns <path>: locked without sounded: on a locked blueprint carrying no stamp. Warning, not error
— exit status stays 0.
Idempotence. Already stamped and no cited file changed since →
report sounded <date>, unchanged and stop. Re-sound anyway only when
the user asks, or when a cite no longer resolves.
Output / done criteria
- Findings in the calling context: what held, what drifted, what has no owner — each with its cite.
- Reached by name → the blueprint refined and stamped.
- Self-fired → the report, and the working copy byte-identical.
Guardrails
- Never write on a self-fire, in any form, however small.
- Never skip step 1 to reach step 3 — an unread OKF is what makes a recon into research.
- Never shell out to
codegraph— the MCP server is the only mouth; keeping the index fresh is its job, not sound's. - Never run in a subagent, background or otherwise: the findings are the deliverable and belong in the calling context.
- Never leave the repo past the no-internal-owner gap — general web
research is upstream
research, not this. - Never edit a locked blueprint's Contract or Verify — a sounding
that contradicts them supersedes, per
/blueprint's status discipline.
See also
/blueprint— the caller; sounding gates its lock step./write-OKF— noOKF/→ there first;okf-checkowns the warning./rig— executes what a sounded blueprint locked.