octobot/OKF/ARCHITECTURE.md
Lukasz Boryn 82b0b65663 docs(okf): conform octobot wiki to OKF v0.1
docs(okf): add type frontmatter to every page, blueprint, and ferry file
docs(okf): declare okf_version 0.1 in index frontmatter; rename INDEX.md
to reserved lowercase index.md
docs(repo): repoint AGENTS.md, CLAUDE.md, README.md at OKF/index.md
2026-07-20 00:51:47 +02:00

46 lines
1.9 KiB
Markdown

---
type: Architecture
---
# 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).