OTWopentechwire
Tech Intelligence, Openly Wired
Dev

Why AI Code Generators Cannot Yet Replace Human Oversight

Sonar's chief executive argues that the automation of software development hinges less on generating lines of code than on validating them within complex, real-world systems.

KW
Kenji Watanabe
Hardware & Products Reporter · Tokyo
Dec 4, 2026
5 min read
Why AI Code Generators Cannot Yet Replace Human Oversight
Credit: Sonar

The Confidence Problem

AI-driven code generation has reached a point where producing functional snippets is trivial. The harder question is whether those snippets work reliably when integrated into production systems spanning millions of lines. Tariq Shaukat, chief executive of Sonar and former president of Google Cloud, framed this tension at the AI Dev conference in New York last week: code is now abundant, but confidence in its correctness has become scarce.

Shaukat's remarks addressed a practical gap that has emerged as software teams adopt large language models for development. Demonstrations of AI coding tools typically showcase isolated tasks in clean environments. Real codebases, by contrast, carry years of architectural decisions, dependencies, and implicit constraints that models struggle to infer. The result is code that may execute but fails to align with the broader system it inhabits.

Inconsistent Judgement at Scale

One illustration Shaukat offered involved running the same code-review model multiple times against a single codebase. On the first pass, the model flagged 40 issues. A second run identified 11. A third found 18. The variance exposes a fundamental limitation: models lack stable judgement when evaluating non-trivial systems.

The instinct to deploy additional agents as reviewers compounds the problem rather than solving it. Each agent introduces its own variance, consumes more inference tokens, and adds latency without guaranteeing convergence on a correct answer. Shaukat's position is that stacking models does not substitute for the structured verification processes that human engineers have built over decades.

Harnesses and Context as the Solution

The path forward, according to Shaukat, lies in encoding domain expertise directly into the scaffolding around the model. Instead of asking an agent to make open-ended judgements, teams can specify the exact security vulnerabilities to check for, provide examples of valid and invalid patterns, and constrain the model's output to fit known architectural rules. This approach shifts the burden from the model's reasoning to the harness that governs it.

At that point, the quality of the automation depends on the quality of the encoded knowledge. Teams with deep expertise in their own systems can build harnesses that guide models toward reliable results. Teams without that expertise will struggle, regardless of which model they use.

Dark, Light, and Dim Factories

Shaukat borrowed manufacturing terminology to describe three tiers of automation in software development. A "dark factory" runs without human oversight, suitable for low-stakes code where errors carry minimal cost. A "light factory" requires human review at every step, often mandated by regulation or risk tolerance. Most organisations, Shaukat suggested, will operate "dim factories" where humans verify selectively based on system criticality and confidence in the automation.

For global enterprises, core systems fall into the light or dim category. Peripheral tooling or internal scripts may qualify for full automation. The distinction turns on risk appetite and the consequences of failure. In regulated industries, certain code paths must be reviewed by a person, regardless of the model's performance.

The Human Role Redefined

If models handle the mechanical act of writing code, what remains for human engineers? Shaukat outlined three areas: defining what to build, specifying what "good" and "done" mean, and designing the verification process. Functional requirements are only part of the specification; architectural compatibility, adherence to internal standards, and alignment with the existing codebase all require explicit instruction.

Models, left to their own devices, optimise for the shortest path to a working solution. They do not inherently understand the trade-offs that human developers internalise through experience. An agent might choose a dependency that works but violates the team's security policy, or structure a module in a way that breaks future extensibility. Human oversight ensures that the code not only functions but fits.

Shaukat expects that developers will write almost none of the actual code in the near term. That does not mean they step away from the process. Instead, they spend more time on context-setting, verification design, and review. The shift is from typing to orchestration.

Verification as the Bottleneck

The emphasis on verification reflects a broader reality: generating code is now cheaper than confirming its correctness. This inverts the historical bottleneck in software development, where writing code was slow and testing was faster. Now, models can produce thousands of lines in seconds, but validating those lines against a complex codebase remains labour-intensive.

Shaukat compared the dynamic to household appliances. A washing machine reliably cleans clothes, but users still check the results periodically. The machine earns trust through repeated evidence of performance. AI code generators have not yet accumulated that evidence at scale. Until they do, verification remains the gating factor in adoption.

Implications for the Industry

The conversation points to a bifurcation in how organisations will adopt AI for software development. Teams with mature engineering practices, deep domain knowledge, and the resources to build custom harnesses will extract significant productivity gains. Teams without those advantages may find that AI code generators introduce as many problems as they solve.

Shaukat's framing also challenges the narrative that coding is a solved problem. The mechanical act of writing syntax is increasingly automated, but the judgement required to build reliable, maintainable systems remains out of reach for current models. That judgement encompasses architecture, security, performance, and compatibility, all of which demand expertise that cannot yet be distilled into prompts.

For now, the software factory model requires human operators. The machines handle repetition and speed, but the design, oversight, and verification rest with people. Shaukat's expectation is that this division of labour will persist for mission-critical applications, even as the ratio of code written by humans continues to decline.

Next Steps for Development Teams

Organisations evaluating AI code generators should start by auditing their risk tolerance and verification capacity. Low-stakes systems offer a testing ground for full automation. High-stakes systems require investment in harnesses, review processes, and the expertise to configure both. The middle tier, where most enterprise software lives, demands a hybrid approach that balances automation with selective human oversight.

Shaukat's comments suggest that the competitive advantage in AI-driven development will accrue not to those who adopt models fastest, but to those who build the most effective verification systems around them. The models themselves are increasingly commoditised; the differentiation lies in how teams integrate them into existing workflows and codebases.

The industry is still in the early stages of this transition. The tools are improving, but the practices for using them at scale remain under development. For human engineers, the challenge is not whether to adopt AI, but how to retain control over the systems they build with it.

Read next
Dev

Turning Laptop Screens Into Raspberry Pi Monitors

Marcus Halloran · 7 min
Dev

AI Agents Force Enterprises to Rethink Runtime Security

Daniel R. Whitfield · 5 min
Dev

Anthropic Hands Merge Approval to AI with Claude Ship

Arjun S. Mehta · 5 min
Spot something wrong? Email info@asiapresscentre.com. We log every correction publicly.