octobot/OKF/ROADMAP.md
Lukasz Boryn bc2d3c971e feat(loop): lint the loop's rendered shape with render-check
Per blueprint 019. ROADMAP phase 11 paired 018's ownership move with a
lint "so the copies cannot diverge again", and phase 11 did not verify
until it landed. Divergence already happened once — six sites, three
forms — and what held them together was 018's Verify, a sed range typed
into a blueprint, which expires with it.

That check also carried a live defect: `CANON=$(sed -n ...)` yields the
empty string on a file missing the block, so both copies compared
empty-to-empty and printed `match`. A check that cannot fail is not a
check; the script errors on a missing owner block instead.

A third script rather than a widened sibling: README.md sits at the repo
root, outside `okf-check <okf-dir>` and `skill-check <skills-dir>` both,
and widening either one's root changes the argv contract 017 built
skill-check to mirror.

- feat(write-OKF): add scripts/render-check <repo-root> — OKF/ARCHITECTURE.md
  is the named owner, copies are discovered by walking *.md, and a file with
  no such fence is a pointer, which phase 11 declares legal. Three error
  legs: no owner block (or more than one), a copy diverging byte-for-byte
  after per-line trailing-whitespace strip, and the retired flat form
  surviving anywhere. OKF/blueprints/ is skipped — a locked Contract is
  immutable, so a rule that could turn one red would be unfixable, and
  blueprints quote retired forms as record.
- docs(write-OKF): SKILL.md's done-criterion names both scripts, one line
  for one line — the page sits at the 110-line cap.
- docs(okf): append the learning — a Contract carrying a byte-exact
  artifact eats the blueprint cap. LEARNINGS.md lands at exactly 110.
- docs(okf): phase 11 ticked and pruned to the verified form per 013.

implements blueprint 019
2026-07-30 20:16:34 +02:00

98 lines
4.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
type: Roadmap
purpose: Carry only what is still ahead — phases, their verify steps, and live risk.
answers:
- "What is octobot building next, and how is each phase verified?"
cites:
- OKF/decisions/index.md
status: live
---
# octobot Roadmap
Octobot becomes a loop-engineering metaharness: the loop
([ARCHITECTURE.md](ARCHITECTURE.md) flow 1) over an OKF substrate,
alongside the existing practice/scaffold skills. Vocabulary:
[CONTEXT.md](CONTEXT.md).
## Why (gap vs prior art)
Octobot's slot: a file-based loop over OKF (open-knowledge-format),
jj-native. mattpocock/skills has the blueprint pipeline but no substrate;
obra/superpowers has subagent execution but no persistent wiki; neither
carries the R/Py scaffolds or the debloat/review axes. The prior-art scan
behind that claim, and what it debunked: [LEARNINGS.md](LEARNINGS.md).
## Locked decisions
20 live, in the why-register: [decisions/index.md](decisions/index.md).
Each line is the question its decision settles. Cite by number.
## Architecture
See [ARCHITECTURE.md](ARCHITECTURE.md); the loop is its flow 1.
## Phases
Phases 1–8 closed between 2026-07-19 and 2026-07-22 and left this page
per [013](decisions/013-roadmap-is-a-plan.md): what they shipped is in
[blueprints/](blueprints/) and [decisions/index.md](decisions/index.md),
how each verified is in jj history. Numbers stay as issued —
append-only.
B-008–B-017 traced to `user request <date>`, a declared
`traces-to` value — a phase is opened for an arc spanning more than one
blueprint or session, not for a single request. What they shipped is
indexed in [index.md](index.md).
9. **sound — verified recon before lock** — ✅ verified 2026-07-22,
[007](blueprints/007-add-sound.md).
10. **skills-consistency hardening — the review's remainder** — the
2026-07-24 skills review (`~/skills-review-2026-07-24.md`, outside
the repo) left F5 (the loop-spine string hand-copied), F6 (two
user-invoked skills carrying model-invoked trigger lists), F7
(`grill-with-docs`, no `## ` sections) and F8 (two heading dialects)
untriaged, plus F11 ruled in `CONTEXT.md` but never swept.
**Verify:** each of F5–F8 reaches a recorded ruling — a blueprint, a
decision, or NO with its reason — and `grep -rn '\bADR\b' skills/
OKF/` returns only the trigger-alias uses `CONTEXT.md` preserves.
11. **the loop's shape stops being a hand-copied string** — ✅ verified
2026-07-30, [019](blueprints/019-add-a-render-lint-over-the-loop-shape.md).
## Risks & gotchas
- **A self-firing skill fires when nobody asked.** Believed: every loop
skill must be user-invoked. True: that holds for orchestrators and
rituals, which interrupt a person mid-ritual; recon only reads, so
[019](decisions/019-recon-may-self-fire.md) carves it out. The risk
moves to sound's triggers — vague ones make it fire on every question.
- **A rule bound to pressure that never arrives is not enforced.**
Believed: [020](decisions/020-every-page-has-a-growth-path.md)'s prune
keeps this page a plan. True: the prune triggers at cap+1, and the page
sat at 83 of 110 — so phase 9 kept a 20-line body while R-013, R-020
and R-021 each required one line. The trigger belongs on `✅ verified`;
still unvalidated, and owed a lint.
- **A live decision can be contradicted by the skill that owns the file,
and by the validator that checks it.** Believed: `R-020`'s prune-to-one-
line settles what a discharged phase keeps. True: it does, but
[architect](../skills/loop/architect/SKILL.md) still tells its own
revision loop to keep the verify line and mark the tick *on* it
(`SKILL.md:36`, `:54`, `revise.md:15`); and `okf-check:245` skips
`blueprints`/`ferries` before its cite loop, so no blueprint's cites
are checked at all. Neither drift had anything to catch it. Source:
sounding B-019, 2026-07-30.
## Out of scope
- Issue-tracker backends (GitHub/GitLab) for blueprints — files only.
- OpenWiki CLI dependency — import-compat at most.
- Full auto-generated API reference (every symbol) — the derived zone
carries the public seam a caller needs, nothing more.
- Diagram generation and mermaid validation — deepwiki-skill territory.
- Scheduled/CI wiki regeneration (OpenWiki's GitHub Action) — refresh
stays human-invoked.
- Renaming grandfathered non-verb skills.
- Matt's writing-* / teach / wizard / obsidian skill families.