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.
This commit is contained in:
Łukasz Boryń 2026-07-30 16:34:55 +02:00
parent 7f2ebf0e9c
commit 8784b6f669
8 changed files with 72 additions and 23 deletions

View File

@ -5,8 +5,8 @@ conventions for editing octobot itself. Merge with project-specific
instructions as needed. instructions as needed.
**The loop.** Octobot is a loop-engineering metaharness over an OKF **The loop.** Octobot is a loop-engineering metaharness over an OKF
(open-knowledge-format) wiki: `write-OKF → architect → blueprint → (open-knowledge-format) wiki; its shape is
ferry → weave → review+verify → commit-atomic-jj → moor`. This repo dogfoods it — [`OKF/ARCHITECTURE.md`](OKF/ARCHITECTURE.md) flow 1. This repo dogfoods it —
knowledge in [`OKF/`](OKF/index.md), agent directions in knowledge in [`OKF/`](OKF/index.md), agent directions in
[`AGENTS.md`](AGENTS.md), skill index in [`AGENTS.md`](AGENTS.md), skill index in
[`skills/loop/steer/`](skills/loop/steer/SKILL.md). [`skills/loop/steer/`](skills/loop/steer/SKILL.md).

View File

@ -33,9 +33,30 @@ frontmatter `description` (routing) plus its SKILL.md body (procedure).
## Main flows ## Main flows
1. **The loop** — write-OKF → architect → blueprint → ferry → weave 1. **The loop** — the metaharness spine, canonically rendered here
→ review+verify → commit-atomic-jj; OKF refreshed after weave (`skills/loop/`). Two byte-copies: `README.md` §loop, `steer`
(`skills/loop/`, diagram in `README.md`). §The loop.
```
substrate (rare) write-OKF — scaffold, or refresh when stale
↓
per request architect — a phase only for an arc over >1 blueprint
↓
know what to do?
┌──── yes ────┴──── no ────┐
blueprint → sound ferry — decisions + blocking edges,
→ weave resolve one per sitting
(weave closes it) ↓
blueprint per cleared decision → sound
↓
1 left → weave
N left → call-charon (agent per blueprint)
↓
moor
weave = bdd → 4-axis review → Verify → commit-atomic-jj → close (OKF refresh)
```
2. **Skill discovery** — Claude Code scans `~/.claude/skills/` one level 2. **Skill discovery** — Claude Code scans `~/.claude/skills/` one level
deep; per-skill symlinks point into `skills/<category>/<name>/` deep; per-skill symlinks point into `skills/<category>/<name>/`
(`README.md` §Install). (`README.md` §Install).

View File

@ -23,9 +23,8 @@ One folder under `skills/<category>/<name>/` with a SKILL.md router and
optional topic-named siblings. _Avoid_: command, plugin, prompt. optional topic-named siblings. _Avoid_: command, plugin, prompt.
**The loop**: **The loop**:
The metaharness cycle write-OKF → architect → blueprint → ferry → The metaharness cycle; shape in [ARCHITECTURE.md](ARCHITECTURE.md) flow 1.
weave → review+verify → commit-atomic-jj. _Avoid_: pipeline, workflow (those _Avoid_: pipeline, workflow (those describe the develop-* orchestrators).
describe the develop-* orchestrators).
**OKF**: **OKF**:
Open-knowledge-format — the agent-first wiki at a target project's Open-knowledge-format — the agent-first wiki at a target project's

View File

@ -10,10 +10,10 @@ status: live
# octobot Roadmap # octobot Roadmap
Octobot becomes a loop-engineering metaharness: the loop (write-OKF → Octobot becomes a loop-engineering metaharness: the loop
architect → blueprint → ferry → weave → review+verify → ([ARCHITECTURE.md](ARCHITECTURE.md) flow 1) over an OKF substrate,
commit-atomic-jj) over an OKF substrate, alongside the existing alongside the existing practice/scaffold skills. Vocabulary:
practice/scaffold skills. Vocabulary: [CONTEXT.md](CONTEXT.md). [CONTEXT.md](CONTEXT.md).
## Why (gap vs prior art) ## Why (gap vs prior art)
@ -30,7 +30,7 @@ Each line is the question its decision settles. Cite by number.
## Architecture ## Architecture
See [ARCHITECTURE.md](ARCHITECTURE.md); loop diagram in `README.md`. See [ARCHITECTURE.md](ARCHITECTURE.md); the loop is its flow 1.
## Phases ## Phases

View File

@ -1,6 +1,6 @@
--- ---
type: Blueprint type: Blueprint
status: locked status: implemented
traces-to: ROADMAP.md phase 11 traces-to: ROADMAP.md phase 11
sounded: 2026-07-30 sounded: 2026-07-30
cites: cites:

View File

@ -39,7 +39,7 @@ your task needs. Humans welcome too.
- [015](blueprints/015-record-session-check-discharges-on-the-blueprint.md) — record session-check discharges on the blueprint — implemented - [015](blueprints/015-record-session-check-discharges-on-the-blueprint.md) — record session-check discharges on the blueprint — implemented
- [016](blueprints/016-pull-two-skills-under-cap-and-level-commit-twins.md) — pull two skills under the line cap and level the commit twins — implemented - [016](blueprints/016-pull-two-skills-under-cap-and-level-commit-twins.md) — pull two skills under the line cap and level the commit twins — implemented
- [017](blueprints/017-add-a-line-cap-lint-over-skills.md) — add a line-cap lint over skills/ — implemented - [017](blueprints/017-add-a-line-cap-lint-over-skills.md) — add a line-cap lint over skills/ — implemented
- [018](blueprints/018-own-the-loop-shape-in-flow-1.md) — own the loop's shape in ARCHITECTURE flow 1 — locked - [018](blueprints/018-own-the-loop-shape-in-flow-1.md) — own the loop's shape in ARCHITECTURE flow 1 — implemented
## Ferries ## Ferries

View File

@ -46,10 +46,23 @@ Octobot's core: a loop-engineering metaharness over an **OKF**
(open-knowledge-format) wiki at each project's `./OKF/`. (open-knowledge-format) wiki at each project's `./OKF/`.
``` ```
write-OKF → architect → blueprint → ferry → weave → review+verify → commit-atomic-jj → moor substrate (rare) write-OKF — scaffold, or refresh when stale
(knowledge) (plan) (blueprints) (decompose) (execute) (seal) (close out) ↓
▲ │ per request architect — a phase only for an arc over >1 blueprint
└────────────────────────────── OKF refreshed ◀──────────────────────────────────────┘ ↓
know what to do?
┌──── yes ────┴──── no ────┐
blueprint → sound ferry — decisions + blocking edges,
→ weave resolve one per sitting
(weave closes it) ↓
blueprint per cleared decision → sound
↓
1 left → weave
N left → call-charon (agent per blueprint)
↓
moor
weave = bdd → 4-axis review → Verify → commit-atomic-jj → close (OKF refresh)
``` ```
- **write-OKF** — scaffold or refresh the OKF wiki; wires `AGENTS.md` so - **write-OKF** — scaffold or refresh the OKF wiki; wires `AGENTS.md` so

View File

@ -6,14 +6,30 @@ disable-model-invocation: true
# steer # steer
Most octobot skills are user-invoked (zero context load) — this router Most octobot skills are user-invoked (they fire when named, not when a
is the index you'd otherwise have to be. Ask "/steer <situation>" or description matches) — this router is the index you'd otherwise have to
just read the table. be. Ask "/steer <situation>" or just read the table.
## The loop (the metaharness spine) ## The loop (the metaharness spine)
``` ```
write-OKF → architect → blueprint → ferry → weave → review+verify → commit-atomic-jj → moor substrate (rare) write-OKF — scaffold, or refresh when stale
↓
per request architect — a phase only for an arc over >1 blueprint
↓
know what to do?
┌──── yes ────┴──── no ────┐
blueprint → sound ferry — decisions + blocking edges,
→ weave resolve one per sitting
(weave closes it) ↓
blueprint per cleared decision → sound
↓
1 left → weave
N left → call-charon (agent per blueprint)
↓
moor
weave = bdd → 4-axis review → Verify → commit-atomic-jj → close (OKF refresh)
``` ```
| Situation | Skill | | Situation | Skill |