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:
parent
3481fbdbd2
commit
559b95deee
@ -4,6 +4,13 @@ Behavioral guidelines to reduce common LLM coding mistakes, plus repo-local
|
||||
conventions for editing octobot itself. Merge with project-specific
|
||||
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
|
||||
tasks, use judgment.
|
||||
|
||||
|
||||
@ -42,20 +42,26 @@ See [ARCHITECTURE.md](ARCHITECTURE.md); loop diagram in `README.md`.
|
||||
2. **blueprint + review-blueprint** — spec skill with spec-format.md;
|
||||
fourth review axis (diff vs spec). **Verify:** blueprint a real
|
||||
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
|
||||
verify gate and handoff-gated subagent dispatch. **Verify:** ferry a
|
||||
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;
|
||||
handoff redaction/reference rules; resolve-conflicts (jj port).
|
||||
**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
|
||||
orchestrators/rituals; steer router; conjure imperative-verb
|
||||
enforcement; README regen. **Verify:** fresh session lists only the 8
|
||||
model-invoked descriptions; steer names every skill; conjure rejects
|
||||
a noun-first name.
|
||||
enforcement; README regen. **Verify:** fresh session lists only the
|
||||
~~8~~ 11 model-invoked descriptions (superseded: cavecrew-octobot,
|
||||
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
|
||||
|
||||
|
||||
22
README.md
22
README.md
@ -56,11 +56,23 @@ scribe-OKF → architect → blueprint → ferry → implement → review+verify
|
||||
every agent reads `OKF/INDEX.md` before code.
|
||||
- **architect** — plan a project or revise its plan (`OKF/ROADMAP.md`);
|
||||
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
|
||||
- **conjure-a-skill** — meta-skill that scaffolds new skills consistently.
|
||||
- **handoff** — produce a structured handoff doc for a fresh session.
|
||||
- **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.
|
||||
- **cavecrew-octobot** — how to invoke the plugin `caveman:cavecrew-*` agents
|
||||
(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.
|
||||
- **review-angles** — recall-biased correctness checklist for the post-green
|
||||
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
|
||||
judo moves; ported from cursor/plugins thermo-nuclear-code-quality-review.
|
||||
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.
|
||||
- **dev-r** — orchestrate the full R workflow; auto-detects package
|
||||
(`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` +
|
||||
`justfile`.
|
||||
- **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
|
||||
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,
|
||||
durability). Run *first* — these are the silent killers.
|
||||
- `/nuke-review` — structural quality / code judo. Pushes for code that
|
||||
*deletes* moving pieces, not rearranges them. User-invoked.
|
||||
- `/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).
|
||||
|
||||
### Architecture & vocabulary
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user