Architecture Overview
Key insight: The orchestrator stays lightweight by delegating all work. Each sub-agent gets a fresh context window, reducing hallucinations and improving output quality.
The Dependency Graph
Agent Teams Lite phases follow a directed acyclic graph (DAG). Each phase has dependencies that must complete before it can run. Or let the implementer detect it from your codebase (test files alongside source). This cycle repeats for every task, ensuring test coverage grows with implementation.See the TDD Workflow Guide for detailed examples and best practices.
Verification (v2.0)
The Verifier sub-agent performs real test execution:Generate spec compliance matrix
Maps each requirement from the specs to test results:
| Requirement | Status | Test Coverage |
|---|---|---|
| Theme toggle switches between light/dark | ✅ PASS | ThemeToggle.test.ts:12 |
| System preference detected on first load | ✅ PASS | ThemeContext.test.ts:34 |
| Preference persists to localStorage | ✅ PASS | ThemeContext.test.ts:45 |
What’s Next?
Commands Reference
Learn all the SDD commands in detail
Sub-Agents Architecture
Dive deeper into the sub-agent system
Workflow Guide
Master the complete SDD workflow
Delta Specs
Learn how delta specs work