Status: draft | active | shipped | deprecated Owner: @[handle] Last updated: YYYY-MM-DD
- [Principle] — [why it matters for this system]
| Layer | Technology | Notes |
|---|---|---|
| Runtime | [e.g. Node.js 20] | [version or constraints] |
| Language | [e.g. TypeScript] | [strictness, conventions] |
| Data | [e.g. PostgreSQL 16] | [primary use case] |
| Infra | [e.g. Docker, Railway] | [deployment context] |
graph TD
A[Component A] --> B[Component B]
B --> C[Component C]
- [Service/API] — [purpose and failure behavior]
- [Assumption] — [what breaks if wrong]
| Gap | Severity | Impact | Root Cause | Mitigation / Acceptance |
|---|---|---|---|---|
| [e.g. No rate limiting on public API] | high | DoS risk on auth service | Not yet implemented | Planned for v1.1; WAF provides partial coverage |
- [Control] — [what it protects and how]
- [Constraint] — [how it shapes the architecture]
- [Question] — context and options being considered
- PRD — product requirements this design implements
- Codebase Docs — AI-navigable map of the repo
- Rules — engineering standards
- ADRs — architecture decisions