Engineering management

Comprehension debt: what it is and how to measure it

By Christian Vismara ·

Comprehension debt is the gap between how much code your system has and how much of it anyone on your team actually understands. AI coding agents make it grow faster, because they write code faster than people can read it.

No tool measures understanding directly, but you can measure its signs: how long reviews take, how often pull requests get approved without a single comment, how often changes get reverted, how many incidents trace back to agent-written code, and whether the owner of a change can explain it without the AI.

I'm Christian Vismara, co-founder and CTO of Digital Kitchen. I run many coding agents in parallel every day, so this is a problem I manage every week. This guide is for engineering managers and founders: where the term comes from, why it grows, and the numbers I'd track.

Where the term comes from

Jason Gorman named it in September 2025: when teams produce code faster than they can understand it, they build up what he called comprehension debt. Addy Osmani wrote about it in March 2026 and defined it as the growing gap between how much code exists in your system and how much of it any human understands.

A close cousin is verification debt. Werner Vogels, Amazon's CTO, used it in his re:Invent 2025 closing keynote, with the line "AI can generate code faster than you can understand it." Comprehension debt is about understanding the code. Verification debt is about checking that it is correct. They grow together, and the fixes overlap.

Why AI agents make it grow

Writing code got much cheaper, but reading and checking code did not, so the share of code that a person has carefully read goes down, even on a careful team.

A 2026 study followed one mid-sized software company after its CTO asked engineers to double their output with AI. Pull request volume grew 3.1 times while the number of people reviewing grew only 1.5 times. The share of pull requests that got a substantive review fell from about 39% to about 21%, while about half were still approved without comment. AI-written pull requests also took about 20% longer from first review to merge. Vendor data from July 2025 points the same way: Faros AI reported that review time rose 91% on teams with high AI adoption, and that AI adoption in general went with pull requests 154% bigger.

There is also evidence that leaning on AI reduces how much people learn about new code. In a randomized trial published by Anthropic in January 2026, 52 mostly junior engineers learned a Python library they hadn't used before. Those with an AI assistant scored 50% on a quiz about it afterwards, against 67% for those who wrote the code by hand.

My own setup showed a related problem with AI reviewers. When my coordinating agent reused one reviewer for several rounds and kept sending it its own fix notes, the reviewer approved a change, and the agent then pushed a commit with edits the reviewer had never seen. I caught it afterwards. A review that looks finished but didn't cover the code is how comprehension debt grows without anyone noticing.

The numbers to track

No single metric captures understanding, so track a small set of signs instead. Most of them come straight out of GitHub or your issue tracker.

MetricWhat it tells youWarning sign
Review time per pull requestWhether review is keeping up with outputRising week over week while output rises
Pull request sizeWhether a reviewer can read the whole changeAgent pull requests regularly over a few hundred changed lines
Approvals with no commentsWhether reviews are real or a rubber stampA rising share, especially on large changes
Revert rateHow often merged work had to be undoneHigher for agent work than for human work
Change failure rate, split by originHow often a release causes a problem, agent work versus human workA gap that grows month over month
Incidents in agent-written codeWhere the real cost landsIncidents that take longer to fix because nobody knows the code
The "explain it" spot checkWhether the owner understands the changeThe owner can't explain a change in two minutes without the AI

The last row is the closest thing to a direct measure of understanding, and it is the cheapest. Once a week, pick a few merged changes at random and ask the person who owns each one to explain what it does and why. No tools, two minutes each. If they can't, that part of the code has become debt.

How to tell agent work from human work

Most of these numbers only mean something if you can split agent work from human work. You don't need special tooling for that. Three cheap labels do it:

01

Branch names. Most agent branches in our product repositories start with a prefix such as claude/ or codex/. We already use those prefixes to skip preview builds, and the same prefixes can split metrics by origin.

02

Commit trailers. Coding agents can add a co-author line to each commit, which makes agent commits easy to count.

03

Pull request labels. A label set when an agent opens the pull request lets you filter review time and reverts in GitHub.

How to keep comprehension debt down

01

Keep changes small. One task per pull request, with a written definition of done. Big agent pull requests are where understanding gets lost.

02

Give every change a named owner. The person who asked for the change is responsible for understanding it, whoever typed it.

03

Use a fresh AI reviewer for every change above a quick fix. The review that clears a change comes from a reviewer that hasn't seen the builder's reasoning.

04

Read the risky code yourself. Login, payments, permissions, sensitive data and destructive database changes always get a human read.

05

Write down the why. Our main product repositories keep a decisions log, so the reason behind a change survives after the session that made it is gone.

06

Budget review time. If review is already the bottleneck, more agents only add more code that nobody has read.

These rules are part of the risk levels I use for every task, which are explained in how I run a software factory with Claude Code. If you're deciding whether to scale agents up at all, read why software factories fail.

What to report to leadership

Founders and boards usually hear about pull requests merged, because that number goes up. I'd report four numbers next to it each month: review time per pull request, revert rate, change failure rate split by agent and human work, and how many spot checks the owner couldn't explain. If output rises and those four hold steady, the agents are helping. If output rises and those four get worse, the team is borrowing against its own understanding.

For the wider picture of costs and when agents pay off, see what is an AI software factory.

Frequently asked questions

What is comprehension debt?

Comprehension debt is the gap between how much code a system has and how much of it the team actually understands. It grows when code is produced faster than people can read it, which is exactly what AI coding agents make easy.

What is verification debt?

Verification debt is the related idea that code is being released faster than anyone can check that it is correct. Werner Vogels, Amazon's CTO, used the term in his re:Invent 2025 keynote. Comprehension debt is about understanding the code; verification debt is about checking it. In practice they grow together.

How is comprehension debt different from technical debt?

Technical debt is a known shortcut in the code that you will have to fix later. Comprehension debt can exist in clean, well-written code: the code may be fine, but nobody on the team knows how it works or why it was written that way. You find out when something breaks and nobody can fix it quickly.

How do you measure comprehension debt?

There is no single accepted metric. You measure the signs: review time per pull request, pull request size, the share of approvals with no comments, revert rate, change failure rate split by agent and human work, and a regular spot check where the owner of a change explains it without the AI.

Does AI code review fix comprehension debt?

No. An AI reviewer helps catch bugs, and I use one on every change above a quick fix. But it does not put understanding into anyone's head. Someone on the team still has to know how the important parts work.

Want the next idea like this when it shows up?

One email a week on what the AI labs released and what it means for teams that build software. Free, and you can leave whenever. If you'd rather put numbers on your own team's review load, book a call.