Technical Design Documents (TDD)
Per-feature design documents that go between the PRD (the what and why) and the implementation. Owned by the founder; agentic team consumes and produces TDD content under founder review.
What lives here
A TDD is the right vehicle when:
- The feature is meaningfully complex enough that the design is non-obvious from the PRD chapter alone.
- An ADR-level decision is implied (a TDD that requires deviation from the PRD or an existing ADR triggers a new ADR — see
docs/ADR/README.md). - Multiple bounded contexts coordinate (e.g. a flow that touches
identity+accounts+audit).
Naming and structure
- Filename:
NN-kebab-case-title.mdfor top-level TDDs, or place underdocs/TDD/<domain>/NN-…mdwhen scoped to one bounded context. - Header fields (frontmatter or
## Owner/## Statusheadings) are required and validated byscripts/check-doc-frontmatter.ts. - Status values:
Draft | In Review | Accepted | Implemented. - Template:
docs/standards/tdd-template.md.
Status
This directory is empty during the Phase-0 substrate bootstrap. The first TDDs land alongside the first apps/* (Phase 1a — the monorepo skeleton + identity bounded context).
See also
docs/PRD/— the source of "what to build"docs/ADR/— architecture decisions made during implementationdocs/PRD/17-engineering-standards.mdSection 17.2 — the documentation taxonomy this folder fits into