# Output Format Reference Guidelines for SDD output. See `examples/output-example.md` for a concrete rendered example. --- ## Output Schema — SDD Status Report | Field | Type | Required | Description | |-------|------|----------|-------------| | specId | string | Yes | Spec identifier (NNN-name format) | | architecture | ArchitectureSummary | Yes | Architecture overview | | sections | SectionStatus[] | Yes | Status of each SDD section | | adrs | ADRStatus[] | Yes | Architecture decision statuses | | validationPassed | number | Yes | Validation items passed | | validationPending | number | Yes | Validation items pending | | nextSteps | string[] | Yes | Recommended next actions | ### ArchitectureSummary | Field | Type | Required | Description | |-------|------|----------|-------------| | pattern | string | Yes | Selected architecture pattern | | keyComponents | string[] | Yes | Main system components | | externalIntegrations | string[] | No | External services integrated | ### SectionStatus | Field | Type | Required | Description | |-------|------|----------|-------------| | name | string | Yes | Section name | | status | enum: `COMPLETE`, `NEEDS_DECISION`, `IN_PROGRESS` | Yes | Current state | | detail | string | No | What decision is needed or what's in progress | ### ADRStatus | Field | Type | Required | Description | |-------|------|----------|-------------| | id | string | Yes | ADR identifier (e.g., ADR-1) | | name | string | Yes | Decision name | | status | enum: `CONFIRMED`, `PENDING` | Yes | Confirmation state — `[x] User confirmed` in the Decision block is CONFIRMED | --- ## Approval Options Use `AskUserQuestion` at the approval gate (step 6): - "Approve and continue" - "Walk me through section by section" - "Change [topic]"