Intent debt is the absence or erosion of the externalized rationale, goals, and constraints that explain why the system is the way it is. Addy Osmani’s framing of the third leg of Margaret-Anne Storey’s Triple Debt Model. The key word is externalized: the why has to be written down where a teammate, a future you, or an agent can read it. Held only in your head, it doesn’t count.
The one-line version
Code is the answer; intent was the question it was meant to solve. AI is brilliant at producing answers to questions you forgot to write down. Write down the why — it’s becoming the most valuable thing you can leave in the repo.
Source
Intent Debt — Addy Osmani, Intent Debt (addyosmani.com, 2026). Builds on Margaret-Anne Storey’s Triple Debt Model; the explicit companion to Comprehension Debt (Osmani calls them “the other half” of the same argument).
The Triple Debt Model
Three kinds of debt, independent of each other — each bills you separately, though from the inside they feel alike. You can have pristine code (low technical debt) and still carry crippling cognitive debt because nobody understands it; you can understand a system completely yourself (no cognitive debt for you) while its intent exists nowhere outside your skull (enormous intent debt for everyone else).
| Debt | Lives in | Is | Signal |
|---|---|---|---|
| Technical | the code | implementation choices that make change harder (tangled module, leaky abstraction, deadline shortcut) | mounting friction — slow builds, fragile tests, the dread of touching one file |
| Cognitive | people | the gap between how much code exists and how much any human understands (= Comprehension Debt) | false confidence — looks clean, nobody holds the model |
| Intent | artifacts | the externalized rationale, goals, and constraints for why the system is the way it is | a particular helplessness — “an agent suggested it and it seemed fine” |
Why it’s the one agents can’t pay down
AI changes the economics of the other two debts, but not this one:
- Technical debt got cheaper — point an agent at a tangled module and it refactors it.
- Cognitive debt is recoverable — ask the agent to explain a chunk of the system and you rebuild the lost mental model on demand, because the code still exists and the model can read it back.
- Intent debt is different. An agent can’t generate intent, because intent is the one input that has to come from you. A model can infer a plausible rationale from the code — but a guess about intent isn’t the intent. It doesn’t know whether that
300msdebounce was a deliberate UX call, a benchmark result, or a number someone typed once. It will invent a confident-sounding reason, which is worse than admitting it doesn’t know.
Of the three, intent debt is the only one where the agent can’t bail you out. It can write the code and restore your comprehension. The why is the one thing it can only fabricate.
Why agents make it compound much faster
Teams got away with high intent debt for years because the four-year veteran was the intent documentation — expensive and lossy, but it worked. New humans absorbed intent over time through hallway conversations, review comments, “we don’t do it that way because of an incident in 2023.”
Agents break that model. Adding agents doubles your team overnight with junior people who have no long-term memory and start every session cold. Whatever you haven’t externalized into a readable artifact, the agent doesn’t have. So the cost of not writing things down moves from “once in a while” (onboarding, departures) to every session, multiplied by every agent you run.
The Orchestration Tax is partly an intent-debt tax. Much of what makes managing 20 parallel agents exhausting is re-supplying the intent you never wrote down. Each one is a teammate who has never met you and will fill any gap with a plausible guess.
The other half of the comprehension-debt argument
Osmani is deliberately closing a loop he left open in Comprehension Debt, where he argued specs aren’t a complete answer (a spec detailed enough to be the program is the program in a slower language). Intent debt is the complementary truth:
Being unable to capture all intent is no license to capture none of it.
You can’t write down everything. You do have to write down the why behind the choices that would be expensive to get wrong, because nobody will reconstruct those later. The two warnings pair:
- Comprehension debt — don’t trust that code is correct because it exists.
- Intent debt — don’t trust that the reason survives because the code does.
What high intent debt looks like
It rarely shows up as friction. It shows up as helplessness:
- An agent “fixes” a bug by deleting a guard clause, and nobody can say whether the guard was load-bearing or leftover — no doc or commit ever recorded why it was there.
- A refactor changes a behavior users depend on. Review passed (clean diff, green tests), but the tests only encoded the previous behavior, never the intent. (Same trap as the test-rewriting failure in Agentic Code Review.)
- You ask why two services talk over a queue instead of a direct call, and the honest answer is “an agent suggested it and it seemed fine.” That answer is intent debt already accruing interest.
Relation to Cognitive Surrender: surrender is your own posture in the moment (defending a choice you can’t reconstruct). Intent debt is what a hundred of those moments leave in the repo for the next person and the next agent to inherit — the team-scale, written-down version of the same hole.
Paying it down: externalize intent as a first-class artifact
The move is always the same: take the intent out of your head and put it where an agent can read it.
- Write the spec for the intent, not the implementation — goals, constraints, non-negotiables, and an explicit definition of done (fast, accessible, secure, delightful — beyond “functionally correct”). See Writing Specs for AI Coding Agents and Spec-Driven Development.
- Treat
AGENTS.mdas your intent ledger, not your config. An auto-generated/initfile describes what the code is; an intent file describes what the team means — the conventions, the “we don’t do it this way because,” the constraints invisible in any single file. (Compare AGENTS.md Six Core Areas.) - Capture decisions where they happen. Lightweight decision logs / ADRs are pure paydown: recording why at decision time costs almost nothing; reconstructing it eight months later costs a fortune. Agents made logging cheap, so the old excuse is gone.
- Make the learning loop write intent back down. A self-improving session that updates a learnings file is an intent-debt pump in reverse — every “we tried X, it failed because Y” is intent that would otherwise have lived only in memory. This is the Ratchet applied to why, not just rules.
Relation to other vault concepts
- Comprehension Debt — the cognitive leg of the same Triple Debt Model; Osmani explicitly frames intent debt as “the other half.” Comprehension = the understanding gap (recoverable via the agent); intent = the rationale gap (not recoverable, must originate with you).
- Cognitive Debt — Storey’s original brain-side concept; the Triple Debt Model is her framework. Intent debt is the artifact leg she adds alongside technical and cognitive.
- Cognitive Surrender — the per-moment posture whose accumulation creates intent debt in the repo.
- Orchestration Tax — re-supplying un-written intent every session is a large part of what makes many-agent orchestration exhausting.
- Agentic Code Review — the “first human to ever lay eyes on this code” problem is intent debt at review time; decision logs on the PR are the paydown.
- Writing Specs for AI Coding Agents / AGENTS.md Six Core Areas / The Ratchet - Every Mistake Becomes a Rule — the concrete artifacts that externalize intent.
- Decision Ledger — the most concrete agent-native paydown in the vault: prompt the agent to hand back every choice it made where the spec was silent, in plain language, ranked least-confident first, audited by a separate non-blocking pass. Intent debt captured at the moment it is incurred instead of reconstructed later. Part of David Zhang’s Software Factory.
Sources
- Intent Debt — Addy Osmani, Intent Debt (2026); the primary source
- Comprehension Debt — the cognitive-leg companion (see Comprehension Debt)
- Margaret-Anne Storey, Triple Debt Model — the academic framework; see Cognitive Debt