docs(repo): regenerate skill tables; document the metaharness loop

- docs(readme): loop section completed (blueprint, ferry, implement, steer); four review axes
- docs(claude): loop summary and OKF pointers up top
- docs(okf): roadmap phases 2-5 marked verified; phase-5 count superseded 8 -> 11
This commit is contained in:
Łukasz Boryń 2026-07-19 23:30:12 +02:00
parent 3481fbdbd2
commit 559b95deee
3 changed files with 39 additions and 8 deletions

View File

@ -4,6 +4,13 @@ Behavioral guidelines to reduce common LLM coding mistakes, plus repo-local
conventions for editing octobot itself. Merge with project-specific 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
(open-knowledge-format) wiki: `scribe-OKF → architect → blueprint →
ferry → implement → review+verify → jj-atomic`. This repo dogfoods it —
knowledge in [`OKF/`](OKF/INDEX.md), agent directions in
[`AGENTS.md`](AGENTS.md), skill index in
[`skills/loop/steer/`](skills/loop/steer/SKILL.md).
**Tradeoff:** These guidelines bias toward caution over speed. For trivial **Tradeoff:** These guidelines bias toward caution over speed. For trivial
tasks, use judgment. tasks, use judgment.

View File

@ -42,20 +42,26 @@ See [ARCHITECTURE.md](ARCHITECTURE.md); loop diagram in `README.md`.
2. **blueprint + review-blueprint** — spec skill with spec-format.md; 2. **blueprint + review-blueprint** — spec skill with spec-format.md;
fourth review axis (diff vs spec). **Verify:** blueprint a real fourth review axis (diff vs spec). **Verify:** blueprint a real
roadmap item into a well-formed spec; review-blueprint flags an roadmap item into a well-formed spec; review-blueprint flags an
injected scope-creep diff. injected scope-creep diff. ✅ verified 2026-07-19 (spec 001 drafted;
scratch fixture: CONTAINED ✗ on planted logging + stray function).
3. **ferry + implement** — decision maps; spec-driven execution with the 3. **ferry + implement** — decision maps; spec-driven execution with the
verify gate and handoff-gated subagent dispatch. **Verify:** ferry a verify gate and handoff-gated subagent dispatch. **Verify:** ferry a
multi-session feature into ≥3 edged decisions; implement one locked multi-session feature into ≥3 edged decisions; implement one locked
spec end-to-end with pasted Verify output. spec end-to-end with pasted Verify output. ✅ verified 2026-07-19
(ferry-python-siblings D-1..D-3; scratch implement run, Verify "OK").
4. **Upstream pulls** — tautological-test + pre-agreed seams into bdd; 4. **Upstream pulls** — tautological-test + pre-agreed seams into bdd;
handoff redaction/reference rules; resolve-conflicts (jj port). handoff redaction/reference rules; resolve-conflicts (jj port).
**Verify:** resolve-conflicts replayed on a synthetic two-sided **Verify:** resolve-conflicts replayed on a synthetic two-sided
conflict; house caps hold. 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 5. **Invocation audit + steer** — disable-model-invocation on
orchestrators/rituals; steer router; conjure imperative-verb orchestrators/rituals; steer router; conjure imperative-verb
enforcement; README regen. **Verify:** fresh session lists only the 8 enforcement; README regen. **Verify:** fresh session lists only the
model-invoked descriptions; steer names every skill; conjure rejects ~~8~~ 11 model-invoked descriptions (superseded: cavecrew-octobot,
a noun-first name. review-blueprint, resolve-conflicts 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).
## Risks & gotchas ## Risks & gotchas

View File

@ -56,11 +56,23 @@ scribe-OKF → architect → blueprint → ferry → implement → review+verify
every agent reads `OKF/INDEX.md` before code. every agent reads `OKF/INDEX.md` before code.
- **architect** — plan a project or revise its plan (`OKF/ROADMAP.md`); - **architect** — plan a project or revise its plan (`OKF/ROADMAP.md`);
greenfield and revision modes (replaces plan-project + update-project). greenfield and revision modes (replaces plan-project + update-project).
- **blueprint** — synthesize discussed work into a justified, verifiable
spec at `OKF/specs/NNN-<slug>.md` (status: draft → locked → implemented).
- **ferry** — work too big for one session becomes a directory of small,
edge-declared decision files; resolve one per sitting.
- **implement** — execute one locked spec: bdd at its seams, four-axis
review, run its Verify with pasted output, seal citing the spec.
- **steer** — router over every skill; most are user-invoked, steer is
the index.
All loop skills are user-invoked (`disable-model-invocation: true`).
### productivity ### productivity
- **conjure-a-skill** — meta-skill that scaffolds new skills consistently. - **conjure-a-skill** — meta-skill that scaffolds new skills consistently.
- **handoff** — produce a structured handoff doc for a fresh session. - **handoff** — produce a structured handoff doc for a fresh session.
- **grill-me** — Socratic loop to remove ambiguity before implementing. - **grill-me** — Socratic loop to remove ambiguity before implementing.
- **resolve-conflicts** — jj conflict discipline: topology first, both
intents preserved, headless-safe squash.
- **caveman** — terse-mode: no preamble, no summaries, code + one-line why. - **caveman** — terse-mode: no preamble, no summaries, code + one-line why.
- **cavecrew-octobot** — how to invoke the plugin `caveman:cavecrew-*` agents - **cavecrew-octobot** — how to invoke the plugin `caveman:cavecrew-*` agents
(investigator / builder / reviewer) without the agent-type error; octobot (investigator / builder / reviewer) without the agent-type error; octobot
@ -78,6 +90,8 @@ scribe-OKF → architect → blueprint → ferry → implement → review+verify
locks, readiness surfaces — the failures a green unit suite misses. locks, readiness surfaces — the failures a green unit suite misses.
- **review-angles** — recall-biased correctness checklist for the post-green - **review-angles** — recall-biased correctness checklist for the post-green
review pass (stale refs, TOCTOU, ordering state, durability, invalidation). review pass (stale refs, TOCTOU, ordering state, durability, invalidation).
- **review-blueprint** — the spec-fidelity axis: diff vs `OKF/specs/NNN` —
complete, contained, verified (output pasted). implement's done-gate.
- **nuke-review** — exceptionally strict structural-quality review for code - **nuke-review** — exceptionally strict structural-quality review for code
judo moves; ported from cursor/plugins thermo-nuclear-code-quality-review. judo moves; ported from cursor/plugins thermo-nuclear-code-quality-review.
Pairs with `review-angles` (correctness) and `winnow` (debloat) as the Pairs with `review-angles` (correctness) and `winnow` (debloat) as the
@ -101,6 +115,8 @@ scribe-OKF → architect → blueprint → ferry → implement → review+verify
lint → typecheck → test → commit). Explicit trigger only. lint → typecheck → test → commit). Explicit trigger only.
- **dev-r** — orchestrate the full R workflow; auto-detects package - **dev-r** — orchestrate the full R workflow; auto-detects package
(`DESCRIPTION`) vs analysis (`_targets.R`). (`DESCRIPTION`) vs analysis (`_targets.R`).
- **write-readme** — generate `README.md` for any project via ecosystem
detection (python / R / node / rust / generic).
- **write-readme-py** — generate `README.md` from `pyproject.toml` + - **write-readme-py** — generate `README.md` from `pyproject.toml` +
`justfile`. `justfile`.
- **add-copilot-project-skill** — scaffold a project-specific skill set for - **add-copilot-project-skill** — scaffold a project-specific skill set for
@ -141,13 +157,15 @@ script — read the relevant SKILL.md as you enter each step.
- **Bug hunt** — `/diagnose` (six phases; hands to `/bdd` at phase 5 for the - **Bug hunt** — `/diagnose` (six phases; hands to `/bdd` at phase 5 for the
regression test) → post-green review → `/jj-atomic`. regression test) → post-green review → `/jj-atomic`.
### Post-green review (the three axes) ### Post-green review (the four axes)
- `/review-angles` — correctness / robustness (stale refs, TOCTOU, ordering, - `/review-angles` — correctness / robustness (stale refs, TOCTOU, ordering,
durability). Run *first* — these are the silent killers. durability). Run *first* — these are the silent killers.
- `/nuke-review` — structural quality / code judo. Pushes for code that - `/nuke-review` — structural quality / code judo. Pushes for code that
*deletes* moving pieces, not rearranges them. User-invoked. *deletes* moving pieces, not rearranges them. User-invoked.
- `/winnow` — mechanical debloat with a `net: −N lines` scoreboard. - `/winnow` — mechanical debloat with a `net: −N lines` scoreboard.
- Spawn any of the three as a sub-agent via `/cavecrew-octobot` - `/review-blueprint` — spec fidelity: everything asked, nothing beyond,
Verify output pasted.
- Spawn any axis as a sub-agent via `/cavecrew-octobot`
(the `caveman:cavecrew-reviewer` invocation cheatsheet). (the `caveman:cavecrew-reviewer` invocation cheatsheet).
### Architecture & vocabulary ### Architecture & vocabulary