octobot/OKF/ROADMAP.md
Lukasz Boryn 0d07011d71 docs(okf): close blueprint 002 — flip status, tick phase 7
- docs(okf): mark 002 implemented in its frontmatter and the index line
- docs(okf): tick the register half of phase 7 with its verified date
- docs(okf): record that a page-cap plan must price the frontmatter it
  mandates — the warrant cost ROADMAP more than the blueprint budgeted
- docs(model-domain): forbid an em-dash inside a register question, since
  it is the index line delimiter

implements blueprint 002
2026-07-21 23:05:34 +02:00

110 lines
5.6 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
(write-OKF → architect → blueprint → ferry → weave) 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
16 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); loop diagram in `README.md`.
## Phases
1. **OKF foundation** — write-OKF, architect, path retargets, octobot's
own OKF. **Verify:** scaffold produces layout-conformant tree in an
empty dir; refresh on octobot yields sane OKF/; zero stale
plan-project/update-project refs. ✅ verified 2026-07-19 (scratch-dir
scaffold + this OKF + grep).
2. **blueprint + review-blueprint** — blueprint skill with blueprint-format.md;
fourth review axis (diff vs blueprint). **Verify:** blueprint a real
roadmap item into a well-formed blueprint; review-blueprint flags an
injected scope-creep diff. ✅ verified 2026-07-19 (blueprint 001 drafted;
scratch fixture: CONTAINED ✗ on planted logging + stray function).
3. **ferry + weave** — decision maps; blueprint-driven execution with the
verify gate and handoff-gated subagent dispatch. **Verify:** ferry a
multi-session feature into ≥3 edged decisions; implement one locked
blueprint end-to-end with pasted Verify output. ✅ verified 2026-07-19
(ferries/python-siblings D-1..D-3; scratch weave run, Verify "OK").
4. **Upstream pulls** — tautological-test + pre-agreed seams into bdd;
handoff redaction/reference rules; resolve-conflicts-jj (jj port).
**Verify:** resolve-conflicts-jj replayed on a synthetic two-sided
conflict; house caps hold. ✅ verified 2026-07-19 (rc-test replay,
both intents merged, chain clean; bdd at 110).
5. **Invocation audit + steer** — disable-model-invocation on
orchestrators/rituals; steer router; conjure imperative-verb
enforcement; README regen. **Verify:** fresh session lists only the
~~8~~ 11 model-invoked descriptions (superseded: spawn-cavecrew,
review-blueprint, resolve-conflicts-jj must fire from natural phrasing);
steer names every skill; conjure rejects a noun-first name.
✅ verified 2026-07-19 (16 flagged / 11 model-invoked by grep; steer
table covers all 34; conjure gather+review reject noun-first).
6. **Adaptive taxonomy + page warrants** — write-OKF gains a taxonomy
scan (scan → propose page plan → user locks it into `index.md`), the
warrant frontmatter contract, `okf:derived` two-zone fences, and drift
reporting on refresh. New siblings `taxonomy-scan.md` and
`page-warrant.md`; `okf-layout.md` gains `modules/` and `analyses/` as
*proposable*, never mandatory, directories. **Verify:** scaffold
against two fixtures — an analysis repo (`analysis/` dirs, no plotting
module) and a plain library repo — yields two different non-empty page
plans with zero empty ceremonial pages; `grep -rL "^purpose:"` over
`OKF/**.md` returns only `index.md`; after moving a cited symbol,
refresh reports DRIFT and leaves every judgement zone byte-identical.
7. **Why-register + ferry collapse** — create `OKF/decisions/` (indexed
by question, warrant frontmatter); migrate decisions 1–15 in, retire
empty `adr/`, shed debunked claims to LEARNINGS.md. moor gains the
graduation and collapse steps with the `sealed:` pin; refresh resolves
pins. **Verify:** ROADMAP ≤110 lines and every decision reachable from
`decisions/index.md`; `grep -rL "^type:" OKF/` still returns only
`index.md`; moor a fixture ferry → directory becomes one page,
decisions numbered, `jj show <change>` resolves; corrupt the pin →
refresh reports DRIFT. Ships in two blueprints — register first, ferry
collapse second (graduation needs the register to exist). Both close
on `okf-check` exiting 0 with output pasted. Register ✅ verified
2026-07-21 (blueprint 002; okf-check clean, ROADMAP under the cap).
**Execution order: 7 → 6.** Phase 7 is small, closes the cap breach now,
and makes octobot's own OKF *run* the register before phase 6 freezes it
into a contract for other repos. Numbers stay as issued — append-only.
## Risks & gotchas
- Open, for phase 6's blueprint: `cites:` pinned at `path:line` churns on
every refactor — the staleness detector is also the maintenance bill.
Candidate mitigation `path:symbol` where the language allows.
## 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.