futuctual.it

TLDR; of actual future news

Softwarefutuctual.it

Sonar CEO Tariq Shaukat warns AI code needs human verification

At a New York conference, he argued that while AI can write code efficiently, verifying its accuracy in complex systems requires significant human judgment and context.

Sonar CEO Tariq Shaukat warns AI code needs human verification

The software factory model remains popular among developers, but experts warn it requires careful tinkering to function effectively.

The problem of confidence

Sonar CEO Tariq Shaukat highlighted a critical gap between the abundance of generated code and the scarcity of confidence in its quality. While AI demonstrates impressive capabilities in pristine environments, real-world complexity exposes significant limitations.

Shaukat noted that verifying small pieces of code is easy for models, but assessing millions of lines across an entire codebase remains difficult:

"The model can verify a small piece of code, but verifying a million lines of code, a whole codebase, is a much, much harder thing. It still requires a lot of judgment to do that."

Research cited at the event suggests AI judges frequently change their minds when contradicted by another model or asked the same question twice. Shaukat illustrated this instability with an example from his own experience:

"In this one codebase I was just looking at, Claude code found 40 issues. Then I ran it again and it found 11. I ran it again, and it found 18. So what’s right?"

He explained that simply adding more agents to solve the problem compounds the issue while increasing costs in both tokens and time without guaranteeing better outcomes.

Finding the middle ground

Shaukat suggested a practical solution: teaching models how to verify their own results by providing specific examples of good and bad outputs, effectively encoding expertise into the verification harness.

He distinguished between different types of software development environments based on risk appetite:

  • Dark factories: Fully automated processes for low-stakes components where regulations do not require human review.
  • Light factories: Processes mandated by regulation or high stakes that require mandatory human oversight.
  • Dim factories: A hybrid approach common in large organizations, where certain parts of the system are fully automated while others undergo rigorous but selective review.

"There are other parts that literally the regulations say you must review this code. A human must review it. So there, it’s going to be a completely light factory."

Shaukat compared software verification to checking a washing machine: humans trust the process based on evidence and experience rather than inspecting every single cycle.

The enduring role of humans

Despite advancements in automation, Shaukat emphasized that human engineers will remain essential for defining requirements, architecture, and verification standards. AI agents lack the contextual understanding necessary to ensure compatibility with existing codebases and organizational standards.

"Agents don’t know to be compatible, so they’re just going to find the shortest path to the answer."

For mission-critical applications, Shaukat sees no near future where humans can completely step away from the development process. While AI will likely handle most actual coding tasks, human oversight remains necessary for planning verification steps and ensuring the right context is provided throughout the build.

More news