| DEC-0001 |
Agent Role Taxonomy |
Accepted |
Thirteen agents across seven planes (Configuration, Control, Analysis/Planning, Design/Structure, Execution, Verification/Security, Delivery). Concern-based separation. Orchestrator as communication hub. Builder-to-Architect direct path as sole exception. |
| DEC-0002 |
Lifecycle Phases and Human Gates |
Accepted |
Five phases (Ingestion, Decomposition, Execution, Verification, Go-Live) with five human gates (Requirements, Architecture, Plan, Demo Sign-off, Go-Live). Three CD philosophy models. Retrospective embedded at Demo Sign-off. |
| DEC-0003 |
Agent Communication and Routing Protocol |
Accepted |
Hub model — all communication routes through the Orchestrator. Structured markdown artifacts at conventional file locations. Ubiquitous language. Builder-to-Architect direct path. Merges former DEC-0003 (Handoff Protocol) and DEC-0007 (Communication Standards). |
| DEC-0004 |
Artifact Trail as Project State |
Accepted |
Project state is a collection of markdown files at conventional locations, versioned by git. Methodology Manifest as swarm configuration. No single monolithic document. No software runtime. |
| DEC-0005 |
Tool Access Tiering and Blast Radius Control |
Accepted |
Five-tier model (Read and Reason, Scoped Write, Command Execution, Restricted, Human-Gated). Declared, not enforced — behavioral constraints in agent prompts plus human capability gating. |
| DEC-0006 |
Escalation Protocol and Failure Mode Taxonomy |
Accepted |
Ten failure modes with defined detection and response. Nexus Briefing format for all escalations. One question per escalation (DEC-0009). Escalation log as audit trail. Two production incident tracks (next-cycle, hotfix). |
| DEC-0008 |
Hybrid Swarm Pattern |
Accepted |
Hybrid pattern: Agile core (XP execution), Formal gates (RUP milestones), Empirical adaptation (Scrum process control), Human-centric communication (Crystal). Dominant methodology varies by phase. Per-project adaptation via Methodologist. |
| DEC-0009 |
Iterative Approximation Principle |
Accepted |
The system makes forward progress on partial, approximate input. Never block on perfect information. Prefer proposals over interrogations. One question at a time. |
| DEC-0010 |
Agent Definition File Format |
Accepted |
Single markdown file per agent. Self-contained, LLM-agnostic, human-readable. Canonical structure: Identity, Flow, Responsibilities, You Must Not, Input/Output Contracts, Tool Permissions, Handoff Protocol, Escalation Triggers, Behavioral Principles, Profile Variants. |
| DEC-0013 |
Project Profile Naming |
Accepted |
Four profiles by stakes (Casual/Commercial/Critical/Vital) with four artifact weights (Sketch/Draft/Blueprint/Spec). Self-describing in plain language. |
| DEC-0014 |
The Methodologist Role |
Accepted |
Standing role active throughout project life — not a one-shot bootstrap. Configures the swarm initially, then re-activates on triggers (phase end, team change, scope shift) to run retrospectives and update the versioned Methodology Manifest. |
| DEC-0015 |
Ingestion Loop Design |
Accepted |
Ingestion is a multi-pass cycle: Analyst -> Auditor -> Nexus clarification -> Analyst revision -> repeat until clean. Demo feedback re-opens ingestion with regression check. |
| DEC-0016 |
Decomposition Phase and Gates |
Accepted |
Two gates (Requirements + Plan) with Architecture Gate between them. Approval criteria: risk-driven + value-driven. [DEFERRED] flag for conscious deferrals. Architect artifacts by profile: metaphor/sketch -> Overview -> ADRs -> ADRs + Baseline. |
| DEC-0017 |
Fitness Functions as Dual-Purpose Specifications |
Accepted |
Every architectural characteristic has a dual-use fitness function: dev-side check (Verifier) + production monitoring threshold + alarm meaning. Architect defines both. Scales to profile. |
| DEC-0018 |
Spike Task Ownership and Lifecycle |
Accepted |
Architect identifies the unknown, writes the acceptance criterion, runs the investigation, produces the finding. Planner schedules before dependent tasks. Planner re-estimates affected tasks. |
| DEC-0024 |
DevOps Phased Invocation |
Accepted |
DevOps invoked in three just-in-time phases at Commercial+: Phase 1 (CI pipeline, dev environment, Environment Contract) before first Builder task; Phase 2 (staging, CD pipeline) after first Verifier PASS; Phase 3 (production, monitoring, rollback verification) before Go-Live gate. Planner tags tasks by phase; Orchestrator enforces sequencing. |
| DEC-0023 |
Backward Cascade Protocol |
Accepted |
When an Architecture Gate rejection changes a foundational assumption (delivery channel, deployment model, auth model, data persistence, system boundary), the Orchestrator triggers a backward impact check: Auditor checks approved requirements for invalidated acceptance scenarios ([INVALIDATED] flag); if found, Analyst revises before gate is re-attempted. Scoped to foundational assumptions only — not all revisions. |
| DEC-0022 |
Cycle as Unit of Delivery |
Accepted |
A cycle is a Planner-defined subset of the backlog forming a coherent, demonstrable increment. The Planner declares cycle boundaries explicitly in the Task Plan. The Orchestrator executes only the current cycle's tasks before Demo Sign-off. Nexus approves the cycle boundary at the Plan Gate. No timebox — scope-based boundary. |
| DEC-0021 |
Context Exhaustion Checkpoint Protocol |
Accepted |
When a session approaches context exhaustion, the Orchestrator writes a self-sufficient checkpoint to process/orchestrator/project-state.md before the session ends. On resume, the Nexus uses the continuation prompt to invoke the Orchestrator in verification mode. The checkpoint must be readable cold with no access to the prior conversation. |
| DEC-0020 |
Commit Policy |
Accepted |
One commit per task. Verifier is sole committer, after full PASS + clean regression. Builder never commits. Commit pushed to remote; CI green required if pipeline configured. Commit message: TASK-NNN: <description> — all tests pass. Replaces the pilot approach of a single manual Nexus commit at Go-Live. |
| DEC-0019 |
Acceptance Test Authorship Chain |
Accepted |
Analyst's GWT scenarios are the minimum required test coverage. Verifier MUST implement all Analyst-drafted scenarios as executable tests. Verifier MAY add additional negative, boundary, and edge-case tests beyond the Analyst's scenarios; any such test is tagged [VERIFIER-ADDED] in the test name or immediately above the test function. |
| DEC-0025 |
Planner Multi-Pass Invocation |
Accepted |
Initial Planner invocation for a cycle is split into three focused Orchestrator-managed passes: Pass 1 — decomposition (atomic tasks, acceptance criteria); Pass 2 — scoring and ordering (risk/value rubrics, priority matrix, cut line); Pass 3 — release map (MVP boundary, rolling confidence). Revision invocations (spike, demo feedback, mid-cycle change) remain single-pass. Prevents LLM cognitive overload on a ~700-line agent definition. |
| DEC-0026 |
Sentinel Sequential Timing |
Accepted |
Sentinel runs once per cycle, after all tasks in the cycle have passed Verifier — not alongside Verifier per task. Sentinel requires a stable, fully verified build and the Verifier's test results as input. Sequential ordering eliminates interference between security probing and functional test runs against the same staging environment. |
| DEC-0027 |
Process Metrics Collection |
Accepted |
The Orchestrator maintains a Process Metrics section in process/orchestrator/project-state.md as a running tally (Commercial and above): auditor pass counts, gate rejection counts, average iterations to PASS, tasks hitting max iterations, escalation count, backward cascade events. The Methodologist reads this section as primary quantitative input to the retrospective. |
| DEC-0028 |
Convergence Signal Evaluation |
Accepted |
The Orchestrator tracks failing acceptance criterion counts per Builder-Verifier iteration in the Iterate Loop State. If the count has not decreased for the number of consecutive iterations defined as the convergence signal in the Manifest, the Orchestrator escalates to the Nexus before the next Builder iteration — not after the hard limit. Escalation includes the failure count trend. |
| DEC-0029 |
Technical Observations Routing |
Accepted |
Verifier non-blocking observations (architectural concerns, stale docs, fragile patterns) are collected by the Orchestrator at cycle completion and surfaced in the Demo Sign-off Briefing's Technical Observations section. They do not block sign-off. If the Nexus chooses to act on an observation, it enters the normal demo feedback channel through the Analyst. |