Quick reference
Method card
One line per step, derived from projects/_methodology.md (the authority). High-level
design comes before detailed API and database design, so the details serve a chosen
structure.
A. Understand (1–5)
- Business problem and stakeholders — what problem, for whom, why now; success metrics (→ 17).
- Functional requirements — what the system does, as testable statements (→ 15).
- Non-functional requirements — measurable acceptance criteria: availability, latency, throughput, consistency, cost (→ 16).
- Scope, assumptions and constraints — explicit in/out; assumptions marked by design impact if wrong (→ 17).
- User journeys and workflows — main journeys end to end, including the unhappy paths (→ 18).
B. Size (6)
- Capacity and workload estimation — users → QPS (mean, peak, burst), read/write split, storage, bandwidth (→ 19, 20).
C. Shape (7–9)
- Domain model and data ownership — entities, aggregates, invariants; who owns what data (→ 54–56, 81).
- High-level design and component boundaries — component diagram (C4 container level) (→ 45).
- Critical request and event flows — the top three workflows traced through the design (→ 46).
D. Detail (10–12)
- API and event contract design — contract-first (→ 36): operations, protocol choice (→ 31–33, 40), pagination (→ 37), versioning (→ 35), idempotency (→ 38), event schemas (→ 34).
- Database schema and storage design — store selection with justification (→ 62).
- Low-level design — key modules, algorithms, and state machines inside the critical components (→ 46).
E. Harden (13–16)
- Consistency and concurrency — consistency level per data item (→ 129); races and their resolution (→ 71, 38, 116); outbox or saga across stores (→ 118, 139).
- Security and privacy — threat model (→ 158); authentication and authorization (→ 39 or 159–163); data protection (→ 164–165); privacy (→ 170).
- Failure handling and resilience — behavior when each dependency is down; timeouts, retries (→ 151–154).
- Scalability and performance — scaling story per tier (→ 90–95); caching layers with invalidation (→ 82–89); traffic control (→ 96–98); bottleneck analysis (→ 103).
F. Ship and run (17–20)
- Testing and validation — test strategy per level (→ 197–198); load and chaos plans (→ 199–200).
- Deployment and infrastructure — environments, compute choice (→ 179–184), IaC (→ 185), pipeline with security gates (→ 186), rollout strategy (→ 187), flags (→ 188).
- Observability and production operations — SLIs and SLOs (→ 203); dashboards and burn-rate alerts (→ 201–202); runbooks and readiness (→ 207).
- Disaster recovery and operational procedures — RPO/RTO and the matching DR tier (→ 195).