Sprout · A rough idea or first thought
Scrum
冲From my notes on Software process
At my previous job I was the scrum master of the development feature team. Scrum is defined in one short document: the Scrum Guide by Ken Schwaber and Jeff Sutherland (the latest version is from 2020). This note explains Scrum the way the guide does.
Scrum is a lightweight framework that helps people, teams and organizations generate value through adaptive solutions for complex problems.
The guide calls it a framework on purpose. It doesn’t tell you how to build software, it only gives you the structure to work in. The rest is up to the team.
Empiricism
Scrum is built on empiricism: knowledge comes from experience, and decisions are made based on what is observed. Instead of planning everything up front, you take small steps and look at the result, because much of what matters is still unknown when the work starts. This rests on three pillars:
- Transparency: the work and the process are visible to everyone doing it and receiving it.
- Inspection: the progress and the artifacts are checked often, to spot problems early.
- Adaptation: when something goes off course, the process or the product is adjusted as soon as possible.
The guide also names five values the team should live by: commitment, focus, openness, respect and courage.
The Scrum Team
A Scrum Team is small, “typically 10 or fewer people”, with no sub-teams or hierarchies. It has three accountabilities:
- Developers create the work each sprint. They plan it in the Sprint Backlog and hold themselves to the Definition of Done.
- The Product Owner maximizes the value of the product. They own the Product Backlog and decide what is most important. The Product Owner is one person, not a committee.
- The Scrum Master is “accountable for establishing Scrum as defined in the Scrum Guide”. They coach the team, remove impediments and make sure the events happen and stay useful.
The events
Everything happens inside the Sprint, a fixed-length cycle of one month or less. A new sprint starts right after the previous one ends. Inside it are four events, each with a maximum time (the times below are for a one-month sprint; shorter sprints get shorter events):
- Sprint Planning (up to 8 hours): the team decides why this sprint is valuable (the Sprint Goal), what can be done, and how it will be done.
- Daily Scrum (15 minutes): the Developers inspect progress toward the Sprint Goal and adjust the plan for the next day.
- Sprint Review (up to 4 hours): the team shows the result to stakeholders and together they decide what to do next.
- Sprint Retrospective (up to 3 hours): the team looks at how they worked, and picks improvements for the next sprint.
The artifacts
Scrum has three artifacts. Each comes with a commitment that makes progress measurable:
- Product Backlog, committed to the Product Goal: the ordered list of everything that might be needed in the product.
- Sprint Backlog, committed to the Sprint Goal: the items chosen for this sprint plus the plan to deliver them.
- Increment, committed to the Definition of Done: a usable step toward the Product Goal. Work that doesn’t meet the Definition of Done isn’t part of the Increment.
Put together, the events and artifacts look like this. Here is a small web shop, built over three sprints:
检查与调整Inspect and adapt, every sprint.
What the guide leaves out
The guide doesn’t say how many items a developer should work on at the same time. A sprint can follow every rule and still get stuck with half-finished work waiting for review. That’s where limiting work in progress fits in.