Source-linked AI summary

From Technical Debt to Cognitive and Intent Debt: Rethinking Software Health in the Age of AI

Margaret-Anne Storey

arXiv:2603.22106v4cs.SE

TL;DR

Generative AI accelerates software development while potentially shifting risk from technical debt toward cognitive and intent debt. The paper proposes a Triple Debt Model spanning code, people, and externalized knowledge, and discusses practices for preserving understanding and intent. It concludes that healthy AI-assisted software requires deliberate investment in both, while debates remain about documentation and AI’s role in creating it.

Abstract

from arXiv · show

Generative AI is accelerating software development, but may quietly shift where the most significant risks lie. As AI generates code faster than teams can understand it, two under appreciated forms of debt accumulate: cognitive debt, the erosion of shared understanding across a team, and intent debt, the absence of externalized rationale that developers and AI agents need to work safely with code. This article proposes a Triple Debt Model for reasoning about software health, built around three interacting debt types: technical debt in code, cognitive debt in people, and intent debt in externalized knowledge. Cognitive debt is a team-level, project-level property reflecting the erosion of shared understanding across a software system over time, leading to increasingly inadequate shared mental models for reasoning about and safely changing the system. Intent debt refers to the absence or erosion of explicit rationale, goals, and constraints that guide how humans and agents evolve the system. We discuss how generative AI changes the relative importance of these debt types, how each can be diagnosed and mitigated, and surface points of debate for practitioners.

What is a Software System, Really?

A software system spans goals and intent, executable code and structure, and shared understanding. System health depends on alignment across all three layers, not code quality alone.

Technical Debt: The Well-Known Layer

Technical debt is the long-term cost of code-quality shortcuts and constrained architectural decisions. Its visibility and established practices make it comparatively manageable, while generative AI increasingly automates remediation.

Cognitive Debt: The Invisible Layer

Cognitive debt is the team-level erosion of shared understanding that makes systems harder to reason about and change safely. AI-assisted development can accelerate this accumulation when developers accept generated code without building comparable mental models.

Cognitive Debt: The Invisible Layer

Intent Debt: The Forgotten Layer

Intent debt is the absence or erosion of explicit goals, constraints, rationale, and specifications needed to guide system evolution. The paper proposes living intent artifacts while noting that AI cannot replace human judgment in deciding what best serves users.

Intent Debt: The Forgotten Layer

Three Layers of Software System Health

Software system health depends on three interacting layers: code, shared understanding, and externalized intent. Their erosion limits changeability, safe reasoning, and continued alignment with what the team meant to build.

Three Debt Types

Interactions

How AI Is Shifting the Balance

Generative AI may reduce technical debt through automation while increasing the relative importance of cognitive and intent debt. It produces code faster than teams can understand it and can weaken the feedback that previously supported understanding and intent capture.

Changing Debt Dynamics

Implications for Practice

The paper recommends treating understanding and intent as explicit parts of AI-assisted development. Teams should build genuine understanding, capture intent early, and monitor all three debt dimensions together.

Treat Understanding as a Deliverable

  • Teams should treat shared understanding as a first-class deliverable supported by walkthroughs, retrospectives, knowledge transfer, and suitable tools.Source: Implications for Practice · p. 7

Intent-First Workflows

  • Intent-first workflows capture requirements, constraints, decisions, plans, and acceptance criteria before AI-assisted development proceeds.Source: Implications for Practice · p. 7

Resist Automation of Understanding

  • Teams should resist automating understanding because generated explanations can create its appearance without building accurate mental models.Source: Implications for Practice · p. 7

Monitor the Three Layers in Tandem

  • Teams should monitor technical, cognitive, and intent debt together using measures such as onboarding time, knowledge concentration, requirements coverage, and intent-behavior audits.Source: Implications for Practice · p. 7
  • Software systems depend on intent in artifacts, behavior in code, and understanding distributed across teams and artifacts.Source: Figure 1 · p. 8

Points for Debate

The paper identifies unresolved debate over whether intent should be documented and how AI should support that work. It also leaves uncertain how much cognitive debt is acceptable as development becomes more automated.

Should We Document Intent?

Can AI Help Make Implicit Knowledge Explicit?

Debt as a Risk or Strategy

Conclusion

Healthy software in the AI-assisted era depends on preserving alignment among intent, code, and shared understanding. Teams should manage understanding with the same care and urgency as code quality.

Conclusion

  • AI-assisted development may shift risk from technical debt toward cognitive and intent debt.The paper frames this as a hidden reversal requiring tools and processes to support paying down both forms.Source: Conclusion · p. 9
  • Software teams that navigate AI-assisted development successfully will invest deliberately in understanding and intent, not only code quality.Source: Conclusion · p. 9
  • Maintaining software health requires alignment among intent, code, and shared understanding.Source: Conclusion · p. 9
Loading 2603.22106v4…