octobot/OKF/ARCHITECTURE.md
Lukasz Boryn 4ce70d3f8e refactor(loop): rename architect to chart and weave to rig
The two spine skills named for a trade, not a passage, take nautical
names: directories, frontmatter, headings, prose, the 26 relative links,
11 cites:, render-check's RETIRED constant and the two ~/.claude/skills
symlinks. chart gains the hand-off edge into ferry and states the
single-request terminal as designed; ARCHITECTURE flow 1 and its two
byte-copies change names only, columns re-padded to hold the shape.

Implements blueprint 024; roadmap phase 12 ticked, and B-023's cite into
the pruned phase text repaired to a path-alone pointer.
2026-07-31 15:36:36 +02:00

3.1 KiB

type, purpose, answers, cites, status
type purpose answers cites status
Architecture Map the skill categories, the seams between them, and the flows that cross them.
Which module owns a given skill, and where are the seams?
skills/loop
skills/engineering/bdd/SKILL.md
skills/productivity/conjure-a-skill/principles.md
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), chart (plan), blueprint, ferry, rig, steer.
  • 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 — the metaharness spine, canonically rendered here (skills/loop/). Two byte-copies: README.md §loop, steer §The loop.
substrate (rare)  write-OKF — scaffold, or refresh when stale
                      ↓
per request       chart — a phase only for an arc over >1 blueprint
                      ↓
                 know what to do?
        ┌──── yes ────┴──── no ────┐
  blueprint → sound          ferry — decisions + blocking edges,
    → rig                    resolve one per sitting
    (rig closes it)                  ↓
                             blueprint per cleared decision → sound
                                     ↓
                             1 left → rig
                             N left → call-charon (agent per blueprint)
                                     ↓
                                   moor

rig = bdd → 4-axis review → Verify → commit-atomic-jj → close (OKF refresh)
  1. Skill discovery — Claude Code scans ~/.claude/skills/ one level deep; per-skill symlinks point into skills/<category>/<name>/ (README.md §Install).
  2. 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. Orchestrators and rituals carry it; a read-only recon whose trigger is a detectable state may go without (decisions/019).
  • 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).