Your team’s coding agents now open more pull requests in a day than your reviewers used to see in a week, and someone has proposed letting green checkmarks merge them. Before you agree, separate what is known from what is assumed. The one sourced point behind this piece is a headline: fully automated “software factories” still need human help, according to Sonar CEO Tariq Shaukat. Everything beyond that is general analysis, not a report of what he said.
What is sourced and what is not
The source is an article published on 2 December 2026. Its headline attributes to Shaukat the view that AI software factories still need human help. In this piece, “software factory” is shorthand for a pipeline where AI agents write and ship code with little manual involvement. That is a working definition used here, not a quote.
Only the headline was available when this was written. His reasoning, examples and any data are not represented. If you plan to rely on specifics, read the original article first.
Any claim about verification is easier to believe when you test it yourself. Someone who sells verification tooling has a reason to stress verification, and that does not make the claim wrong. It does mean the claim is a hypothesis to check against your own repositories.
Why generating code got cheap but trusting it did not
Writing a diff and trusting a diff are different costs. An agent can produce a change quickly. Confirming that it does what the business intended, fits the architecture and does not open a security hole takes someone who understands the system.
Three mechanisms can make review the bottleneck. This is reasoning, not measured data:
-
Volume. Review effort grows with the number of changes. If generation speeds up and reviewers do not, queues grow or reviews get shallow.
-
Unfamiliarity. Reviewers of agent output have no author to ask about intent, and code you did not write is harder to judge.
-
Plausibility. Generated code often looks tidy and compiles. Polish can lower a reviewer’s guard even when the logic is subtly wrong.
The failure to fear is rarely spectacular nonsense. It is a change that passes every check you wrote and still violates an assumption nobody wrote down.
Where automated gates are enough and where people decide
Ordinary rules-based automation is the right tool for mechanical, repeatable checks: formatting, type errors, unused code, known vulnerability patterns, dependency policy, test failures and coverage thresholds. These need no AI at all. Keep them strict, because they scale with volume at low marginal cost. For low-risk changes such as documentation and routine non-executing configuration, those gates alone may be sufficient.
Gates are weak on questions of intent:
-
Does this feature match what the customer asked for?
-
Does this change belong in this service or another one?
-
Is this the right trade-off between speed, cost and safety?
-
Who is accountable if it fails at 3 a.m.?
Tests written by the same agent that wrote the code deserve suspicion. They tend to confirm what the code does rather than what it should do. Tests defined by a person or an independent process carry more weight.
An AI reviewer is a separate question. It can add a useful second look, but its miss rate on your codebase is unknown until you measure it. Treat it as another check, not as a replacement for an accountable human.
Measuring instead of guessing
You lack evidence of how well any reviewer, human or automated, catches defects in your codebase. Measure it.
A simple test: for a quarter, tag changes by authorship (human, AI-assisted, agent-drafted) and track rework, reverts and escaped defects for each. If agent-drafted changes show no higher escape rate after your gates, you have evidence to loosen review for that risk tier. If they do, you have evidence to keep it. Small samples will be noisy, so compare within a risk tier rather than across the whole repository.
Two accounting cautions. Adopting AI tools is not the same as running production automation, so count only changes that actually flow through an automated path. And reviewer hours saved are capacity, not automatically cash savings.
Practices to try this quarter
These are suggestions from general engineering practice, not reported results from any team.
- Tier changes by risk, not by author. Decide review depth from what the code touches.
- Cap diff size. If a reviewer cannot hold the change in their head, split it, and instruct agents to produce smaller pull requests.
- Require tests the author did not write. Some verification should come from a human-specified or independent source.
- Label AI-authored changes. You cannot measure what you do not tag.
- Name an accountable human for every merge. Approval without ownership is a rubber stamp.
- Protect reviewer time. If review is the bottleneck, staffing and rotation need attention, not just tooling.
Decision aid: how much human review does each change need?
This table is the author’s own starting heuristic, not a validated standard. It has not been tested against real incident data. Have senior engineers on your team adjust it before adopting it.
| Change risk | Inline assist / autocomplete | Agent-drafted PR | Fully agent-merged |
|---|---|---|---|
| Docs, comments, non-executing config | Automated gates only | Automated gates only | Gates plus sampled human audit |
| Internal tooling | Gates plus normal review | Gates plus one human reviewer | Hold until your own escape data supports it |
| Customer-facing logic | Gates plus one human reviewer | Gates, domain-owner review, tests the agent did not write | Not recommended |
| Auth, payments, personal data | Gates plus domain-owner review | Human sign-off, security review, independent tests | Do not auto-merge |
Five-question check before any agent-authored merge
- Who is accountable? A named person, not “the pipeline”.
- Are there tests the AI did not write? If not, add some or raise the review level.
- Is the diff reviewable in one sitting? If not, split it.
- Is the code security-sensitive? If yes, use the bottom row whatever the level of autonomy.
- Do we track escaped defects by authorship? If not, you cannot justify changing the policy later.
Error handling and oversight
For security-sensitive code, automated gates and AI reviewers have unknown miss rates until measured. Plan for misses: keep fast rollback, require a qualified engineer to own each sensitive merge, and review escaped defects as a team. Do not treat a passing pipeline as a safety case.
Next step
Pick one service this week. Start tagging every change by authorship and risk tier, and record reverts and post-merge defects for 90 days. Use that data, not a headline or an agent demo, to decide where review can safely shrink.
Frequently Asked Questions
Do AI software factories still need human help?
According to the headline attributed to Sonar CEO Tariq Shaukat, yes. Beyond that, this analysis suggests humans are most needed for questions of intent, trade-offs and accountability, which automated gates handle poorly.
Which checks can be fully automated?
Mechanical, repeatable checks such as formatting, type errors, unused code, known vulnerability patterns, dependency policy and test thresholds. Keep them strict, since they scale with volume at low cost.
Should AI-written tests be trusted to approve AI-written code?
Treat them with suspicion. Tests written by the same agent tend to confirm what the code does rather than what it should do. Prefer tests defined by a person or an independent process.
How can a team decide whether to loosen review for agent-drafted changes?
Tag changes by authorship and risk tier, then track rework, reverts and escaped defects for a quarter. If agent-drafted changes show no higher escape rate after your gates, you have evidence to relax review for that tier.
Should anyone be accountable for an agent-authored merge?
Yes. Name an accountable human for every merge, because approval without ownership is a rubber stamp and a passing pipeline is not a safety case.
Related Search Queries
Why does code review become a bottleneck with coding agents?
Review effort grows with the number of changes, reviewers have no author to ask about intent, and tidy-looking generated code can lower their guard even when the logic is subtly wrong.
How much human review does an agent-drafted pull request need?
It depends on risk, not author. Docs and non-executing config may need only automated gates, while auth, payments and personal data need human sign-off, security review and independent tests.
What is a software factory in AI development?
Here it means a pipeline where AI agents write and ship code with little manual involvement. This is a working definition for the article, not a formal standard.
What should be checked before merging agent-authored code?
Confirm who is accountable, whether independent tests exist, whether the diff is reviewable in one sitting, whether the code is security-sensitive, and whether escaped defects are tracked by authorship.
How do you measure AI code quality in your own repositories?
Label changes by authorship and risk tier, record reverts and post-merge defects over a set period, and compare within a risk tier to reduce noise from small samples.
Can an AI reviewer replace a human reviewer?
Not on its own. It can add a useful second look, but its miss rate on your codebase is unknown until measured, so treat it as another check rather than a replacement for an accountable human.

Add a Comment