Review loops

Every result is checked by tests and by a human before it goes live.

What is a review loop?

A review loop is the path every agent result takes before it ships: the agent writes, automated tests run, a second agent reviews the change, and a human approves it. If any step fails, the change goes back to the start.

Like a newspaper: the author writes, an editor reads, a proofreader checks. Nobody trusts the first draft, not even their own.

Why it matters

Agents write plausible code fast, and plausible is not the same as correct. A fresh reviewer, human or agent, catches what the author missed, because it reads the result without the author's assumptions.

How I work with it

Agents write, tests run, a second agent reviews, and I make the final call. If something fails, it goes around the loop again.

Rules of thumb

  1. Tests first, opinions second
  2. A different agent reviews than the one who wrote
  3. A human signs off

An example

This website was built that way: agents wrote most of the code, and I read every change before it went live. Nothing was merged without a review.

Try it yourself

Step through one lap of the loop: write, test, review, fix, approve.

Want this in your team?

Get in touch