octobot/OKF/CONTEXT.md
Lukasz Boryn 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

4.3 KiB

type, purpose, answers, cites, status
type purpose answers cites status
Glossary Fix octobot's own vocabulary — one canonical name per concept, with what to avoid.
What is the canonical name for this concept in octobot?
skills/productivity/conjure-a-skill/glossary.md
skills/loop/write-OKF/okf-layout.md
live

octobot — context

Vocabulary for octobot itself. Skill-authoring terms (leading word, context load, progressive disclosure, sprawl, no-op) live in conjure-a-skill/glossary.md — not duplicated here. Prose cites take a register prefix: B- blueprint, R- why-register, D- ferry (R-022); links need none.

Language

Skill: One folder under skills/<category>/<name>/ with a SKILL.md router and optional topic-named siblings. Avoid: command, plugin, prompt.

The loop: The metaharness cycle; shape in ARCHITECTURE.md flow 1. Avoid: pipeline, workflow (those describe the develop-* orchestrators).

OKF: Open-knowledge-format — the agent-first wiki at a target project's ./OKF/; layout contract in write-OKF/okf-layout.md. Avoid: docs folder, wiki (unqualified), knowledge base.

Blueprint: A blueprint-skill-produced file OKF/blueprints/NNN-<slug>.md with status frontmatter; the unit weave executes. Its ## Contract section states what the change must satisfy. Avoid: spec (superseded term — renamed for skill↔artifact consistency), ticket, issue, task.

Brief: The written contract a mutating subagent receives before spawning — goal, OKF/blueprint references, verify command. A locked blueprint can serve as the brief. Avoid: prompt (ambiguous).

Seal: The commit-atomic-jj describe step where scratch becomes artifact; the sieve fires here. Avoid: commit (mechanics), merge.

Page plan: The locked set of admissible OKF pages, recorded as index.md's one-line-per-page list. write-OKF proposes it from a repo scan; the user edits and locks it. A page absent from the plan is inadmissible. Avoid: TOC, sitemap, nav, wiki.json.

Warrant: The frontmatter fields that justify a page's existence — purpose, answers[], cites[], after the required type. No answers entry, or one another page already answers, culls the page; an unresolved cites path is drift. Avoid: metadata, header, justification.

Derived zone: The <!-- okf:derived begin/end --> region of a page, regenerated on every refresh. Everything outside it is the judgement zone — append/supersede only, never scan-edited. Avoid: generated block, managed section.

Register: An append-only OKF directory or page that is the single home for one kind of durable fact — decisions/ (why we chose), LEARNINGS.md (what we got wrong), blueprints/ (what we built). ROADMAP holds only what is still ahead. Avoid: log, archive, history.

Why-register: The OKF/decisions/ register — why we chose what we chose, indexed question-shaped by index.md. Avoid: ADR log, decision log.

Decision file: One why-register entry, OKF/decisions/NNN-<slug>.md. Numbers permanent — supersede, never renumber. Avoid: ADR, decision record, register file.

Ferry decision: An open question at ferries/<topic>/D-<n>-<slug>.md — settled by the user, then graduated into a decision file. Avoid: ADR, ticket, blocker.

Graduate: Moving a resolved ferry decision into the why-register at moor, leaving a pointer in MAP.md. Avoid: promote, publish, merge.

Sealed pin: The sealed: frontmatter on a moored ferry — jj change id, git hash, date — naming the parent commit where the dissolved D-n files still exist. Makes "recoverable from history" cashable. Avoid: ref, anchor.

Sounding: The recon pass sound runs before a blueprint locks — the OKF, then the nostos MCP server, then a file read only where nostos cannot answer: an empty result, or a path with uncommitted changes. Its mark is sounded: in the blueprint's frontmatter. Avoid: research, investigation, spike.

Line cap: The per-file limit a page kind carries — 110 for SKILL.md and OKF pages, 150 for blueprints. Over it errors: a legal move always exists. Avoid: limit, budget.

House cap: The 110 itself — the line cap SKILL.md and OKF pages share. Topic-named siblings load on demand and carry no cap.