All posts

Nobody reads the code anymore. So who understands it?

Agents write the code and other agents review it. What that does to a team's knowledge of its own codebase, and what we built Code wiki to do about it.

Ercan Er9 min read
A two-panel cartoon. In the first panel a toddler runs toward a man coming through the door with a briefcase, under a speech bubble that reads PR, 231 files changed. In the second panel the man has kicked the toddler out of the frame, a burst reads APPROVED, and his speech bubble reads Straight to prod.

In June 2025 the CTO of a mid-sized software company set a goal: every engineer merges twice as many pull requests, with AI. Researchers from Carnegie Mellon and Stanford followed 802 developers and 196,212 pull requests there until April 2026. The goal was reached in the tenth month. Code review paid for it. The load on each reviewer doubled, and within months automated review covered more of the work than people did.

It is not one company. Faros AI's telemetry from 22,000 developers compares each organization's periods of lowest and highest AI adoption. Pull requests are 51 percent larger. Median time in review is up 441.5 percent. Pull requests merged with no review at all, by a person or by an agent, are up 31.3 percent.

A conveyor carries stacks of paper under a stamping press, and the stacks that have passed carry a stamp. Beside the line stands a reading desk with a loupe on it and an empty stool. Its labels read pull requests 51 percent larger, median time in review up 441.5 percent, 31.3 percent more pull requests merged with no review at all, twice the review load on each reviewer, and 196,212 pull requests followed.A conveyor carries stacks of paper under a stamping press, and the stacks that have passed carry a stamp. Beside the line stands a reading desk with a loupe on it and an empty stool. Its labels read pull requests 51 percent larger, median time in review up 441.5 percent, 31.3 percent more pull requests merged with no review at all, twice the review load on each reviewer, and 196,212 pull requests followed.

The line runs. The reading desk beside it is empty. Sources: Faros AI and the Carnegie Mellon and Stanford study.

So this is an ordinary day now. An agent wrote the implementation, another agent reviewed it, the tests passed, and you read the summary and merged. The feature probably works. If a customer reports a problem with it next week, do you know where to look?

Most of our work at IronBee is verifying what coding agents produce. This post is about the other half of the problem: the people who have to maintain it.

Disclosure: we build IronBee, and Code wiki is our product. The research below is linked so you can check it against our reading.

What pull requests used to teach us

Anyone who has spent a few years on one repository learned much of it by reviewing code they had nothing to do with. A colleague added a background job, and you found out how retries worked. Someone changed an endpoint, and you found out that two other services called it.

Alberto Bacchelli and Christian Bird measured this at Microsoft in 2013. Developers said they reviewed code to find defects. What the reviews delivered was mostly something else: knowledge transfer, awareness of what the team was doing, and alternative solutions. The same study found that understanding the change is the key part of reviewing it.

Nobody put that learning on a sprint board. It came free with the work.

Peter Naur argued in 1985, in "Programming as Theory Building", that this understanding is the program: the code is a written trace of a theory that lives in the people who built it. Margaret-Anne Storey returned to that idea in February 2026 and gave its loss a name, cognitive debt.

Addy Osmani calls the gap comprehension debt: the distance between how much code exists and how much of it any person understands. A junior engineer can now generate code faster than a senior engineer can audit it, and the review that used to spread knowledge through a team has become a throughput problem.

Handing review to agents is a sensible answer to the volume. It leaves the team without the place where it used to learn the codebase.

A healthy codebase can still be in debt

Storey's paper on the subject separates three debts. Technical debt is in the code. Cognitive debt is the erosion of a team's shared understanding. Intent debt is the rationale, goals and constraints that were never written down, or were lost.

Looking up a file is normal. Having nobody who understands the behaviour on the day it has to change is the debt.

In October 2026, Theocharis Tavantzis and eight co-authors, Storey among them, reviewed 76 practitioner sources on this. Their summary: cognitive debt builds up unnoticed behind working code and passing tests. It is a review of what practitioners report, not a measurement of how common the problem is.

What gets delegated along with the code

A study Anthropic published in January 2026 put a number on it. 52 software engineers, mostly junior, learned Trio, a Python library none of them knew. One group could use an AI assistant and the other coded by hand. Afterwards everyone took a quiz.

A height gauge with two columns of stacked discs, titled average quiz score after the coding task. The column for the group that coded by hand reads 67 percent of quiz questions correct. The column for the group that used an AI assistant reads 50 percent, 17 points lower.A height gauge with two columns of stacked discs, titled average quiz score after the coding task. The column for the group that coded by hand reads 67 percent of quiz questions correct. The column for the group that used an AI assistant reads 50 percent, 17 points lower.

Figure 1. Source: Anthropic, 52 participants, Cohen's d = 0.738, p = 0.01.

The widest gap was on debugging questions. And the AI group was not meaningfully faster: about two minutes, a difference that was not statistically significant.

How people used the assistant mattered more than whether they used it. Those who asked it conceptual questions, or asked it to explain the code it had generated, averaged 65 percent or higher. Those who handed over the whole task averaged below 40.

It is one short experiment with a small sample, about learning a new library, and the authors call the results preliminary.

A second experiment, a single-author preprint with 78 participants, tested a fix. One AI group had to explain generated code back before it could go in. Both AI groups produced working code of the same quality. Then the AI was switched off for a 30-minute maintenance task. 77 percent of the unrestricted group failed it, against 39 percent of the group that had to explain.

A height gauge with two columns of stacked discs, titled failed a maintenance task once the AI was switched off. 77 percent of the group that used AI freely failed. 39 percent of the group that had to explain the code first failed.A height gauge with two columns of stacked discs, titled failed a maintenance task once the AI was switched off. 77 percent of the group that used AI freely failed. 39 percent of the group that had to explain the code first failed.

Figure 2. Source: Sankaranarayanan, 78 participants.

What a diff cannot show a reviewer

Here is a change to subscription validation in a SaaS application. The agent has removed trial subscriptions from a check.

- const isActive = status === 'active' || status === 'trialing';
+ const isActive = status === 'active';

Whether that is a bug depends on things that are not in the diff. Maybe the function only serves paying customers. Maybe trial users depend on it for access, and a nightly job uses it to decide whose access to revoke.

A switch block with two keys, one of them pressed down, inside a dashed outline labelled isActive, the only line the diff shows. Wires run from it to three devices labelled nightly job, billing and feature access.A switch block with two keys, one of them pressed down, inside a dashed outline labelled isActive, the only line the diff shows. Wires run from it to three devices labelled nightly job, billing and feature access.
Figure 3. The dashed outline is all the diff shows. The three wires are somewhere else in the repository.

A developer who knows the repository asks about trial accounts at once. A reviewer seeing it for the first time has to find those three consumers before judging one line.

An AI reviewer can search the repository and follow references to rebuild that context. On the fifth pull request of the day in the same repository, it rebuilds it for the fifth time.

That is one of the problems we built Code wiki for.

One description of the repository, read by people and by reviewers

Code wiki is a set of pages IronBee writes for every repository you connect: an overview, where to start, the architecture, and one page per area, with diagrams of how the areas call each other and the main flows through them. The pages are rewritten as pull requests merge into the default branch.

The part we care most about is the citations. A claim on an area page points to a file and a line range at a commit, and every citation is checked to exist. When Google previewed its own Code Wiki, The Register asked the right question: can you trust AI to document your repository? Our answer is to make each claim checkable. The check proves the lines exist. It does not prove the sentence about them is right, which is why the citation is there for a person to open.

A cabinet of drawers labelled repository stands beside a desk with an open binder labelled Code wiki. A thread labelled citation joins one sentence on the page to an open drawer. A reading head labelled review agent hangs over the page, and a stool labelled developer stands in front of the desk.A cabinet of drawers labelled repository stands beside a desk with an open binder labelled Code wiki. A thread labelled citation joins one sentence on the page to an open drawer. A reading head labelled review agent hangs over the page, and a stool labelled developer stands in front of the desk.
Figure 4. One binder, two readers. The thread is a citation, from a sentence back to the lines it describes.

Our review agents read the same pages. In the subscription example, the page on how the application handles feature access tells the reviewer where to start looking. It still has to read the current code before it reports anything.

We keep it to a starting point on purpose. A study by Thibaud Gloaguen and colleagues found that giving coding agents repository context files did not generally improve their success rate, raised cost by more than 20 percent, and that repository overviews in particular did not help. It studied agents solving coding tasks, not reviewing pull requests, but the warning carries over: an overview is not evidence. The wiki narrows where the reviewer looks. The finding has to come from the code.

The same pages are open to the developer. After an agent adds a new authentication flow, you can read which components are involved, where a session is created and which service validates it, then follow a citation down to the condition you care about. This matters most when several agents work in parallel, and nobody can keep up by reading every diff the others merge.

There are two things Code wiki does not do. It cannot recover a reason nobody wrote down. If the team decided that trial accounts keep access for seven days after cancellation and never recorded why, a wiki written from code will describe the seven days and not the decision. That is Storey's intent debt, and only the people making the decision can pay it. And a wiki does not prove that the behaviour it describes works. That takes running the code, which is the other thing we do.

How much of the code is enough to read

The fair objection is that agents let developers work at a higher level, the way most JavaScript developers never read V8. I think that works for our own applications on two conditions: an accurate description of the system, and a way down into the implementation when it matters. Unlike V8, our business rules are ours alone, and they change every time we ship.

For a low-risk UI change, a summary and a verified run of the affected behaviour are enough for me. For a change to authorization, I want someone to understand the policy and read how it is enforced. The overview helps that person find the code. Reading it is still their job.

One habit worth taking from the explain-back experiment: now and then, open a pull request that somebody else's agent wrote and explain what it changes for the rest of the application. If the only way to answer is to ask the agent that wrote it, the team has a knowledge problem that faster review will not fix.

I do not expect developers to go back to reading every line. I would still like to know how my own application works.

Share this post
Now generally available

Ready to ship
AI-generated code with confidence?

Create your account and start verifying what your agents ship. Catch regressions before they reach production.

No credit card required.