A concept popularized by Margaret-Anne Storey: the accumulated gap between a system’s evolving structure and a team’s shared understanding of how and why that system works and can be changed over time.
Where technical debt lives in the code, cognitive debt lives in the heads of the people. The software may keep working; the theory of the system fragments. Each new feature becomes harder to reason about because the chain — intent → decision → code — is no longer continuous.
Source
Margaret-Anne Storey — What I’m Hearing About Cognitive Debt (So Far) — Margaret-Anne Storey, What I’m Hearing About Cognitive Debt (So Far) (2026-02-18); follow-up synthesis to her original Cognitive Debt post (2026-02-09).
The Core Diagnosis
Velocity can outpace understanding.
AI tooling lowers the cost of producing structure (code, tests, docs, configs). It does not lower the cost of building understanding. So under default incentives, structure outruns comprehension. The result is a system whose code “works” but whose theory — the why, the rationale, the constraints — has fragmented or disappeared entirely.
Storey’s student-team anecdote (quoted in Simon Willison — Cognitive Debt (link-blog post)) is the cleanest illustration: a team that initially blamed technical debt for being unable to make even simple changes, but on examination the real problem was that no one could explain why design decisions had been made or how parts of the system were supposed to work together. The code was messy, yes — but the bigger issue was that the theory of the system had evaporated.
How Cognitive Debt Manifests
Storey’s catalogue of symptoms:
- Loss of confidence when making changes — every modification feels risky
- Heavier review burden — reviewers carry context the author no longer has
- Debugging friction — no mental model to fall back on when something breaks
- Slower onboarding — there is no theory to onboard into
- Stress and fatigue — the experiential cost; see also Steve Yegge’s “AI vampire” framing and Siddhant Khare on AI fatigue
The cost is not only structural. It is experiential. Developers feel it as anxiety, fog, and lost agency before they see it in the codebase.
The Distributed Theory of the System
Storey’s load-bearing claim: the theory of a software system is not stored in code alone. It is distributed across:
- People — the engineers who carry constraints, history, “we tried that, it didn’t work”
- Documentation — but only if it is a living artifact teams engage with
- Tests — especially ones that capture intent, not just assert outputs
- Conversations — Slack, code-review threads, design-doc comments, hallway talk
- Tooling — linters, CI rules, build configs, scripts — petrified decisions
- AI agents — increasingly, the model’s context window and instructions carry rationale that used to live in a senior’s head
Repaying cognitive debt means maintaining all of these, not just refactoring code or updating an architecture document.
Why This Is Hard to Pay Down
Two structural reasons cognitive debt resists repayment:
- Specs and docs aren’t sufficient if they aren’t living. A document written once and never re-engaged with does not preserve theory — it preserves a snapshot of past theory. Storey: “Specifications and documents are not sufficient if they are not living artifacts that teams actively engage with.”
- The incentives are shifting against repayment. AI lowers the cost of producing structure. So the ratio of structure-produced to understanding-maintained gets worse by default. Disciplined teams now have to consciously throttle their structure-production to let understanding catch up.
This rhymes with Mario Zechner’s booboo compounding: the human bottleneck used to limit production rate to comprehension rate; remove the bottleneck and the two decouple.
Mitigation Practices
What Storey’s readers reported as actually working:
- More rigorous review — not “did this compile” but “do I understand why this is structured this way”
- Tests that capture intent — the test describes what the system is supposed to do, not just what it does
- Continuously updated design documents — versioned alongside code, not separate; touched every time the design changes
- Disposable prototypes — explicit “this code is being thrown away” prevents premature commitment to half-understood structures
- Using AI to reduce the cost of the practices above — e.g., AI for design-doc maintenance, dependency mapping, explanation; AI as the mitigator, not just the accelerator
The last one is the key inversion: AI is most useful for cognitive debt when it is pointed at theory maintenance, not just code production.
Senior Engineers Are Not Immune
The vault’s senior-developer evidence — Simon Willison in particular (Simon Willison — Cognitive Debt (link-blog post)) — comes from this discussion thread. Willison’s quote, now widely cited (including in Lars Faye - Agentic Coding is a Trap):
I no longer have a firm mental model of what they can do and how they work, which means each additional feature becomes harder to reason about, eventually leading me to lose the ability to make confident decisions about where to go next.
This is the canonical careful senior — Django co-creator, 30 years of experience, prolific public thinker — reporting exactly the symptom Storey catalogued. The thesis is not “juniors are losing skills”; it is “the loss is structural and skill-independent.”
The Forward Question
Storey’s open question: as AI reduces technical friction, will shared understanding become the bottleneck on team performance?
If yes, then the high-performing teams of the next few years will be the ones who consciously invest in theory maintenance — not the ones who maximize agent throughput. The competitive edge moves from “how fast can you produce code” to “how clearly does your team still understand what it has produced.”
Relation to Other Vault Concepts
- Paradox of Supervision — cognitive debt is the mechanism; the paradox of supervision is the consequence. As cognitive debt accumulates, the developer’s ability to supervise the agent that helped accumulate it degrades. Storey provides the engine; Lars Faye provides the structural argument.
- Agentic Coding - Risks and Discipline — Mario Zechner’s booboo-compounding is the code-side counterpart. Cognitive debt is the brain-side counterpart. Together they form: agents produce more bad code than humans can catch, and humans lose the skill to catch it. Two reinforcing loops.
- AI Coding Relativity - Local vs Global — Lalit Maganti’s framework: local correctness can be checked, global correctness can’t. Cognitive debt is the failure to maintain a global mental model — the same axis from a different angle.
- Note-Taking as Thinking / Putting Ideas into Words — the writing-as-thinking thread. The opposite of cognitive debt is externalized theory — writing forces the theory into the open, where it can be reviewed and corrected.
- Orchestration Tax — Addy Osmani’s concurrency framing supplies the throughput mechanism: review capacity is the serial bottleneck, and the gap between agent production and what a human can merge is exactly where cognitive debt accumulates. Ciera Jaspan raised Storey’s debt work on the same panel. Cognitive Surrender is the proximate act (merging unread code) that turns the unpaid tax into debt.
- Comprehension Debt — Osmani’s framing of the same phenomenon from the code-understanding angle; he uses “comprehension debt” and “cognitive debt” near-interchangeably. Vault convention: this page holds Storey’s brain-side theory of the system; Comprehension Debt holds the AI-specific mechanics (speed asymmetry, the quality-gate → throughput inversion, the measurement gap, the regulation horizon).
- Bounded Cognition — Matt Williams’s inverse framing: a person’s working memory (~4 chunks) was always small; cognitive debt is what happens when the system outgrows that permanent limit faster than the externalized structure (names, boundaries, tests) can absorb the overflow.
Sources and Further Reading
- Margaret-Anne Storey — What I’m Hearing About Cognitive Debt (So Far) — the synthesis post; primary anchor
- Storey’s earlier post: Cognitive Debt (2026-02-09) — the original framing
- Simon Willison — Cognitive Debt (link-blog post) — Willison’s endorsement and the “no firm mental model” quote
- Martin Fowler, Fragments 2026-02-13 — the must-be-repaid argument
- Steve Yegge, The AI Vampire — burnout from AI-accelerated development
- Siddhant Khare, AI Fatigue Is Real — the experiential cost
- Annie Vella, Finding Comfort in the Uncertainty — cognitive uncertainty as a felt experience
- MIT Media Lab, Your Brain on ChatGPT — the empirical end of the same thesis