The stale worktree that passed every check
Every test and browser check passed on a clean worktree that no longer matched the live site. Shipping it would have deleted live content.

When agents work in parallel lanes, each lane can be clean on its own while the site as a whole has moved on. In this case one worktree held the live performance fix, a second held the new page architecture and a third held the generated files. Testing any one of them showed only that its own contents were consistent.
What failed
The release rested on one assumption, that the nearest clean checkout was the source. The checkout built, its links resolved and its pages rendered correctly. Production, however, contained newer material from another lane. A release from the clean tree would have deleted live content and still passed every local check.
The signs that the tree was stale
- The live homepage had an entry that the candidate tree did not.
- Utility routes existed locally but returned 404 in production.
- Several branches had changed the same asset versions and the same page shell.
- The candidate branch alone could not explain what the active deploy was serving.
The checks before a release
- Live stateObserve the live site and record its hashes, routes and asset versions.
- Active buildIdentify the build the active deploy is serving.
- RevisionMatch that build to a revision.
- Other worktreesInspect every worktree that touches the same files, routes, asset versions or page shell.
- Integration laneCreate one clean integration lane.
- Full checksRe-run the full build and browser checks there.
When a green test suite counts
Tests come after orientation. A green suite counts only once the tested tree has been matched to the live build and the work in other lanes has been listed. Generated files and shared cache versions count as release state, even when only one branch changed them.
Use this

← Previous: When “success” is still broken: checking agent outcomes
Want this inside your team’s workflow? The Verified AI Operations Sprint tests one workflow in ten working days. See the sprint →