When to Use
When implementing a package or tool from multiple specification documents that cover different concerns (reference, architecture, scoping). This extends the single-spec a2a pattern to cross-document synthesis.The Pattern
Why Three Documents
| Document | Role | Without It |
|---|---|---|
| Reference (Handbook) | Canonical exit codes, flag names, command table | Agent invents exit codes |
| Architecture (TAD) | Detailed per-command behaviour, saga patterns, integration points | Shallow implementations |
| Scoping (Synthesis) | MVP subset, phasing constraints | Agent implements everything |
Cross-Document Resolution
The agent’s plan mode reconciles all three documents before writing code:- Exit codes come from the reference (authoritative)
- Behaviour comes from the architecture (detailed)
- Scope comes from the synthesis (constrained)
Example Application
This pattern produced the STRATT CLI (7 commands, 25 files, 39 tests) in one session from:- Handbook Section 9 (13 commands with exit codes)
- TAD Layer 5 (full command specifications)
- Synthesis Strategy Section 4 Phase 1 (MVP: new, validate, fingerprint, publish, run, deprecate, verify)