octobot/OKF/CONTEXT.md
Lukasz Boryn 8784b6f669 docs(okf): own the loop shape in ARCHITECTURE flow 1
Per blueprint 018. The spine was hand-copied into six sites in three
divergent forms, and a flat arrow string cannot state cadence: write-OKF
fires on scaffold or staleness, ferry branches off blueprint rather than
following it, call-charon is the multi-blueprint form of weave, and moor
closes only a ferry-traced chain.

ARCHITECTURE.md flow 1 becomes the sole owner of a 17-line rendering that
draws the routing fork and carries the OKF-refresh cycle in its legend.
README §loop and steer §The loop hold byte-for-byte copies — entry
surfaces where a pointer costs a hop. CONTEXT.md, ROADMAP.md (opening
paragraph and the §Architecture pointer, which aimed at a copy) and
CLAUDE.md stop restating the stages and point at flow 1 instead.

Folded in, same file already open: steer glossed user-invoked as "zero
context load", which it is not — naming a skill loads its body. The flag
buys routing control.

Phase 11 stays open; its Verify needs the lint (blueprint 019) before the
copies are held mechanically.

Verify: owner 17 lines, match on both copies, both greps empty with
strays exit 1, okf-check 0/0, skill-check 0 errors / 9 warnings.
2026-07-30 16:36:54 +02:00

109 lines
4.2 KiB
Markdown

---
type: Glossary
purpose: Fix octobot's own vocabulary — one canonical name per concept, with what to avoid.
answers:
- "What is the canonical name for this concept in octobot?"
cites:
- skills/productivity/conjure-a-skill/glossary.md
- skills/loop/write-OKF/okf-layout.md
status: 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](../skills/productivity/conjure-a-skill/glossary.md)
— not duplicated here.
## 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](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](../skills/loop/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.