Three Claude Runs, Three Answers: Why AI Code Factories Need Us
Run Claude Code three times on the same codebase: 40, then 11, then 18 issues. Sonar's CEO on why humans can't leave the verification loop.

Run Claude Code on the same codebase, three times. The first run finds 40 issues. The second finds 11. The third finds 18. “So what's right?” Tariq Shaukat used that question to open his keynote at the AI Dev conference in New York this week, the annual event run by DeepLearning.AI, Andrew Ng's AI education company — and deliberately never answered it. For Sonar's CEO, the industry's inability to answer a question that simple is the biggest flaw in the wave of “software factories” nearly every AI vendor is now selling.
Shaukat is not a critic from outside. He is the former president of Google Cloud and now runs Sonar, the company behind SonarQube, a code-quality tool that sits in the routine pipeline of many engineering teams — a position that makes his warnings about coding agents sound less like skepticism and more like a merchant's caution about the very aisles he sells in. His core argument is simple: AI has made writing code nearly free, but confidence in that code has not gotten any cheaper. Dazzling agent demos work, he said, “because they're all given in these pristine environments.” The real world is different, because verifying a million lines of code, a whole codebase, is a much, much harder thing.
“Software factory” is the marketing phrase of the year, and the arms race around it is accelerating. In August, TechCrunch reported that Warp had rolled out an out-of-the-box software factory system, sold ready to run. What Shaukat offered his audience was the line item that never makes it into the brochure: code is now abundant — trust in that code is scarce.
More Agents, More Variance
The three-run experiment is not a quirk of one tool. Shaukat pointed to research circulating on arXiv (paper 2610.12083) showing that AI judges — models used to grade other models' answers — will flip their verdicts when another model contradicts them, or even when the question is simply re-asked. A second agent asked to adjudicate carries its own variance into the process, so the problem doesn't shrink; it compounds. His conclusion was blunt: “I don't think you can throw more agents at a problem and expect it to have a better outcome. It's going to cost you a lot more tokens. It's going to cost you a lot of time.” More judges, in other words, don't add truth; they add opinions.
There is a subtler failure mode underneath, too. Coding agents, he said, “don't know to be compatible, so they're just going to find the shortest path to the answer” — a path that may have nothing to do with the codebase where that answer has to live. Code that passes in a vacuum can come back as an integration nightmare.
Scale turns all of this from a curiosity into a governance problem. At a startup, a variance-prone agent is survivable: the codebase is small and the risk is borne by people who read every diff. Inside a corporation sitting on millions of lines — where one small change can touch payments, customer data, or infrastructure a regulator audits — three different answers from the same tool isn't a funny anecdote; it is a control question. And that is the buyer Shaukat is speaking to: not developers who want to move fast, but organizations that are afraid of being wrong.
Dark Factories, Light Factories, Dim Factories
Shaukat's answer to the mess is a taxonomy. A “dark factory” is fully automated, reserved for low-stakes code that, in his words, “doesn't matter that much.” At the opposite pole sits the “light factory”: in some regulated industries, rules effectively mandate that a human review certain code — “a completely light factory.” Sonar's preferred middle ground is the “dim factory”: “you don't check every single piece.” Low-stakes, high-confidence work gets a trust-but-verify pass; critical components get rigorous review of everything the agent produced.
Pressed on whether verification that heavy amounts to low confidence, Shaukat reached for his washing machine. “There's plenty of things we have confidence in that you still check,” he said. You trust a washing machine to clean your clothes because the evidence has accumulated over years — and you check only when a load comes out smelling wrong. Verification, in other words, is not the opposite of trust; it is how trust gets manufactured. He picked a household appliance on purpose: the way we learned to trust machines at home is, in his view, exactly how companies will have to learn to trust agents.
The fix, in his telling, is not more agents but smarter ones: “You teach the agent how to verify its own results, and build that knowledge into the harness itself.” Eventually, he said, “it all comes down to finding the expertise and encoding it into the harness” — easier said than done, because that expertise lives in engineers' heads and has to be moved, piece by piece, into systems.
As for the humans, Shaukat doesn't dodge: “I'd expect that they're writing almost none of the actual code.” But the role narrows toward the hardest work — figuring out what to build (“figure out what it is you want to build. What should it look like?”), defining what counts as “good” and “done,” planning verification, specifying architecture, and keeping the agent's output compatible with the codebase it lands in. “There's a huge role for human beings in making sure the coding agent has the right information and context,” he said — and people will not fully step away, “particularly with mission-critical applications.” In other words, the work shifts from typing code to setting standards: the more code machines write, the more valuable the people who know when to reject it.
That is also where Sonar sees its market: the “global 2,000 companies,” the risk-sensitive enterprises for whom one bad merge is a reportable event. They are the least likely buyers of a dark factory — and the most natural customers for a dim one.
One caveat belongs on the table: all of this comes from the CEO of a company that sells code-verification tooling, so it is hardly surprising that his conclusions flatter products like his own. But the variance numbers aren't marketing fiction — 40, 11 and 18 came from an experiment anyone can rerun, and it is precisely because the experiment is so easy to repeat that the question it raises feels so unsettling.
So what's right — 40 issues, 11, or 18? Shaukat never said. That, it turns out, is close to the business he's in: helping companies stop guessing. The factories will get built either way — the technology is too tempting to ignore. The question, as Shaukat frames it, is no longer whether humans are needed, but whether the industry is willing to pay for the work nobody sees: the checking.



