Orchestrates a multi-agent fail-first pipeline for Swift/Vapor development. Coordinates domain-architect, test-writer, domain-modeler, application-orchestrator, infra-implementer, code-reviewer, swift-quality-checker, integration-validator. Use when implementing features that span multiple layers.
| Agent | Role | Writes To | Never Touches |
|---|---|---|---|
| domain-architect | Type contracts | 001-contracts/ | implementations, tests |
| test-writer | Failing tests | 002-tests/ | implementations, Sources/ |
| domain-modeler | Domain code | 003-domain/ + Domain/ | app, IO, tests |
| application-orchestrator | Use cases | 003-application/ + Application/ | domain impl, IO, tests |
| infra-implementer | IO layer | 003-infra/ + IO/ | domain, app, tests |
| code-reviewer | Architecture audit | 004-code-review/ | cannot modify code |
| swift-quality-checker |
| Swift quality |
| 005-swift-quality/ |
| cannot modify code |
| integration-validator | Build + test | 006-integration/ | cannot modify anything |
make ci (build + test + coverage)Each agent gets ONLY the context it needs:
.pipeline/<ticket>/
000-request.md — original user request
000-discuss/CONTEXT.md — design decisions (if discuss phase used)
001-contracts/ — type definitions, signatures, errors
002-tests/ — failing tests (TDD red)
003-domain/REPORT.md — domain Public API
003-application/REPORT.md — use case Public API
003-infra/REPORT.md — IO layer summary
004-code-review/ — review rounds
005-swift-quality/ — quality check results
006-integration/ — build + test results
STATE.md — current pipeline state
feat(<bc>/<scope>): <description>
- [what was created]
- [error handling]
- [coverage stats]
Pipeline: [agents used], [review rounds]