Overview
Agent Teams Lite uses a structured workflow where a lightweight orchestrator delegates all real work to specialized sub-agents. Each sub-agent starts with fresh context, executes one focused task, and returns a structured result.The orchestrator NEVER does phase work directly. It only coordinates sub-agents, tracks state, and synthesizes summaries. This keeps the main thread small and stable.
The Workflow Pattern
Architecture
The orchestrator maintains minimal context while sub-agents handle all heavy lifting:The Dependency Graph
Phases execute in a directed acyclic graph (DAG) based on dependencies:Parallel Phase Execution
Parallel Phase Execution
Note that specs and design can run in parallel since they both depend only on the proposal. The orchestrator can launch both sub-agents simultaneously for faster execution.
Commands Reference
| Command | What It Does |
|---|---|
/sdd-init | Initialize SDD context. Detects stack and bootstraps the active persistence backend. |
/sdd-explore <topic> | Investigate an idea. Reads codebase, compares approaches. No files created. |
/sdd-new <name> | Start a new change by delegating exploration + proposal to sub-agents. |
/sdd-continue | Run the next dependency-ready phase via sub-agent(s). |
/sdd-ff <name> | Fast-forward planning with sub-agents (proposal → specs → design → tasks). |
/sdd-apply | Implement tasks in batches. Checks off items as it goes. |
/sdd-verify | Validate implementation against specs. Reports CRITICAL / WARNING / SUGGESTION. |
/sdd-archive | Close a change and persist final state in the active artifact store. |
Example: Complete Workflow
Step-by-Step: Adding Dark Mode
Step-by-Step: Adding Dark Mode
Sub-Agent Result Contract
Each sub-agent returns a structured payload:executive_summary is intentionally short. detailed_report can be as long as needed for complex architecture work.The Sub-Agents
Each sub-agent is a SKILL.md file — pure Markdown instructions:| Sub-Agent | Skill File | What It Does |
|---|---|---|
| Init | sdd-init/SKILL.md | Detects project stack, creates openspec/ structure |
| Explorer | sdd-explore/SKILL.md | Reads codebase, compares approaches, identifies risks |
| Proposer | sdd-propose/SKILL.md | Creates proposal.md with intent, scope, rollback plan |
| Spec Writer | sdd-spec/SKILL.md | Writes delta specs (ADDED/MODIFIED/REMOVED) with Given/When/Then |
| Designer | sdd-design/SKILL.md | Creates design.md with architecture decisions and rationale |
| Task Planner | sdd-tasks/SKILL.md | Breaks down into phased, numbered task checklist |
| Implementer | sdd-apply/SKILL.md | Writes code following specs and design, marks tasks complete. v2.0: TDD workflow support |
| Verifier | sdd-verify/SKILL.md | Validates implementation against specs with real test execution. v2.0: spec compliance matrix |
| Archiver | sdd-archive/SKILL.md | Merges delta specs into main specs, moves to archive |
Shared Conventions
All 9 skills reference three shared convention files instead of inlining persistence logic:| File | Purpose |
|---|---|
persistence-contract.md | Mode resolution rules — how engram, openspec, and none modes behave |
engram-convention.md | Deterministic artifact naming, two-step recovery protocol |
openspec-convention.md | Filesystem paths for each artifact, directory structure |
v2.0 Skill Upgrades
Two skills received major upgrades:sdd-apply v2.0
Added TDD workflow support. When enabled, the implementer follows a RED-GREEN-REFACTOR cycle: write a failing test first, implement until it passes, then refactor. Controlled bytdd: true and test_command in config.
sdd-verify v2.0
Now performs real test execution instead of static analysis only. Runs the project’s test suite and build commands, produces a spec compliance matrix mapping each requirement to PASS/FAIL/SKIP, and reports issues at CRITICAL/WARNING/SUGGESTION severity levels.Next Steps
Persistence Modes
Learn about engram, openspec, and none modes
Delta Specs
Understand delta specifications
TDD Workflow
Master the RED-GREEN-REFACTOR cycle
Commands
Complete command reference