IT Brief UK - Technology news for CIOs & IT decision-makers
United Kingdom
When AI builds the software, who is responsible for making sure AI-generated code works?

When AI builds the software, who is responsible for making sure AI-generated code works?

Fri, 27th Nov 2026 (Today)
Konstantin Klyagin
KONSTANTIN KLYAGIN Founder Redwerk and QAwerk

According to Sonar's November 2026 developer survey, seventy-six percent of developers and engineering managers say they generate AI code faster than they can verify it. I founded Redwerk in 2005 and have spent two decades building and testing software, which is why that number stood out to me. Producing code has become easy, and someone on your team still has to understand it and answer for it when customers use it, which makes AI-generated code quality a question for any business shipping software.

In TestMu AI's State of AI in Quality Engineering 2026 report, 81% of teams have merged AI-written code or tests without a complete understanding of them, and 44% report more escaped defects or production incidents as AI-generated code grew. The respondents come from one vendor's community, which makes the numbers directional. The figures leave the cause of those defects open, and my own question is whether existing engineering processes can absorb the volume of code AI produces.

From AI-Built Prototype to Production-Ready Software

A founder builds an app with AI coding tools and ends up with a polished interface and a demo that impresses investors. A prototype like this makes sense for testing a business idea, and the trouble starts when the founder treats a smooth demo as proof that paying customers can rely on the product.

A working login screen confirms that people can register and sign in. You still have to check whether one user can open another user's account and how the app stores credentials, because a demo answers neither question.

Forty percent of teams say AI writes more than half of their production code, so these questions reach far past early prototypes. At that volume, structured review of AI-generated code becomes routine work for mature products as well as new ones.

Before investing further in an AI-generated prototype, I would have an engineer assess its architecture, security, dependencies, and maintainability. Those four areas set what the product will cost you to change and defend once real users arrive.

Sometimes you can improve the existing code step by step after the assessment. Other times you will spend less by rebuilding specific components than by maintaining software with a weak structure for years.

Who Is Accountable for AI-Generated Code Quality

My position is straightforward: responsibility for engineering stays with the people who use AI to produce code. A developer who accepts the tool's output owns what ships.

The developer who submits a change should understand what it does and how it interacts with the existing application. If that developer cannot explain why the code works the way it does, the team should investigate further before anyone approves it.

Quality assurance specialists have a different job: they challenge assumptions and examine unexpected user behavior, and they carry out independent verification against the application's requirements. Their distance from the code lets them test those requirements without sharing the author's assumptions.

Engineering leaders set the conditions for release, which means defining mandatory security checks and acceptable risk, and naming who can approve or block a deployment.

Product owners define what successful functionality means from the customer's perspective. Acceptance criteria written that way give developers and testers a target beyond the implementation, so verification covers whether the feature solves the customer's problem.

How to Verify AI-Generated Code Before Release

Only 41% of teams run any automated check on AI-written code before merge, and 55.1% rely on a person to review and test it by hand. A human approver can make an informed decision only with enough context and evidence in front of them.

I recommend separating code generation from verification, because an AI tool that writes both an implementation and its tests can build the same incorrect assumption into each. Independent testing starts from business requirements and expected user behavior. Automated tests check those expectations on each run, and QA engineers investigate the scenarios that call for judgment.

Teams should set release criteria before development begins, and the depth of verification should match the consequences of failure. A cosmetic interface change calls for lighter scrutiny than a feature that handles payments or medical information.

Teams should run automated tests before they merge code, covering critical functionality and the existing features a change could affect. Security reviews should examine access controls and sensitive data handling, along with exposed credentials and vulnerable dependencies, and teams should plan in advance how they will detect failures in production and restore service.

Engineering leaders should report a release that misses its quality criteria and present the options. Delaying the deployment or reducing its scope is better than approving software because a deadline is approaching.

AI amplifies the strengths of organizations that already perform well and the dysfunctions of those that struggle, so a feature generated in an hour carries little business value when engineers spend several days correcting it. I would track how long changes take to reach production, how often deployments need corrective work, and how long teams take to recover from failed releases, which line up with established software delivery performance metrics.

I would add the time engineers spend verifying AI-generated output. If generation speeds up and review queues grow, the team has moved its bottleneck to verification.

Before you approve your next release that contains AI-generated code, ask your engineering team who owns each change, what independent testing covered it, and what happens if it fails in production. If the team cannot answer, the release is not ready, because writing software faster pays off only when the business can deliver it with confidence. If the answers fall short, an independent code review or software audit from Redwerk will show where your AI-generated code quality stands before your customers find out.