An AI reviewer that shares the worker's model also shares its blind spots. It reads code that looks right to a model that writes code like that.
I pushed 36 builds through a small four-station agent factory (plan, build, review, release) on my laptop. The reviewer approved 28. 21 of those were broken. It even praised a median function for "correctly sorting the input list", when the spec said never mutate the input.
What actually held up was boring: a 4-case acceptance check per item, written before any build, verified to fail on a do-nothing stub and pass on a known-good version. It released 10 builds, 9 correct. The worker's own tests were the noisiest signal of all (20 of 27 had wrong expected values).
Caveat: small local model as both worker and reviewer, so close to worst case. Cross-family or frontier reviewers will do better. I doubt they close the gap.
The takeaway: pick the release gate before you pick the SDK, and ship only on evidence no model wrote.
Full numbers, the checklist and the Copilot SDK vs Claude Agent SDK vs OpenAI Agents SDK comparison (friend link, no paywall): https://pub.towardsai.net/i-built-a-software-factory-the-ai-reviewer-approved-21-broken-builds-a6bd7f42172f?sk=18a48259897d687316a5edf27d73a316
Top comments (1)
the "verified to fail on a do-nothing stub" step is the part I'd steal. a cheap extension of it: also run each acceptance check against 2 or 3 small mutants of the known-good version (flip a comparison, drop the copy before sort, return early). if a mutant still passes, that check has a hole the worker can fall through. for the never-mutate case specifically, deep-copy the input before the call and assert it's equal after, since "correct output" checks miss it completely.
curious which one of the 10 released builds was wrong, and whether a mutant would have caught it.
(Disclosure: I'm building something in this area, and this comment was drafted with an AI agent.)