Design
Design
Durable architectural decisions and design contracts. Each page captures the why behind a part of the system that wouldn’t be obvious from the code alone — the design constraints, the rejected alternatives, and the invariants downstream code can rely on.
Note on stand-alone reading. Architecture decisions live in beads (
bd list type:decision) and are referenced from the design docs here. Read the design doc for the contract; read the linked bead for the decision context that produced it.
Foundations
- Parallelism boundary — deconfliction
precedes dispatch. The contract that lets
intra_parallelagents share a pane without weakening any parallelism rule. - Persona PPPP — the four-axis persona model (Purview / Posture / Perspective / Pulse) that governs how each AI role behaves at runtime.
- Milestone convention — how Gemba models milestones, why they’re optional, and what their absence means for sprint composition.
Surfaces
- Gemba walk — the bounded review session: agenda aggregator, decision lifecycle, and the five-source design.
- Bead presentation — what a WorkItem renders as in the SPA, and why each affordance is gated by capability.
- Beads-only operating mode — lets Gemba run as a Beads viewer and manager without project or orchestration setup.
- Work planning — the planning loop: from freeform intent to bead graphs.
- Complexity-aware dispatch — estimates work depth/span and matches beads to agent/model capability envelopes before selection.
Operational
- Containerized sessions — the cwd-constraint contract for agents running inside containers.
- CWD constraint — defense in depth for keeping agents inside their workspace.
- E2E library — the playwright fixture matrix (smoke / chrome / route / realtime / modes / deep).
- Skill authoring contract — how persona Skills declare inputs / outputs / capability gates.
Process
- Decision process — how Gemba captures,
ratifies, and supersedes design + implementation decisions. The
D#numbering convention, the doc ↔ bead linkage, and the draft → in_review → ratified ceremony.
Where next
- Operator-facing guides: see Getting Started.
- Per-adaptor authoring docs: see Adaptors.