Saphan Studio
A method · v0.1

Review-Driven Development

A way of building software with AI agents in which an independent review decides whether a change lands, and tests are evidence for that review.

Why the test alone is no longer enough

Test-driven development rests on one assumption: the test is written by someone who does not yet know how the code will pass it. With AI agents that assumption is gone. An agent writes the test and the code in the same minute. It writes the test first as easily as last, and the test always fits the code.

So a green test run tells you much less than it used to. What still tells you something is a second party that did not write the change and tries to break it.

Tests do not go away. They change their job. A test is no longer the thing that drives the work. It is a piece of proof the author hands to the reviewer, and the reviewer checks whether that proof holds.

The eight rules

  1. The review decides.A change lands only after an independent review. A green test run is evidence for that review. It is not the decision.
  2. The author never reviews its own work.The reviewer is a different agent that did not write the change and, by default, runs on a model from a different vendor.
  3. The reviewer tries to break the proof.It removes the thing the change adds, and the change's own test has to fail by name. A test that cannot fail blocks the change.
  4. The reviewer brings a case the author never saw.One input of the reviewer's own choosing. The change has to refuse it safely, or it is the wrong kind of fix.
  5. Every change says what it does not catch.The author states the limits in writing. A gap the author did not declare is a finding.
  6. Two rejections end the patching.When the same change is rejected a second time, the next round is a design round, not another patch.
  7. A person owns the gate.The reviewer recommends. Every merge passes through a gate a person owns, and a model never holds it.
  8. Every verdict is on the record.Accept, accept with conditions or reject, with the findings and where they are in the code, written into a signed record anyone can check later.

Where this comes from

These are not ideas for a whiteboard. They are the working rules of the fleet of AI agents that builds Saphan Studio, where agents write all of the code and a person signs the plans and owns the gates.

The full mechanics, with the numbers from our own record, are in the product paper Testing and review: how a change earns its merge.

More case studies and product papers: saphan.ai/product

This page as a paper: Review-Driven Development, public edition, version 0.1 (PDF). An edition with measurements is in preparation and will be published here.

Review-Driven Development · version 0.1 · 30 November 2026
Marcin Marzec, Saphan Systems · saphan.ai · hello@saphan.ai