Prior-art scan (OpenWiki, DeepWiki, deepwiki-skill) found a convergent pattern octobot lacks: a declared, human-editable page plan that generation must conform to. Without one, write-OKF has no legal home for module reference, how-to, or analysis pages, so they land as loose files in the OKF root. Locks decisions 7-16 and adds phases 6 and 7: - Page taxonomy is derived per repo, never fixed - an analysis repo keeps analyses in directories and may have no plotting module, a library has neither, and a hard-coded layout yields empty ceremonial pages. - Every page carries a warrant (purpose / answers[] / cites[]) after type. A page that answers no question, or one another page owns, is inadmissible; the same field doubles as the routing index. - index.md is the locked page plan; a separate TOC file would duplicate its existing job. - Module and analysis pages are two-zone, so a scan cannot launder hand-written judgement. - One why-register at OKF/decisions/, absorbing the roadmap's locked decisions and the empty adr/ directory. Zero ADRs in the project's life is evidence the three-of-three rule was unusable where it sat. - Ferry decisions graduate at moor and the ferry directory collapses to a single page, pinned by sealed: to the parent commit where the deliberation still exists. The OKF is not the archive of record. - One okf-check validator, built to the doctrine already written in add-copilot-project-skill/project-validator.md. write-OKF and moor gate on its pasted output, making the done-gate a run rather than a claim. ROADMAP is over the 110-line cap until phase 7 lands; closing it is that phase's first verify clause. Execution order is 7 then 6 - run the register on octobot itself before freezing it into a contract for other repos. Phase 7 ships as two blueprints because ferry graduation depends on the register already existing. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
10 KiB
type
| type |
|---|
| Roadmap |
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.
Why (gap vs prior art)
| repo | has | lacks |
|---|---|---|
| mattpocock/skills | blueprint/ticket pipeline, tracker-backed | file-based substrate, jj, R/Py ecosystem, debloat/review axes |
| obra/superpowers | subagent execution, verification gate | persistent wiki memory, ecosystem scaffolds |
| octobot pre-2026-07 | review axes, scaffolds, jj discipline | plan→blueprint→weave spine, knowledge substrate |
| langchain-ai/openwiki | OKF v0.1 emitter, CI auto-refresh, doc Q&A | durable-synthesis caps, human-locked page plan, loop wiring |
| Cognition DeepWiki | declared page plan (.devin/wiki.json), page hierarchy |
local/file-based, OKF conformance, warrant checks |
| natsu1211/deepwiki-skill | TOC-first generation, line-level cites, --update |
taxonomy adapted per repo shape, judgement/derived split |
Sources: https://github.com/langchain-ai/openwiki, https://docs.devin.ai/work-with-devin/deepwiki, https://github.com/natsu1211/deepwiki-skill (scanned 2026-07-21).
Octobot's slot: file-based loop over OKF (open-knowledge-format), jj-native.
Locked decisions
- OKF = open-knowledge-format at target project's
./OKF/— reversible (it's files). Karpathy-LLM-wiki style; OpenWiki-inspired, dependency-free. - architect replaces plan-project + update-project (mode-routed) — reversible by re-splitting.
- Blueprints are files with status frontmatter, not tracker issues — the "tracker" is grep. Reversible via export.
- One canonical glossary per bounded context, never per issue.
- Handoff gate: no mutating subagent without a brief (goal, OKF/blueprint refs, verify command); read-only lookups exempt.
- New skill names: imperative-verb-first; legacy names grandfathered.
- Page taxonomy is derived per repo, never fixed — write-OKF scans disk, proposes a page plan, user locks it. A fixed layout yields empty ceremonial pages: analysis repos keep analyses in directories and may have no plotting module; libraries have neither. Reversible — collapse to a fixed list in okf-layout.md.
- Every page carries a warrant after
type:purpose,answers[],cites[]. Zeroanswers, or answers another page owns → inadmissible; unresolvedcites→ drift. Doubles as routing index (grep -r "answers:" OKF/). Reversible — OKF v0.1 permits producer-defined fields aftertype. index.mdis the locked page plan; no TOC file, which would duplicate index.md's job. Absent from index.md → inadmissible. Reversible by extracting TOC.md.- Module and analysis pages are two-zone:
<!-- okf:derived -->fences the scan-regenerated seam, everything outside is judgement — append/supersede only, never scan-edited. Reversible — drop fences, fall back to the existing whole-page supersede rule. - Code-reference layer stays inside write-OKF as siblings
(
taxonomy-scan.md,page-warrant.md), not a new skill — one trigger, one mental model. Reversible by extraction if the router breaches the house cap. - One why-register:
OKF/decisions/NNN-<slug>.md, indexed by the question each settles. Absorbs this section andadr/(empty at absorption — zero migration cost, and evidence three-of-three was unusable); the warrant replaces the three-of-three rule. Reversible by re-splitting. - ROADMAP is a plan, not an archive — decisions move to the register, debunked claims to LEARNINGS.md (which already duplicates them by instruction), §Risks keeps only forward-looking risk.
- Ferry decisions graduate at moor into the register; MAP.md keeps a pointer, never a copy.
- Moor collapses
ferries/<topic>/intoferries/<topic>.md— problem shape, rejected alternatives, decision pointers. Directory means open, file means moored, solsanswers what's in flight. Deliberation stays recoverable viasealed:(jj change id + git hash + date) pinned to the parent (@-at moor) — the sealing commit cannot name itself, and the parent is where the D-n files still exist. Unresolvable pin = drift. Reversible: OKF is not the archive of record, history is. - One
okf-checkvalidator atwrite-OKF/scripts/, built to the existing doctrine in add-copilot-project-skill/project-validator.md; write-OKF and moor both gate on its pasted output, so the done-gate is a run, not a claim. Per that doctrine it must pass clean on octobot today — over-cap pages are a warning until phase 7, never an error. Reversible by inlining the checks as prose.
Architecture
See ARCHITECTURE.md; loop diagram in README.md.
Phases
- 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).
- 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).
- 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").
- 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).
- Invocation audit + steer — disable-model-invocation on
orchestrators/rituals; steer router; conjure imperative-verb
enforcement; README regen. Verify: fresh session lists only the
811 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). - 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:derivedtwo-zone fences, and drift reporting on refresh. New siblingstaxonomy-scan.mdandpage-warrant.md;okf-layout.mdgainsmodules/andanalyses/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:"overOKF/**.mdreturns onlyindex.md; after moving a cited symbol, refresh reports DRIFT and leaves every judgement zone byte-identical. - Why-register + ferry collapse — create
OKF/decisions/(indexed by question, warrant frontmatter); migrate decisions 1–15 in, retire emptyadr/, shed debunked claims to LEARNINGS.md. moor gains the graduation and collapse steps with thesealed:pin; refresh resolves pins. Verify: ROADMAP ≤110 lines and every decision reachable fromdecisions/index.md;grep -rL "^type:" OKF/still returns onlyindex.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 onokf-checkexiting 0 with output pasted.
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.
ROADMAP is over the 110-line cap until phase 7 lands. Tracked, not ignored — closing it is that phase's first verify clause.
Risks & gotchas
- Believed: skills can cross-invoke via description matching. True: cross-links are file paths, so disable-model-invocation is safe for linked skills; only description routing dies. Source: Claude Code skill mechanics, README §Install.
- Trigger collisions with co-installed plugins (superpowers, caveman) — the invocation audit (phase 5) is the mitigation.
jjmutations backgrounded hang on the headless editor — always foreground, use-m/--use-destination-message(LEARNINGS.md).- Believed: OKF was an octobot coinage. True: OKF v0.1 is also what OpenWiki emits, so import-compat is nearly free — but its output model (hundreds of generated files, CI-refreshed) is opposite pressure to OKF's ≤110-line durable synthesis. Source: langchain-ai/openwiki.
- Declared page plans are convergent prior art, not invention — DeepWiki
pages[]{title, purpose, parent}and deepwiki-skill'stoc.yaml. Decision 9 is the same move minus a config format. - Open, for phase 6's blueprint:
cites:pinned atpath:linechurns on every refactor — the staleness detector is also the maintenance bill. Candidate mitigationpath:symbolwhere 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.