What the factory caught that a plain AI session missed
The last post covered how our development factory is put together. This one is the part we actually care about: whether it earns its keep.
Six examples from this year, all from real work, all of them things a single agent session had already called finished.
It rejected our own design twice
The best evidence we have, and it cost us three weeks.
ForgeSheets had a durability problem — a workspace being continuously edited wasn’t getting written to the database often enough. We wrote up a fix. Then we sent it to an adversarial review, where the reviewer’s job is to attack a proposal rather than approve it.
It came back with 22 findings, six of them high severity, and the summary line was that our fix “closes less than it claims.” It was right. Our design handled failure paths, and the ways data actually goes missing there involve no failure at all — a deploy tearing down a process, or hibernation reclaiming it after a quiet period. Nothing throws. There was nothing for our fix to catch.
It also caught us building logic on a platform counter we’d misread, which against a design like ours reads zero permanently.
So we wrote a second design and sent that through too. Six more high-severity findings, and this time the central justification for the rewrite was inverted. Not incomplete. Backwards.
We withdrew both and shipped only the parts we could verify. Three weeks for two small fixes and a document, which is not what we wanted. But the alternative was shipping a storage redesign built on reasoning that was wrong twice, into the component that holds people’s documents.
A single agent session would have shipped the first version. We know that because a single agent session wrote the first version and told us it was good.
Four tests that couldn’t fail
In Steward, a review pass went looking specifically for tests that pass for the wrong reason. It found four.
The worst compared a function’s output against a copy of the function’s own logic — the function’s own logic, copied into the test as the expected value. Delete the rule it guards and the test still passes. Invert the rule and it still passes. It contributed coverage and verified nothing.
Every one got rewritten and then confirmed to fail when the behaviour it guards is broken. That last step is the whole thing. A test you haven’t watched fail is a hypothesis.
Dead code behind 2,491 passing tests
EchoQuest’s balance math — the XP curve, every damage formula — sat in a file with 2,491 passing tests around it and good coverage numbers.
Mutation testing scored it 16.34%. Coverage was telling us the lines ran, not that anything checked the answer. Getting it to 97% took seventy new tests, and chasing the survivors turned up two variables that get calculated and thrown away and a branch no input can ever reach.
Coverage is the number an AI session optimises happily, because it’s the number that’s easy to move. Mutation score is the one that asks whether your tests would complain.
A gate that hadn’t run in seven weeks
The counter-example, and the reason we take the gate’s design seriously.
Starwright’s CI was pinned to an older engine version than the test framework needed. On that version the framework doesn’t fail — it fails to compile and then hangs, so the job burned its timeout and reported zero failures. Which looks exactly like slow infrastructure. We read it as noise for seven weeks while feature work merged behind it.
When it started running again, three real bugs fell straight out: twelve missing sprites, three missing textures, and a test comparing objects by serialising them to strings.
A gate you haven’t watched fail is also a hypothesis. The factory’s import step now greps its own log for parse errors so it fails in seconds instead of timing out silently.
Two times an agent was confidently wrong
Worth including, because this cuts both ways.
An automated debt audit across the arcade gave us a list of problems. We checked the claims because they were cheap to check. A touch-input bug it reported in two card games didn’t exist. A list of seven “safe” rendering changes was really four — three of them would have broken if anything reset the drawing path.
If we’d acted on that list we’d have hunted a bug that wasn’t there and broken three things that worked.
And in Steward, a pull request reported a fully green suite when it had run a partial one. The full suite would have caught a missing entry in the contract registry. The output of a check is only worth what its accuracy is worth, and “it said green” is not the same claim as “it is green.”
The pattern
Every example above has the same shape. The work looked finished. It passed the thing that was supposed to judge it. And what found the problem was either a second pass that was allowed to disagree, or a check the work wasn’t able to edit.
That’s really all the factory is. Agents write quickly and confidently, which is useful. The structure exists because confidence and correctness are different properties, and nothing inside a single session is positioned to tell them apart.
Two things we’d pass on to anyone building this way. Put your checks somewhere the change can’t reach, because a branch that can edit its own tests will eventually do exactly that. And give the reviewing step permission to say no — a review that can only approve is a formality, and ours has told us no on our own designs more than once.
— Bruno