CapstoneVol. 19 · Part XIX
0 / 0

Trails / Capstone

CP·213

Capstone Milestones and Evidence

The capstone as a plan you can follow: eight milestones from walking skeleton to failure exercises, each with deliverables, the evidence that proves it, and a review; a schedule at part-time pace; the portfolio that shows the work; reviews to run with someone else; and extensions that connect to Volumes 21–24 (analytics, mobile, internationalisation, senior craft).

7 topics · ~4 min read · 6-question quiz
Updated Suggest a correction

Start here: a plan, not a wish list

The capstone requirements are long enough to be paralysing. This chapter turns them into eight milestones, each small enough to finish, each ending with something deployed and evidence that it works. Evidence matters because "I built a production system" is a claim; a trace, a load-test report, a failure-exercise write-up and a recorded demo are proof.

How deep to go

Volume 17 defines six mastery levels. The capstone is where L5 and L6 evidence comes from:

Milestone stage Typical level shown
M0–M2 L2–L3 across layers; L4 on transactions and idempotency
M3–M5 L3–L4 on realtime, events and AI
M6 L4–L5 on security, delivery and SLOs
M7 L5–L6: designing for failure and operating through it

The milestones

Milestone Deliverables Evidence Typical effort (part-time, 8–10 h/week)
M0 walking skeleton monorepo; pipeline; cluster via IaC; DNS + TLS; OIDC sign-in; kitchens list from PostgreSQL; trace, dashboard, one alert a commit deploying to staging and production automatically; a trace from browser to database 3–4 weeks
M1 identity and catalogue roles; kitchens, menus, allergens; search (PostgreSQL full-text + trigrams); images via signed URLs authorization tests per endpoint; search latency at 500k dishes; accessibility checks passing 3 weeks
M2 subscriptions and payments subscribe; skip with cut-off; payments with idempotency keys and a test provider; ledger concurrency tests (no double skip or charge); payment reconciliation job 4 weeks
M3 kitchen and delivery kitchen dashboard; rider status; tracking gateway with SSE; positions in Redis live update within 5 s under load; gateway restart without lost updates 3 weeks
M4 events outbox; Kafka; notifications, search indexing, analytics workers; DLQ; replay tooling duplicate-delivery tests; a projection rebuilt by replay; DLQ redrive demo 3 weeks
M5 assistant ingestion; hybrid retrieval with reranking; tools; bounded agent; evaluation in CI golden-set results (400+ allergen questions, zero invented claims); cost per conversation 4–5 weeks
M6 hardening threat model; scanning, SBOMs, signing, admission control; audit log; SLOs and burn-rate alerts; canary and rollback ZAP baseline clean; unsigned image rejected; canary auto-abort demo; audit tamper drill 3–4 weeks
M7 failure exercises the twenty exercises of chapters 212A–212B twenty write-ups with detect/mitigate/recover/prevent; fixes merged; automated ones scheduled 3–4 weeks

Total: roughly 7–8 months at part-time pace, after the learning sequence. It's long because it's real; resist adding features before M7 is done.

Milestone reviews

At the end of each milestone, a 45-minute review with someone else (a colleague, a study partner, a mentor):

  1. Demo the new journeys in the deployed environment (10 minutes).
  2. Show the evidence: tests, dashboards, traces, reports (10 minutes).
  3. Walk one request through every layer it touches, explaining each step (10 minutes).
  4. Questions from the reviewer: "what happens if…?", "why not…?", "how would you know?" (10 minutes).
  5. Record open risks and actions with owners and dates (5 minutes).

The portfolio

  • README: what TiffinBox is, the architecture diagram, how to run it locally in one command, how to deploy.
  • Requirements and estimates (chapter 211A) with what was measured against them.
  • ADRs for the ten main decisions.
  • Evidence folder: load-test reports, failure-exercise write-ups, evaluation results, security reports, cost report.
  • Demo videos: one per milestone, 3–5 minutes each.
  • A "lessons" document: the surprises (library defaults, proxy limits, silent failures) and what you changed. Interviewers remember these far longer than feature lists.

Extensions

Once M7 is done, extend TiffinBox with the newer volumes:

Extension What it adds Volume
analytics platform events → warehouse → dbt models → dashboards for kitchens and finance; stream processing for live kitchen metrics 21
native mobile app Android (and iOS) customer app with offline calendar, push notifications, and the same API 22
internationalisation Tamil, Telugu, Hindi and English interfaces; time zones for kitchens in other cities; currency formatting 23
team practices design docs for each milestone, code-review standards, estimation records, mentoring a second contributor 24
second region the region-loss exercise as a real, timed failover 16, 212A
Java and Spring upgrades moving to the next Java and Spring Boot releases with tests and canaries 3, 211C

Done when

  • All eight milestones are deployed with their evidence, and each has had a review.
  • The portfolio is complete and someone outside the project can run the system from the README.
  • You can walk any request through every layer and answer "what if this fails?" for each step.