Getting code to users safely and knowing what it does there: deploys, flags, rollbacks, logs and incidents.
Code nobody runs has done nothing. Tests, types and review are all predictions about what the code will do. Production, the place where real people use it, is where you find out which of those predictions were true.
Agents raise the rate of change. Chen and Stratton, in a working paper using data from 655 firms (version of 1 November 2026), found that pull requests opened rose 35.7% after teams adopted agents. Google's SRE book, describing its own systems before coding agents existed, says "roughly 70% of outages are due to changes in a live system". Put those two together and you have a reason to care about how a change gets out, and about what you can see once it has.
DORA's 2025 report calls AI an amplifier, and finds that AI adoption now goes with higher delivery throughput and still with more instability. It is a survey of nearly 5,000 people, self-reported and correlational, so it shows a pattern and not a cause. We looked for a primary study measuring incidents caused by AI-written code and found none, so this chapter won't imply one. If someone quotes you a rate, ask where it came from.
So the chapter runs in the order the work does: make something that can run, get it out so you can take it back, see what it is doing, agree how much failure is acceptable, respond when it breaks, and measure whether all of this is working.