# AI code needs human judgment, Sonar CEO says

> Tariq Shaukat argues that while AI writes code faster, verifying it still requires human expertise and careful oversight.
- Title: AI code needs human judgment, Sonar CEO says · TechCrunch
- Summary: Tariq Shaukat argues that while AI writes code faster, verifying it still requires human expertise and careful oversight.
- Keywords: sonar, tariq shaukat, ai development, code verification, software factories, ai dev conference, deeplearning.ai, TechCrunch
- URL: https://shortify.news/TechCrunch/ai-code-needs-human-judgment-sonar-ceo-says
- Source: TechCrunch — https://techcrunch.com/2026/12/02/ai-software-factories-still-need-human-help-says-sonar-ceo-tariq-shaukat
- Author: Russell Brandom
- Published: 2026-12-02T17:02:00+00:00
- Read time: 2 min
- Topics: sonar, tariq shaukat, ai development, code verification, software factories, ai dev conference, deeplearning.ai, technology, startups
## AI writes code, but can't verify it
AI has made writing code easier than ever.The harder problem is determining whether that code works within complex codebases.
## Sonar CEO: confidence in code is scarce
Sonar CEO Tariq Shaukat, formerly president of Google Cloud, highlighted a growing problem at the conference: while code is now abundant, confidence has never been more scarce.
## AI works in pristine environments only
Demonstrations of AI coding work in controlled settings. But in complicated real-world codebases, problems emerge. Verifying a million lines of code requires judgment that AI cannot reliably provide.
## AI models change their minds constantly
Research shows AI judges change their minds when contradicted by another model or asked the same question twice. Shaukat ran Claude code on one codebase three times: it found forty issues, then eleven, then eighteen.

> Claude code found 40 issues. Then I ran it again and it found 11. I ran it again, and it found 18.
## More AI agents won't fix the problem
Adding more agents to verify results compounds the problem because each agent has its own variance. It costs more tokens and time without reliably solving the inconsistency.
## Teach the model what to look for
Instead of adding agents, tell the model the specific security issues to find and what good results look like. Encode expertise into the harness itself so the agent verifies its own results.
## Three levels of automation exist
Dark factories are fully automated for low-stakes code. Light factories require human review by regulation. Dim factories, Sonar's model, check some code but not all, using trust but verify for low-risk parts.
## Verification is not distrust
Checking code does not mean lacking confidence. You verify things you trust work. Shaukat compares it to a washing machine: you know it cleans clothes, but you check if clothes come out dirty.
## Humans define what good looks like
The first step is figuring out what to build and what good means. Humans must plan verification, specify architecture, and ensure agents understand codebase compatibility. Agents find the shortest path, not the right one.
## Humans stay in the loop
For the foreseeable future, humans must ensure coding agents have the right information, context, and verification steps. This is especially true for mission-critical applications.
## Developers won't write code anymore
Developers will write almost none of the actual code. But they cannot simply specify what to build and walk away. They must oversee the entire process.
## Key takeaway

Sonar CEO Tariq Shaukat says AI-generated code needs human verification because AI models give inconsistent results and lack context about existing codebases.

---

Summary: Shortify — https://shortify.news/TechCrunch/ai-code-needs-human-judgment-sonar-ceo-says
Reporting: TechCrunch — https://techcrunch.com/2026/12/02/ai-software-factories-still-need-human-help-says-sonar-ceo-tariq-shaukat

When you use this summary, link the Shortify URL for the summary and credit the reporting to its newsroom.