Capstone: Running a Sprint from Planning to Retrospective
The Software Development Lifecycle
Chapter 10 · Capstone: Running a Sprint from Planning to Retrospective
One continuous worked sprint: adding loyalty-point redemption to Clean Code, SOLID & Refactoring's own TangleMart order system — the same system Software Testing Strategy's own capstone already extended with point-earning. Every technique from Chapters 1 through 9 gets applied to this one real piece of work, in the order a real sprint actually forces, closing with the finished feature verified end to end against its own acceptance criteria.
Step 1Lightweight Process (Chapter 1)
"addresses ticket #2044 - GOLD members asked how to use their points" — recorded reason: present, avoiding Chapter 1's own verified 80%-untraceable outcome under no process, without imposing Chapter 1's own 61x heavy-process tax on a normal feature request.
Step 2Early Check-In (Chapter 2)
Step 3Sprint Planning & Daily Standups (Chapter 3)
Step 4WIP Discipline (Chapter 4)
WIP=1: 60 minutes total, 10.0-minute average cycle time. WIP=6 (juggling all subtasks at once): 237 minutes total, 229.5-minute average cycle time — the same WIP-vs-cycle-time relationship Chapter 4 verified generally, confirmed again on this sprint's own real subtask list.
Step 5The User Story (Chapter 5)
Step 6Planning Poker (Chapter 6)
Step 7Code Review (Chapter 7)
preview_redemption_discount and apply_redemption_discount, well-formatted and well-named: style-only checklist approves. Smell-aware checklist: flags duplicated validation+calculation logic — the same Extract Method risk Clean Code Chapter 8 catalogued, and the same composed-bug shape Software Testing Strategy Chapter 1 verified. It blocks merge (a real duplication-drift risk, not a nit), with the reviewer explaining why rather than just rejecting.
Step 8The Architecture Decision (Chapter 8)
Step 9The Retrospective (Chapter 9)
Final Integration: The Feature, Verified Against Its Own Story
calculate_redemption_discount(): preview and actual both return $4.00 for 40 redeemed points — identical, closing the duplication-drift risk Step 7 flagged. Negative points: correctly rejected, closing Step 3's own standup blocker. A full checkout — $41.00 order total, minus the $4.00 redemption — correctly totals $37.00.
Where This Connects
| This capstone's step | Direct connection |
|---|---|
| A composed-bug-shaped review finding | Software Testing Strategy Chapter 1's own $1799.10-instead-of-$17.99 finding — the same risk shape, caught here before it ever shipped |
| The reused TangleMart system itself | Clean Code, SOLID & Refactoring's own capstone and Software Testing Strategy's own capstone — three courses' worth of capstones building on the identical codebase |
| The ADR decision rule | Software Architecture Fundamentals Chapter 9's own ADR format — Chapter 8 of this course added the timing/worth-it question that format doesn't answer on its own |
Hands-On Exercises
Add a second user story to this chapter's own sprint: "As a PLATINUM member, I want to see my points balance on the order confirmation page." Determine whether it's independent of the redemption story, estimate it at a plausible point value, and verify the sprint's own total commitment still fits within the 20-point known velocity.
📄 View solutionUsing this chapter's own ADR expected-cost formula, determine the reversal-cost threshold above which writing an ADR becomes the better choice for a decision made during this sprint, using the chapter's own risk parameters.
📄 View solutionExtend this chapter's own final integration check with a second redemption in the same sprint — a PLATINUM member with 25 points redeeming all 25. Verify the discount amount, verify it doesn't affect the first GOLD member's own already-completed redemption, and verify negative-point rejection still works for this second customer too.
📄 View solutionChapter 10 Quick Reference — Course Summary
- Verified end to end: one real sprint — a loyalty-points-redemption feature — carried through all 9 prior chapters' own techniques, each directly reusing that chapter's own verified formula on fresh, real inputs
- Step 2 avoided 67% of rework by checking in early instead of waiting for the sprint review
- Step 6's planning poker surfaced a hidden 13-point complexity that anchored estimation diluted to 5.6
- Step 7's review caught the exact composed-bug risk Software Testing Strategy Chapter 1 first verified, before it ever shipped
- Step 8's formula correctly separated a genuine ADR-worthy decision from a trivial one, using the same rule twice with two different real answers
- Course complete: process cost, Agile foundations, Scrum, Kanban, requirements, estimation, code review, ADRs, and retrospectives — all ten chapters, verified throughout
- Subject complete: this closes the Software Development subject's entire original seven-course scope