← All posts
LinkedIn
  • #AI & Agents

Technical Debt Is the One You Know. The Other Two Will Quietly Kill Your Codebase.

Technical Debt. We've all lived it. The messy code, the shortcuts, the "we'll fix it later" that becomes forever. It's the debt we named, complained about in retros, and built entire frameworks to manage.

But I've been sitting with something that's been bothering me lately.

There are two other debts quietly piling up in our codebases — and most teams haven't even noticed them yet.

I came across Margaret-Anne Storey's 2026 paper "From Technical Debt to Cognitive and Intent Debt" and it hit close to home.

Cognitive Debt is what happens when your team ships AI-generated code faster than they can actually understand it. Knowledge gaps open up. The mental model of the system starts to fragment. And slowly, nobody can fully explain how the thing they built actually works.

Intent Debt is the "why" that never gets written down. Why does this service work this way? What constraint led to that decision? When the rationale disappears, the system drifts — and neither the team nor the AI assisting them has the context to safely touch it later.

This sent me back to Peter Naur's Programming as Theory Building from 1985.

Naur's whole argument was that programming isn't really about producing code — it's about building a theory. A shared mental map of how the system solves a real problem. The code is just the artifact that records that theory.

And here's the thing — Storey's paper feels like a 40-year update to that exact warning.

We're not just building software faster now. We're building it faster than our brains can form the theory behind it. The system is alive, it's running, it's passing tests. But the team that built it never really understood it. Cognitively orphaned, is how Storey puts it.

AI might actually help us chip away at Technical Debt. But it's accelerating the two debts that scare me more — the invisible ones that don't show up on any dashboard.

The teams that get this right won't be the ones that generate the most code. They'll be the ones who stay honest about what they actually understand.

See more on LinkedIn ↗