5 approaches to reviewing AI-generated code against a spec
Imagine a coding agent builds an order summary screen. The UI renders and CI passes, but the screen displays $0.00 when the API can’t return a total. A missing total and a zero total mean different things. If the spec never covered that case, the reviewer has to reconstruct the expected behavior fr

Imagine a coding agent builds an order summary screen. The UI renders and CI passes, but the screen displays $0.00 when the API can’t return a total. A missing total and a zero total mean different things. If the spec never covered that case, the reviewer has to reconstruct the expected behavior from the original request.
Five companies put that review checkpoint at different points in the development workflow.
The order summary example in the original article shows how one workflow sequences the data model, API, and UI so each task starts with the dependencies it needs.
Write two acceptance criteria before implementation:
Give the coding agent and reviewer the same criteria. Then check whether the tests cover both cases. If CI passes and the reviewer still catches a mismatch, there’s a concrete regression test to add.