In November a developer's post went viral: a year earlier, their company had made programming with AI mandatory. The result, as reported by Benzinga: the codebase has tripled in size, there is duplicate code everywhere and nobody understands how much of the software works anymore. Meanwhile, the two experienced people who reviewed changes and asked the awkward questions have left.
It's easy to blame AI. I think the problem is something else, and it isn't even new.
Code that only its author understands
In the Hacker News discussion, several comments point out that, to be honest, nobody understood the codebase before AI either. And that's true: for years, code was really understood only by the person who wrote it.
You could see it clearly at handover. When a project changed hands, its author had to spend hours explaining it to someone else. If that person could no longer be reached, only one option was left: work out how it functioned by reading the code, a real reverse engineering job.
More than once we have taken over software already in production without the team that built it. Before touching a single line, we had to analyse the code and document its architecture: understand why it was built that way, not just how.
What AI changes: volume
So the problem isn't new. What changes is the volume. An AI agent produces in a day what a person writes in weeks. Code that nobody understands piles up much faster, and there isn't even an author to ask.
Code gets out of control for recurring reasons:
- Producing it costs almost nothing. Code arrives in seconds and looks clean, so it gets accepted without much thought.
- It duplicates instead of reusing. AI tends to rewrite from scratch instead of reusing what already exists. GitClear's analyses of code up to 2024 show more copy-paste and less refactoring as AI assistants spread.
- Nobody decided the architecture. Without specifications and an overall design, AI fills the gaps its own way, and differently every time. I covered this in the article on vibe coding.
- Reviews aren't real reviews. Changes too large to understand, approved without a look, or handed to another agent without anyone reading what it found.
The numbers: the bottleneck has moved
Faros AI's 2026 report analysed two years of data from 22,000 developers across more than 4,000 teams. With heavy AI use:
- work completed per developer goes up (+34% tasks closed);
- but bugs per developer rise by 54% and incidents per change more than triple;
- 31% more changes are merged with no review at all, neither human nor agent;
- median review time, waiting included, becomes five times longer;
- and a quarter of changes are already reviewed by AI agents, up from none before.
Faros sells analytics tools for engineering teams, so the numbers deserve some caution. The direction, though, is clear: writing code is now cheap; understanding it is not. Time is no longer spent on writing, but on understanding what is going on and making sure it is done well.
Understanding code doesn't mean reading every line
A clarification is needed here, because in the previous article I wrote that we don't reread the code. The two things fit together.
Understanding code doesn't mean reading every line. It means knowing what it's for: the architecture, the boundaries between its parts, the reasons behind the design decisions. The individual line of implementation isn't interesting; the decision behind it is.
How we stay in charge
- A person decides the architecture, before asking for code. It's the most effective way to stop AI from making important decisions for us.
- Small tasks. A small change can be understood; a huge one gets approved on trust.
- Specifications and tests first. When it's clear what should happen, verification becomes objective.
- Decisions are written down. The why of a decision, not the how: that's the part that must stay understandable even when AI writes the code.
- Removing code is worth as much as adding it. Regular refactoring, before duplicates become the norm.
- AI does the review, a person makes the call. You don't need two parallel reviews, one by AI and one by a human line by line. AI reviews the code and writes a report; the person reads the report and decides whether the change can be approved.
In our work AI is present at every stage, but it is never out of control. The process rests on three things: documentation that is always up to date, regular code maintenance, and specifications checked by a person, who makes sure they are consistent with the architecture and design that were decided. We do use agent reviews, but adversarially: if one model wrote the code, a second model writes the tests and a third does the review. The reason is the one I described in the previous article: some studies suggest that models from the same family tend to share the same blind spots. None of them approves anything: the outcome is always a report, and the decision stays with us.
Report-based review only works under one condition, though: whoever reads the report must have guided how the code was built. If they decided the architecture and wrote the specifications, the report is enough to tell whether the work is done well. If they can't decide from the report, the problem isn't the review: it's upstream, in how they guided the AI.
If you commission software
A very low price is nothing new. In the past it often meant someone using tools and frameworks without knowing what was behind them. The real cost came later, when an experienced developer had to rework the code: it often took more effort than starting from scratch.
Today the same price can mean the same thing: using AI without understanding it and without knowing how to guide it. The problem is identical, with one difference: there is much more code to fix. Putting it right will take longer, and so it will cost more.
Three questions to ask whoever develops your software:
- Who decides the architecture?
- Who reviews the changes, and how?
- If you switch supplier tomorrow, will anyone be able to explain how it works?
In short
AI is an accelerator, not an autopilot. It's a tool, and like any tool it has to be used well: it speeds up those who know where they're going, and takes those who don't off the road faster.
Do you have software written with AI that nobody can manage anymore, or do you want one that stays understandable over time? Tell us about your project: we'll get back to you within 24 hours.
The figures cited come from industry reports and should be read as indications, not definitive proof.