Technical Specification
Implementation-safe contract before coding.
Source references: context/02_specs/ • framework/agents/spec-agent.md • framework/prompts/04-spec-agent.md
Purpose
Translate approved requirements into an implementation-safe technical specification with concrete file paths, alternatives documented, and acceptance tests drafted. Prevents build-without-contract risk.
Explore this stage in the SDLC Flow
Inputs
Approved requirement, foundation constraints, architecture baseline, and existing contracts.
Outputs
SPEC-FEAT-<EPIC>-<NNN>.md with task plan and acceptance test draft.
Prompt to run
framework/prompts/04-spec-agent.md- Gate:
framework/prompts/05-spec-approval-gate.md
Human gate
Owner: Engineering Lead
Decision: Approve spec before implementation starts.
Key context artefacts
- Reads:
context/01_requirements/features/* - Writes:
context/02_specs/SPEC-FEAT-<EPIC>-<NNN>.md - Example:
context/examples/golden-path/02_specs/SPEC-FEAT-ONBOARDING-001.md
Technical Specification Workflow
| Human-in-the-loop | Agent action | Context artefacts |
|---|---|---|
| Review requirement intent and constraints | Generate implementation-safe technical spec | context/02_specs/SPEC-FEAT-<EPIC>-<NNN>.md |
| Assess risk, security, and trade-offs | Update alternatives, contracts, and task plan | API/data impacts, acceptance test draft, risk section |
| Approve spec | Trigger implementation workflow | context/logs/handoffs/30_handoffs.md |