Starts Nov 23Live Cohort 3 of Vibe Coding & AI Agents (Nov 23, 18:30 MSK): 3 weeks, 9 live hands-on sessionsCohort 3 (Nov 23) →
ReleaseAPI / Product · ActionableHabr AI→ original

Alfa-Bank Executive: AI Agents Accumulate 'Comprehension Debt' Behind Green Tests

Companies trust AI agents more than they can verify them. Tests are green, but only one or two people may understand the system. Vadim Ayuev of Alfa-Bank calls this "comprehension debt." An agent read "refund the delivery fee if the order is canceled before handover to the courier" as "before delivery to the customer," then wrote code and tests around that reading. CI is green, but the rule is wrong. You have to check the task statement itself, not just the result.

AI-processed from Habr AI; edited by Hamidun News
Alfa-Bank Executive: AI Agents Accumulate 'Comprehension Debt' Behind Green Tests
Source: Habr AI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceHabr AI ↗
Editor-in-Chief
Key metric #1Claude formalized Fermat's Last Theorem in Lean in 11 days (13 million lines)
Key metric #2OpenAI released 722 manuscripts, and 3 were withdrawn the next day
Lean verified a weaker claim than stated5 derivatives instead of 4

Imagine AI agents wrote a service for you, and other agents tested it. The tests are green, accuracy is fine, and the economics add up. But when something breaks, diagnosis takes longer and longer, the chain of decisions cannot be reconstructed, and only one or two people may understand the system. Vadim Ayuev, who heads the language model development department at Alfa-Bank, calls this "comprehension debt": a company relies on a system more than it is able to verify and control. Such debt is barely visible on dashboards, which is why it is easy to accumulate.

Proving Is Not Understanding

The reasoning started with an episode of Lex Fridman's podcast about the crisis in mathematics. On September 4, Anthropic reported that Claude formalized the proof of Fermat's Last Theorem in Lean over 11 days with almost no human involvement: about 13 million lines of code and roughly 29,500 intermediate theorems. This is not a new discovery but a recording of an already known proof, yet not long ago such work required years of effort from a large community of mathematicians.

On October 6, OpenAI published 722 mathematical manuscripts. The very next day, 3 of them were withdrawn because of a sign error, and 14 more were corrected. Terence Tao, in a column for Nature, calls what is happening "proof indigestion": people cannot make sense of the results as fast as AI produces them.

Even machine verification does not settle the question. Lean checks that the logical steps are correct, but it does not guarantee that what was proved is what the person intended. Researchers Bastunis, Cirkel, and Hansen compared OpenAI's text with its Lean version and found a discrepancy: in one lemma, the text requires an estimate with 4 additional derivatives, while the formal version requires 5.

In other words, Lean verified a weaker claim than the one stated. This does not prove that the final result is wrong, but it shows the limits of machine verification. When formalizing the Stacks Project, the company Axiom split its results: StacksCore contains statements checked by humans against the original, while StacksFrontier contains material written by agents and verified by Lean but not yet studied by people.

Ayuev suggests asking three different questions. Is the proof correct within the system? Does it prove what we wanted? Do we understand the result well enough to use it?

Green Tests and the Wrong Task

In IT, it is the same story. Suppose the requirements say: "Return the delivery cost to the customer if the order is canceled before handover to the courier." The agent understands this as "before delivery to the customer," and writes code and tests based on its own interpretation. Coverage is excellent, CI is green, yet the business rule is implemented incorrectly. The system confidently confirms correctness relative to a specification that is itself mistaken.

The author also recalls a project where requirements were drafted in a hurry and the client delegated their approval to a junior analyst. The team worked conscientiously on prompts and model configuration but solved the wrong problem, and a substantial part of the work had to be redone.

Independent tests, property-based and mutation testing, and review of the specification itself all help. It is also important to distinguish the independence of a tool from the independence of a verification method: if two different LLMs rely on an equally wrong specification, cross-checking will not save you.

The author also points to a contrast. AlphaDev (DeepMind, 2023) found faster sorting routines, and in 2025 AlphaEvolve found an algorithm for multiplying 4×4 complex matrices using 48 multiplications instead of 49; its scheduling heuristic returned about 0.7% of Google's data center computing resources. Results there are easy to check: the array is sorted, the matrices are multiplied, and computation time has dropped. Jason Wei calls this the asymmetry of verification: AI masters a task more easily when the result can be checked quickly and objectively. Corporate systems usually lack that clarity.

What Comprehension Debt Is

The term comprehension debt for generated code was described by Jason Gorman, and back in 2019 Jonathan Zittrain wrote about "intellectual debt" arising from using machine learning without understanding it. Ayuev wants to apply the term more broadly than code: autonomous agents also carry out operations inside corporate systems themselves.

This debt is not the same as model opacity: you may not know why a neural network gave a particular answer but still understand its behavior, limitations, and the cost of errors. Nor is it the same as technical debt: even carefully written code creates comprehension debt if the team has not grasped its logic. It surfaces during a rare incident, a change in requirements, or the need to quickly replace a model or vendor.

The author does not know an honest way to reduce it to a single number. Instead, he proposes looking through the eyes of banking risk management: from exposure and the cost of error to the independence of checks and the repayment of the debt. Agents require more caution than models: a model answers, while an agent acts, and model quality is only part of the risk.

The practical takeaway for teams: measure not only accuracy but also how much time diagnosis takes, whether the chain of decisions can be reconstructed, and how many people can actually make sense of a failure. The same AI tools can help pay down the debt by explaining the code. But, in the author's view, signing off on a decision will still have to be done by a human.

Story

Key Questions Answered

What are the key details on Proving Is Not Understanding?

The reasoning started with an episode of Lex Fridman's podcast about the crisis in mathematics. On September 4, Anthropic reported that Claude formalized the proof of Fermat's Last Theorem in Lean over 11 days with almost no human involvement: about 13 million lines of code and roughly 29,500 intermediate theorems. This is not a new discovery but a recording of an already known proof, yet not long ago such work required years of effort from a large community of mathematicians.

What are the key details on Green Tests and the Wrong Task?

In IT, it is the same story. Suppose the requirements say: "Return the delivery cost to the customer if the order is canceled before handover to the courier." The agent understands this as "before delivery to the customer," and writes code and tests based on its own interpretation. Coverage is excellent, CI is green, yet the business rule is implemented incorrectly. The system confidently confirms correctness relative to a specification that is itself mistaken.

What Comprehension Debt Is?

The term comprehension debt for generated code was described by Jason Gorman, and back in 2019 Jonathan Zittrain wrote about "intellectual debt" arising from using machine learning without understanding it. Ayuev wants to apply the term more broadly than code: autonomous agents also carry out operations inside corporate systems themselves.

ZK
Zhemal Khamidun — CPO at Alpina Digital, product manager of AlpinaGPT. Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
What do you think?
Loading comments…