Part II · What changes
Chapter 6
The loops that matter most
A small set of loops covers almost all of a team's everyday work, and between them every stage of the lifecycle.
| Loop | Starts when | Finished when | A person approves |
|---|---|---|---|
| Testing | Code has no tests, or a change is proposed | New tests pass and cover the behavior | The change |
| Code review | A change is proposed | Every finding is fixed or explained | The merge |
| Bug fixing | A bug is reported | Fixed, with a test that guards against its return, or shown not to reproduce | The fix |
| Incident to fix | An incident happens in production | A fix, plus a test that would have caught it | The release |
| Upgrades and migrations | A library, language version or pattern must change across the code | Every affected place updated and tested | Each batch |
| Feedback to change | A customer or teammate asks for something | A scoped change, or a recorded decision not to make it | Scope and release |
Planning happens when feedback becomes a scoped change. Coding happens inside every loop. Review sits at each loop's approval points. Testing has its own loop and runs inside all the others. Release is the final approval. Operating feeds the incident loop.
Where it already works at scale
Upgrades and migrations show most clearly what is possible, because the work is repetitive, wide and easy to check. Amazon reported that upgrading an application to a newer version of Java fell from about 50 developer-days to a few hours, saving an estimated 4,500 developer-years across its applications. Google reported that in a large internal migration, AI wrote about 80% of the code changes and cut the total time by about half.
Design once, adopt everywhere
Platform engineering teams have long given developers a golden path: one well-supported way to do a common task, so each team does not invent its own. Loops deserve the same treatment. A central team designs each loop once. Other teams adopt it as it is, and handle their real differences at the edges, through which tools it connects to and what checks run before or after a step, rather than by rewriting the loop.
This also solves a problem many companies already have: separate agents for coding, review, testing and incidents, each bought on its own, none connected to the others, and nothing learned by one shared with the rest.