refactor(okf): move specs/ to blueprints/ and ferries/; supersede spec term
refactor(okf): OKF/specs/ becomes flat OKF/blueprints/ (NNN files only); ferry dirs move to OKF/ferries/<topic>/ so numbering and status greps need no exclusions docs(okf): INDEX.md gains Blueprints (NNN — title — status) and Ferries (<topic> — n/m resolved → MAP.md) sections; decisions stay in MAP.md only docs(okf): CONTEXT.md supersedes spec with blueprint and records the Contract section; loop pages updated for renamed skills
This commit is contained in:
parent
559b95deee
commit
4a112e864d
@ -5,15 +5,15 @@
|
|||||||
One module per skill category; the interface of each skill is its
|
One module per skill category; the interface of each skill is its
|
||||||
frontmatter `description` (routing) plus its SKILL.md body (procedure).
|
frontmatter `description` (routing) plus its SKILL.md body (procedure).
|
||||||
|
|
||||||
- **loop** (`skills/loop/`) — the metaharness spine: scribe-OKF
|
- **loop** (`skills/loop/`) — the metaharness spine: write-OKF
|
||||||
(knowledge), architect (plan). Blueprint, ferry, implement, steer land
|
(knowledge), architect (plan). Blueprint, ferry, weave, steer land
|
||||||
per [ROADMAP.md](ROADMAP.md).
|
per [ROADMAP.md](ROADMAP.md).
|
||||||
- **engineering** (`skills/engineering/`) — practice skills: bdd,
|
- **engineering** (`skills/engineering/`) — practice skills: bdd,
|
||||||
diagnose, review axes (review-angles, nuke-review, winnow), sieve,
|
diagnose, review axes (review-angles, nuke-review, winnow), sieve,
|
||||||
vocabulary (codebase-design, domain-modeling), r-style, dev-* runners,
|
vocabulary (design-codebase, model-domain), style-r, dev-* runners,
|
||||||
write-readme*.
|
write-readme*.
|
||||||
- **productivity** (`skills/productivity/`) — session mechanics:
|
- **productivity** (`skills/productivity/`) — session mechanics:
|
||||||
jj-atomic, handoff, grill-me, caveman, cavecrew-octobot,
|
commit-atomic-jj, handoff, grill-me, caveman, spawn-cavecrew,
|
||||||
conjure-a-skill.
|
conjure-a-skill.
|
||||||
- **scaffold** (`skills/scaffold/`) — project generators: build-py-project,
|
- **scaffold** (`skills/scaffold/`) — project generators: build-py-project,
|
||||||
build-r-package, build-r-analysis, containerize-project,
|
build-r-package, build-r-analysis, containerize-project,
|
||||||
@ -21,8 +21,8 @@ frontmatter `description` (routing) plus its SKILL.md body (procedure).
|
|||||||
|
|
||||||
## Main flows
|
## Main flows
|
||||||
|
|
||||||
1. **The loop** — scribe-OKF → architect → blueprint → ferry → implement
|
1. **The loop** — write-OKF → architect → blueprint → ferry → weave
|
||||||
→ review+verify → jj-atomic; OKF refreshed after implement
|
→ review+verify → commit-atomic-jj; OKF refreshed after weave
|
||||||
(`skills/loop/`, diagram in `README.md`).
|
(`skills/loop/`, diagram in `README.md`).
|
||||||
2. **Skill discovery** — Claude Code scans `~/.claude/skills/` one level
|
2. **Skill discovery** — Claude Code scans `~/.claude/skills/` one level
|
||||||
deep; per-skill symlinks point into `skills/<category>/<name>/`
|
deep; per-skill symlinks point into `skills/<category>/<name>/`
|
||||||
|
|||||||
@ -12,28 +12,31 @@ One folder under `skills/<category>/<name>/` with a SKILL.md router and
|
|||||||
optional topic-named siblings. _Avoid_: command, plugin, prompt.
|
optional topic-named siblings. _Avoid_: command, plugin, prompt.
|
||||||
|
|
||||||
**The loop**:
|
**The loop**:
|
||||||
The metaharness cycle scribe-OKF → architect → blueprint → ferry →
|
The metaharness cycle write-OKF → architect → blueprint → ferry →
|
||||||
implement → review+verify → jj-atomic. _Avoid_: pipeline, workflow (those
|
weave → review+verify → commit-atomic-jj. _Avoid_: pipeline, workflow (those
|
||||||
describe the dev-* orchestrators).
|
describe the develop-* orchestrators).
|
||||||
|
|
||||||
**OKF**:
|
**OKF**:
|
||||||
Open-knowledge-format — the agent-first wiki at a target project's
|
Open-knowledge-format — the agent-first wiki at a target project's
|
||||||
`./OKF/`; layout contract in
|
`./OKF/`; layout contract in
|
||||||
[scribe-OKF/okf-layout.md](../skills/loop/scribe-OKF/okf-layout.md).
|
[write-OKF/okf-layout.md](../skills/loop/write-OKF/okf-layout.md).
|
||||||
_Avoid_: docs folder, wiki (unqualified), knowledge base.
|
_Avoid_: docs folder, wiki (unqualified), knowledge base.
|
||||||
|
|
||||||
**Spec**:
|
**Blueprint**:
|
||||||
A blueprint-produced file `OKF/specs/NNN-<slug>.md` with status
|
A blueprint-skill-produced file `OKF/blueprints/NNN-<slug>.md` with
|
||||||
frontmatter; the unit implement executes. _Avoid_: ticket, issue, task.
|
status frontmatter; the unit weave executes. Its `## Contract` section
|
||||||
|
states what the change must satisfy. _Avoid_: spec (superseded term —
|
||||||
|
renamed for skill↔artifact consistency), ticket, issue, task.
|
||||||
|
|
||||||
**Brief**:
|
**Brief**:
|
||||||
The written contract a mutating subagent receives before spawning —
|
The written contract a mutating subagent receives before spawning —
|
||||||
goal, OKF/spec references, verify command. A locked spec can serve as
|
goal, OKF/blueprint references, verify command. A locked blueprint can serve as
|
||||||
the brief. _Avoid_: prompt (ambiguous).
|
the brief. _Avoid_: prompt (ambiguous).
|
||||||
|
|
||||||
**Seal**:
|
**Seal**:
|
||||||
The jj-atomic describe step where scratch becomes artifact; the sieve
|
The commit-atomic-jj describe step where scratch becomes artifact; the sieve
|
||||||
fires here. _Avoid_: commit (mechanics), merge.
|
fires here. _Avoid_: commit (mechanics), merge.
|
||||||
|
|
||||||
**House cap**:
|
**House cap**:
|
||||||
110 lines per skill file (GLOSSARY.md excepted). _Avoid_: limit, budget.
|
110 lines per SKILL.md; topic-named siblings load on demand and carry
|
||||||
|
no hard cap. _Avoid_: limit, budget.
|
||||||
|
|||||||
11
OKF/INDEX.md
11
OKF/INDEX.md
@ -14,9 +14,12 @@ your task needs. Humans welcome too.
|
|||||||
## Decisions
|
## Decisions
|
||||||
|
|
||||||
- `adr/` — none yet; three-of-three rule applies (see
|
- `adr/` — none yet; three-of-three rule applies (see
|
||||||
[domain-modeling](../skills/engineering/domain-modeling/ADR-FORMAT.md)).
|
[model-domain](../skills/engineering/model-domain/ADR-FORMAT.md)).
|
||||||
|
|
||||||
## Specs
|
## Blueprints
|
||||||
|
|
||||||
- [001](specs/001-add-write-readme-r.md) — add write-readme-r skill — draft
|
- [001](blueprints/001-add-write-readme-r.md) — add write-readme-r skill — draft
|
||||||
- [ferry-python-siblings](specs/ferry-python-siblings/MAP.md) — Python siblings for bdd/diagnose — 3 open decisions
|
|
||||||
|
## Ferries
|
||||||
|
|
||||||
|
- [python-siblings](ferries/python-siblings/MAP.md) — Python siblings for bdd/diagnose — 0/3 resolved
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
True: without `-m` / `--use-destination-message` they open an editor
|
True: without `-m` / `--use-destination-message` they open an editor
|
||||||
and hang headless sessions; backgrounded jj mutations race the
|
and hang headless sessions; backgrounded jj mutations race the
|
||||||
working-copy snapshot. Source:
|
working-copy snapshot. Source:
|
||||||
`skills/productivity/jj-atomic/anti-patterns.md`, session 2026-07-19.
|
`skills/productivity/commit-atomic-jj/anti-patterns.md`, session 2026-07-19.
|
||||||
- Believed: Claude Code scans `~/.claude/skills/` recursively.
|
- Believed: Claude Code scans `~/.claude/skills/` recursively.
|
||||||
True: one level deep only — hence per-skill symlinks, not one repo
|
True: one level deep only — hence per-skill symlinks, not one repo
|
||||||
symlink. Source: `README.md` §Install.
|
symlink. Source: `README.md` §Install.
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# octobot Roadmap
|
# octobot Roadmap
|
||||||
|
|
||||||
Octobot becomes a loop-engineering metaharness: the loop
|
Octobot becomes a loop-engineering metaharness: the loop
|
||||||
(scribe-OKF → architect → blueprint → ferry → implement) over an OKF
|
(write-OKF → architect → blueprint → ferry → weave) over an OKF
|
||||||
substrate, alongside the existing practice/scaffold skills. Vocabulary:
|
substrate, alongside the existing practice/scaffold skills. Vocabulary:
|
||||||
[CONTEXT.md](CONTEXT.md).
|
[CONTEXT.md](CONTEXT.md).
|
||||||
|
|
||||||
@ -9,9 +9,9 @@ substrate, alongside the existing practice/scaffold skills. Vocabulary:
|
|||||||
|
|
||||||
| repo | has | lacks |
|
| repo | has | lacks |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| mattpocock/skills | spec/ticket pipeline, tracker-backed | file-based substrate, jj, R/Py ecosystem, debloat/review axes |
|
| 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 |
|
| obra/superpowers | subagent execution, verification gate | persistent wiki memory, ecosystem scaffolds |
|
||||||
| octobot pre-2026-07 | review axes, scaffolds, jj discipline | plan→spec→implement spine, knowledge substrate |
|
| octobot pre-2026-07 | review axes, scaffolds, jj discipline | plan→blueprint→weave spine, knowledge substrate |
|
||||||
|
|
||||||
Octobot's slot: file-based loop over OKF (open-knowledge-format), jj-native.
|
Octobot's slot: file-based loop over OKF (open-knowledge-format), jj-native.
|
||||||
|
|
||||||
@ -21,10 +21,10 @@ Octobot's slot: file-based loop over OKF (open-knowledge-format), jj-native.
|
|||||||
(it's files). Karpathy-LLM-wiki style; OpenWiki-inspired, dependency-free.
|
(it's files). Karpathy-LLM-wiki style; OpenWiki-inspired, dependency-free.
|
||||||
2. architect replaces plan-project + update-project (mode-routed) —
|
2. architect replaces plan-project + update-project (mode-routed) —
|
||||||
reversible by re-splitting.
|
reversible by re-splitting.
|
||||||
3. Specs are files with status frontmatter, not tracker issues — the
|
3. Blueprints are files with status frontmatter, not tracker issues — the
|
||||||
"tracker" is grep. Reversible via export.
|
"tracker" is grep. Reversible via export.
|
||||||
4. One canonical glossary per bounded context, never per issue.
|
4. One canonical glossary per bounded context, never per issue.
|
||||||
5. Handoff gate: no mutating subagent without a brief (goal, OKF/spec
|
5. Handoff gate: no mutating subagent without a brief (goal, OKF/blueprint
|
||||||
refs, verify command); read-only lookups exempt.
|
refs, verify command); read-only lookups exempt.
|
||||||
6. New skill names: imperative-verb-first; legacy names grandfathered.
|
6. New skill names: imperative-verb-first; legacy names grandfathered.
|
||||||
|
|
||||||
@ -34,21 +34,21 @@ See [ARCHITECTURE.md](ARCHITECTURE.md); loop diagram in `README.md`.
|
|||||||
|
|
||||||
## Phases
|
## Phases
|
||||||
|
|
||||||
1. **OKF foundation** — scribe-OKF, architect, path retargets, octobot's
|
1. **OKF foundation** — write-OKF, architect, path retargets, octobot's
|
||||||
own OKF. **Verify:** scaffold produces layout-conformant tree in an
|
own OKF. **Verify:** scaffold produces layout-conformant tree in an
|
||||||
empty dir; refresh on octobot yields sane OKF/; zero stale
|
empty dir; refresh on octobot yields sane OKF/; zero stale
|
||||||
plan-project/update-project refs. ✅ verified 2026-07-19 (scratch-dir
|
plan-project/update-project refs. ✅ verified 2026-07-19 (scratch-dir
|
||||||
scaffold + this OKF + grep).
|
scaffold + this OKF + grep).
|
||||||
2. **blueprint + review-blueprint** — spec skill with spec-format.md;
|
2. **blueprint + review-blueprint** — blueprint skill with blueprint-format.md;
|
||||||
fourth review axis (diff vs spec). **Verify:** blueprint a real
|
fourth review axis (diff vs blueprint). **Verify:** blueprint a real
|
||||||
roadmap item into a well-formed spec; review-blueprint flags an
|
roadmap item into a well-formed blueprint; review-blueprint flags an
|
||||||
injected scope-creep diff. ✅ verified 2026-07-19 (spec 001 drafted;
|
injected scope-creep diff. ✅ verified 2026-07-19 (blueprint 001 drafted;
|
||||||
scratch fixture: CONTAINED ✗ on planted logging + stray function).
|
scratch fixture: CONTAINED ✗ on planted logging + stray function).
|
||||||
3. **ferry + implement** — decision maps; spec-driven execution with the
|
3. **ferry + weave** — decision maps; blueprint-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. ✅ verified 2026-07-19
|
blueprint end-to-end with pasted Verify output. ✅ verified 2026-07-19
|
||||||
(ferry-python-siblings D-1..D-3; scratch implement run, Verify "OK").
|
(ferries/python-siblings D-1..D-3; scratch weave 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
|
||||||
@ -57,7 +57,7 @@ See [ARCHITECTURE.md](ARCHITECTURE.md); loop diagram in `README.md`.
|
|||||||
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
|
enforcement; README regen. **Verify:** fresh session lists only the
|
||||||
~~8~~ 11 model-invoked descriptions (superseded: cavecrew-octobot,
|
~~8~~ 11 model-invoked descriptions (superseded: spawn-cavecrew,
|
||||||
review-blueprint, resolve-conflicts must fire from natural phrasing);
|
review-blueprint, resolve-conflicts must fire from natural phrasing);
|
||||||
steer names every skill; conjure rejects a noun-first name.
|
steer names every skill; conjure rejects a noun-first name.
|
||||||
✅ verified 2026-07-19 (16 flagged / 11 model-invoked by grep; steer
|
✅ verified 2026-07-19 (16 flagged / 11 model-invoked by grep; steer
|
||||||
@ -77,7 +77,7 @@ See [ARCHITECTURE.md](ARCHITECTURE.md); loop diagram in `README.md`.
|
|||||||
|
|
||||||
## Out of scope
|
## Out of scope
|
||||||
|
|
||||||
- Issue-tracker backends (GitHub/GitLab) for specs — files only.
|
- Issue-tracker backends (GitHub/GitLab) for blueprints — files only.
|
||||||
- OpenWiki CLI dependency — import-compat at most.
|
- OpenWiki CLI dependency — import-compat at most.
|
||||||
- Renaming grandfathered non-verb skills.
|
- Renaming grandfathered non-verb skills.
|
||||||
- Matt's writing-* / teach / wizard / obsidian skill families.
|
- Matt's writing-* / teach / wizard / obsidian skill families.
|
||||||
|
|||||||
@ -13,7 +13,7 @@ sketched there: "reading `DESCRIPTION` for packages and `_targets.R` +
|
|||||||
(`build-r-package`, `build-r-analysis`) currently ship without a README
|
(`build-r-package`, `build-r-analysis`) currently ship without a README
|
||||||
generator, unlike their Python sibling.
|
generator, unlike their Python sibling.
|
||||||
|
|
||||||
## Spec
|
## Contract
|
||||||
A skill `skills/engineering/write-readme-r/` that:
|
A skill `skills/engineering/write-readme-r/` that:
|
||||||
- Detects project type: `DESCRIPTION` → r-package (fields: Package,
|
- Detects project type: `DESCRIPTION` → r-package (fields: Package,
|
||||||
Title, Description, License, Authors@R); `_targets.R` → r-analysis
|
Title, Description, License, Authors@R); `_targets.R` → r-analysis
|
||||||
@ -11,7 +11,7 @@ call; its stance decides what reviews flag.
|
|||||||
|
|
||||||
## Options
|
## Options
|
||||||
- **A — facade + DI only**: monkeypatch/patch treated like mockery::stub
|
- **A — facade + DI only**: monkeypatch/patch treated like mockery::stub
|
||||||
in R — a smell needing justification. Consistent with codebase-design.
|
in R — a smell needing justification. Consistent with design-codebase.
|
||||||
- **B — bless monkeypatch at seams**: pragmatic pytest idiom, weaker
|
- **B — bless monkeypatch at seams**: pragmatic pytest idiom, weaker
|
||||||
seam discipline.
|
seam discipline.
|
||||||
|
|
||||||
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
Destination: bdd and diagnose carry Python reference siblings of the
|
Destination: bdd and diagnose carry Python reference siblings of the
|
||||||
same depth as their R ones (tests-py, mocking-py, interface-design-py,
|
same depth as their R ones (tests-py, mocking-py, interface-design-py,
|
||||||
docstrings-py, feedback-loops-py, instrumentation-py), so /dev-python
|
docstrings-py, feedback-loops-py, instrumentation-py), so /develop-python
|
||||||
stops pointing at acknowledged gaps.
|
stops pointing at acknowledged gaps.
|
||||||
|
|
||||||
| id | decision | status | blocked-by | spec |
|
| id | decision | status | blocked-by | blueprint |
|
||||||
|---|---|---|---|---|
|
|---|---|---|---|---|
|
||||||
| D-1 | mirror R sibling structure or redesign for Python? | open | — | |
|
| D-1 | mirror R sibling structure or redesign for Python? | open | — | |
|
||||||
| D-2 | mocking doctrine: facade+DI only, or bless pytest monkeypatch? | open | D-1 | |
|
| D-2 | mocking doctrine: facade+DI only, or bless pytest monkeypatch? | open | D-1 | |
|
||||||
Loading…
x
Reference in New Issue
Block a user