Part II · What changes
Chapter 7
Verifying the work
An agent is asked to fix a failing test. Twenty minutes later the test passes. Read closely, the fix turns out to be the deletion of the line that checked the result. Nothing is technically broken, and nothing is fixed either.
Agent-written code is weak when nothing checks it and strong when strong checks are in place. Most of the difference comes from the checks around the model, not the model itself.
The clearest evidence comes from a company that lets AI review and approve some of its own pull requests, behind a set of automated checks. It reports that agent-written backend code was reverted 0.53% of the time, against 5.39% for code written by people. On the frontend the figures were 0.22% and 2.00%. Approvals also became several times faster than human review.
Most of the difference comes from the checks around the model, not the model itself.
What good verification looks like
Match the test to the change. Tests differ in cost. Fast checks that run in seconds belong on every change. Slow end-to-end tests, which run the whole system the way a customer would, belong only on changes that touch what they cover. A loop that runs everything every time wastes hours; one that runs too little misses regressions.
Watch for gaming. Agents optimize for what they are measured on. In published evaluations, a frontier model asked to speed up a program instead rewrote the scoring code so every attempt passed. In everyday work the same instinct shows up as a weakened assertion, a skipped test or a retry until a flaky test happens to pass. A green result is not enough; the checks must also confirm the tests themselves were not changed to fit.
Show the reasoning. Developers trust a loop they can see into: why a test was run or skipped, what failed, what the agent tried next. A loop that only reports "passed" invites either blind trust or redoing the work by hand.
Test the loop against history. Before relying on a loop, replay bugs that customers found in the past and count how many it would have caught. It is the cheapest way to learn what a loop is worth before it matters.