- docs(okf): add OKF/decisions/ — one file per settled decision, bodies migrated verbatim, warrant frontmatter added, numbers 1-16 preserved - docs(okf): index the register by the question each decision settles - docs(okf): shed both registers from ROADMAP — decisions to the register, believed/true entries to LEARNINGS.md, §Risks keeps forward-looking risk - docs(okf): compress §Why to its conclusion so ROADMAP clears the 110-line cap once warrant frontmatter is added; prior-art scan moves to LEARNINGS - docs(okf): give every durable page a warrant (purpose, answers, cites) - docs(okf): retire the empty adr/ for the register implements blueprint 002
54 lines
2.1 KiB
Markdown
54 lines
2.1 KiB
Markdown
---
|
|
type: Architecture
|
|
purpose: Map the skill categories, the seams between them, and the flows that cross them.
|
|
answers:
|
|
- "Which module owns a given skill, and where are the seams?"
|
|
cites:
|
|
- skills/loop
|
|
- skills/engineering/bdd/SKILL.md
|
|
- skills/productivity/conjure-a-skill/PRINCIPLES.md
|
|
status: live
|
|
---
|
|
|
|
# octobot — architecture
|
|
|
|
## Module map
|
|
|
|
One module per skill category; the interface of each skill is its
|
|
frontmatter `description` (routing) plus its SKILL.md body (procedure).
|
|
|
|
- **loop** (`skills/loop/`) — the metaharness spine: write-OKF
|
|
(knowledge), architect (plan). Blueprint, ferry, weave, steer land
|
|
per [ROADMAP.md](ROADMAP.md).
|
|
- **engineering** (`skills/engineering/`) — practice skills: bdd,
|
|
diagnose, review axes (review-angles, nuke-review, winnow), sieve,
|
|
vocabulary (design-codebase, model-domain), style-r, dev-* runners,
|
|
write-readme*.
|
|
- **productivity** (`skills/productivity/`) — session mechanics:
|
|
commit-atomic-jj, handoff, grill-me, caveman, spawn-cavecrew,
|
|
conjure-a-skill.
|
|
- **scaffold** (`skills/scaffold/`) — project generators: build-py-project,
|
|
build-r-package, build-r-analysis, containerize-project,
|
|
add-docker-secrets.
|
|
|
|
## Main flows
|
|
|
|
1. **The loop** — write-OKF → architect → blueprint → ferry → weave
|
|
→ review+verify → commit-atomic-jj; OKF refreshed after weave
|
|
(`skills/loop/`, diagram in `README.md`).
|
|
2. **Skill discovery** — Claude Code scans `~/.claude/skills/` one level
|
|
deep; per-skill symlinks point into `skills/<category>/<name>/`
|
|
(`README.md` §Install).
|
|
3. **Post-green review** — bdd "After green" hands to the review axes,
|
|
fixes land red-test-first (`skills/engineering/bdd/SKILL.md`).
|
|
|
|
## Seams
|
|
|
|
- **Skill frontmatter** — `disable-model-invocation` flips a skill
|
|
between description-routed and name-only invocation.
|
|
- **Progressive disclosure** — SKILL.md bodies point to topic-named
|
|
sibling files; swapping a sibling changes behaviour without touching
|
|
the router (`skills/productivity/conjure-a-skill/PRINCIPLES.md`).
|
|
- **Cross-links** — skills reference each other by relative path;
|
|
category moves are renames across these links (grep before moving).
|