Finished-looking is not finished
Code written with AI assistance arrives looking complete. It is formatted. It has comments. It often comes with a confident explanation of what it does. And it is produced faster than anyone can read it.
Its errors are not the errors of a tired programmer. They are plausible errors: a boundary handled almost correctly, a function that does what its name says in every case but one, a check that is present and never reached. They survive a quick reading because they look like the work of someone who knew what they were doing.
The bottleneck in software has moved. Writing is no longer the slow part. Knowing what was written is.
Why self-review fails
The obvious answer is to ask the AI to check its own work. It will do so willingly, and it will usually approve.
This is not dishonesty. A model reviewing its own output brings the same training, the same assumptions and the same blind spots to the review that it brought to the writing. What it misunderstood the first time it misunderstands again. Telling it to “act as a critical reviewer” changes its tone more than its view.
Asking a second copy of the same model is better, and not by much. Agreement between two readers who think alike is weak evidence.
An old answer
Institutions that have to be trusted solved this problem long before software. Accountants call it separation of duties: the person who authorizes a payment is not the person who records it. Engineering standards for safety-critical software ask for the same thing in their own words: the more that depends on a piece of software, the more independent its verification has to be from its development. DO-178C, the standard for airborne software, and IEC 61508, the standard for industrial safety systems, both scale the independence they require with what is at stake.
None of this assumes that the author is careless. It assumes that nobody sees their own work clearly, and builds that assumption into the structure.
What independence takes
For review of AI-written code to count as independent, six things have to be true.
- The roles are separated. Each reviewer is given only what it needs to see, so that no reviewer can simply repeat another.
- Each has a different test. One asks what the work is meant to do. One tries to break it. One asks whether it survives real conditions. One checks it against what was decided before.
- Agreement is examined. When every reviewer approves at once, that is a reason to look again, not a reason to stop.
- The code is treated as untrusted. Code can carry text written to mislead whoever reads it, an AI reviewer included. Everything under review is handled as data, never as instruction.
- The review ends in a decision. A list of remarks leaves the decision to whoever is in a hurry. A verdict does not.
- The record is kept. A verdict that turns out to be wrong is recorded as wrong, so that the review itself can be measured and improved.
Where a person comes in
Independent review does not remove people from the work. It decides where their attention goes. A reviewer that can say “this is beyond what I should decide” is worth more than one that always has an answer. The most useful verdict a review system can give is sometimes the one that hands the decision to a person, with the reasons attached.
How we do it
CognaWorks Labs builds two systems on these principles. Sentinel reviews designs and code through five separated roles and ends every review in one of four verdicts: proceed, revise, hold, or escalate to a person. Forge builds software under a plan, one step at a time, and sends the assembled result to Sentinel before anything is delivered.
The two halves do not do each other’s part. The maker is never the checker. It is an old rule, and AI assistance has made it more necessary, not less.