Week 6 · Capstone
The whole course on one page: the seven-section design document, the system on a page, the reviewer's hard questions, the common gaps, and a pre-ship checklist. Bring it to any design review.
Each section answers exactly one question. Six of the seven you already wrote, as your five projects.
| Section | Answers | From |
|---|---|---|
| Problem & scope | what does this do, for whom, at what bar? | goals |
| Boundary | what is code, what is model? | S2 |
| Context & retrieval | what does the model see? | P1 |
| Cost, latency, reliability | what are the ceilings, and how does it fail safely? | P2 |
| Architecture & security | which pattern, and how is it defended? | P3 |
| Evals & observability | how do you know it works, and stays working? | P4 |
| Trade-offs & risks | what did you choose against, and what remains? | all |
A reviewer should grasp it in thirty seconds. If it does not fit on a page, you do not fully understand it yet.
flowchart LR IN["Request"] --> CODE["Code shell
auth, rules"] CODE --> RET["Retrieve + rank"] RET --> M{"Model core"} M --> GUARD["Validate + guardrails"] GUARD --> ACT["Action / answer"] TR[("Traces to evals to dashboards")] -.-> M TR -.-> GUARD classDef code fill:#D6F5E3,stroke:#1F2937,color:#0E1726; classDef model fill:#EEE6FF,stroke:#1F2937,color:#0E1726; classDef ops fill:#DCEBFE,stroke:#1F2937,color:#0E1726; class CODE,GUARD,ACT code; class M model; class TR ops;
Answer with the three gates and where your task landed.
Name it, show the fallback ladder and the runbook entry.
The trust boundary and least-privilege tools.
Name every imported MCP server, and say how it is pinned and reviewed.
Checkpoints, idempotency keys, and which steps are safe to replay.
The eval pass-rate and the online sampling.
"Fast and cheap" with no ceiling. Add the budget.
The architecture ignores the context design.
Injection mentioned but tools still over-privileged.
A beautiful design with no evals. A hope, not a system.
Do not ship until every box is honestly ticked.
Workflow before agent, smallest fuzzy job. The reflex that ages well.
Budgets and evals turn opinions into decisions.
Untrusted input, flaky model. Design for both by default.
Every failure becomes a test. Compounding beats clever.