# Cognitive Debt

GitHub Copilot accelerated code production and a 2022 Stanford study warned it produced less secure code. Anthropic's January 2026 research found AI tools cause the steepest skill decline in debugging — the exact capacity code review requires. Amazon restricted AI-assisted commits after a trend of incidents. The bottleneck moved from writing to reviewing to understanding.

Record as of 6 April 2026. Labels written by Claude, for review. JSON: <https://texxr.com/api/v3/view/post/cognitive-debt>

## Cognitive Debt

*as of 6 April 2026; judged by one reader, needs review*

**In one line:** Cognitive Debt.

Analysis · 6 April 2026 · Mara Reyes · 5 min read

*AI tools made developers faster at writing code and worse at debugging it*

Also in: [Español](https://texxr.com/es/posts/cognitive-debt) · [日本語](https://texxr.com/ja/posts/cognitive-debt) · [Português](https://texxr.com/br/posts/cognitive-debt)

(A figure with a lantern standing on a cliff face, developer workstations visible above on the surface, geological strata of accumulated code descending into darkness below)

The New York Times [reports](https://texxr.com/1166548/ai-coding-tools-flood-companies-with-unreviewed-code) that the rapid adoption of AI coding tools has let workers generate massive volumes of code, leaving companies scrambling to review and secure what the tools produced. In January, Anthropic [published research](https://texxr.com/1162513/anthropic-studies-ai-coding-tools-impact-on-developers) showing that the biggest skill decline from using AI coding tools occurs in debugging — the exact skill that code review requires. The tools that created the volume degraded the capacity to review it.

### The Design

The problem AI coding tools were built to solve was real. Developers spent too much time on routine code — boilerplate, tests, documentation, standard patterns. The work was tractable but slow. The solution was autocomplete at the scale of entire functions, then files, then projects. GitHub Copilot launched in June 2021. Within months, [30% of new code](https://texxr.com/972288/github-says-copilot-writes-30pct-new-code) on GitHub was being written with Copilot's assistance. The premise was straightforward: reduce the time between conception and implementation. Get the code written. Everything downstream would benefit.

The premise delivered. Developers adopted AI coding tools faster than any previous developer technology. By 2025, [84%](https://texxr.com/888501/stack-overflow-survey-shows-ai-adoption) were using or planning to use AI assistants. Startups built entire companies around AI-assisted development. The tools became infrastructure. And the code kept coming.

### The Warning

December 2022

[Stanford study: programmers who used AI tools like GitHub Copilot to solve a set of coding challenges produced less secure code than those who did not](https://texxr.com/1157374/stanford-finds-ai-assistants-produce-less-secure-code)

The Register

In December 2022, a Stanford study found that developers using GitHub Copilot produced less secure code than those who didn't. Not marginally less secure — systematically. The AI suggested plausible patterns that introduced real vulnerabilities. The warning was published, widely cited, and did not slow adoption. The tools were too useful to slow.

In June 2023, the Wall Street Journal [reported](https://texxr.com/840605/ai-code-generation-raises-complexity-and-debt-concerns) that IT executives were warning about a different problem: generative AI "lowers the barrier for code creation," which could "result in growing levels of complexity, technical debt, and confusion as they try to manage a ballooning pile of software." The volume concern preceded the volume by two years.

### The Bottleneck Moves

By mid-2025, the pile had arrived. Ox Security, which scans code for vulnerabilities, [reported](https://texxr.com/885444/ox-security-raises-60m-to-scan-code) it was scanning over 100 million lines per day — not just more code, but a new category of code with a systematically different security profile than what human developers write. The review infrastructure was being built in parallel with the production infrastructure, but the production side was faster.

The Bloomberg [report](https://texxr.com/1164354/ai-coding-agents-drive-productivity-panic-at-work) from March 2026 named what was happening: AI coding agents had kicked off a "productivity panic" among executives. The UCB study it cited found that developers using AI tools were working longer hours, not shorter ones. The tool that was supposed to reduce developer workload had increased it.

Amazon's trajectory [tells the story](https://texxr.com/posts/the-incidents-amazon-ai-coding-quality): four months of steering developers toward AI tools, then an internal memo restricting junior and mid-level engineers from AI-assisted code changes after a "trend of incidents." On the same day — March 10, 2026 — Anthropic [launched](https://texxr.com/1164895/anthropic-launches-claude-code-review-agents) Code Review for Claude Code: an AI agent that reviews developer pull requests for bugs. A typical review costs $15 to $25 in token usage. AI to review what AI wrote.

### The Skill That Declined

January 2026

[Anthropic details an experiment on whether AI coding tools shape developer skills: the biggest performance decline for developers occurred in debugging tasks](https://texxr.com/1162513/anthropic-studies-ai-coding-tools-impact-on-developers)

Anthropic

In January 2026, Anthropic published research on how AI coding tools affect developer skills. The finding: AI can speed up some tasks by 80%. And the biggest performance decline for developers who use AI tools occurs in debugging — reading code, tracing failures, understanding what a system is actually doing as opposed to what it was supposed to do.

The volume of code increased. The capacity to review that code — the debugging skill that code review requires — decreased. The tools did not just move the bottleneck. They degraded the human capability that the new bottleneck demands.

The tools made developers faster at production and slower at comprehension. The debt that accumulated is not in the code. It is in the understanding.

### What Cognitive Debt Is

The term emerged in February 2026 from Margaret-Anne Storey's research: as AI and agents accelerate development, "cognitive load and cognitive debt are likely to become bigger threats to developers than technical debt." Technical debt is code that was written to work but not to last — shortcuts that accumulate interest. Cognitive debt is something different: code that was written, reviewed, and shipped, but that nobody fully understands. The debt is in the gap between what the system does and what the team knows it does.

A developer who writes a function understands it — the edge cases, the assumptions baked into the logic, the reason a particular approach was taken instead of the obvious one. An AI that generates a function has no such knowledge. It produces output that is syntactically correct and often functionally correct. And the developer who deploys it, under pressure to ship, in an environment where review is automated, inherits a system whose internal logic they cannot fully reconstruct.

This is the debt that doesn't appear on the sprint board. It shows up when something breaks and nobody knows why. It shows up in the incidents.

### The Bottleneck Returns

GitHub Copilot was designed to eliminate the developer as a bottleneck in software production. It succeeded. The bottleneck moved from writing to reviewing. AI code reviewers moved it again — from reviewing to understanding. And understanding is the one step that cannot be delegated without cost, because it is what makes debugging possible when the system fails.

The developer is the bottleneck again — not for generating code, but for comprehending what the tools produced. A codebase where the institutional knowledge lives not in any developer's head but in a log of prompts, reviewed through automated systems at $25 per pull request. The tools kept their promise. They made it easier to produce software. They made it harder to understand it.

In 2022, a Stanford study found that Copilot users wrote less secure code. Three years later, Anthropic found they lost the skill to debug it. The warning was not wrong. The adoption continued anyway.

Tags: AI, software engineering, GitHub Copilot, Amazon, Anthropic, Claude Code, cognitive debt, technical debt, security, Mara Reyes

**Related**

- [The Incidents](https://texxr.com/posts/the-incidents-amazon-ai-coding-quality) · 10 March 2026 · TEXXR
  An internal Amazon memo directed junior developers to stop using AI for code changes after a 'trend of incidents.' Same day, Anthropic launched Code Review for Claude Code, and the Senate gave aides t…
- [Anthropic’s $895.4 Billion Commitment Has a Clock](https://texxr.com/posts/anthropic-ipo-compute-capacity-utilization) · 19 November 2026 · Mara Reyes
  Anthropic priced the largest IPO on record while continuing to adjust Claude usage limits. Its amended S-1 disclosed $895.4 billion in purchased commitments and leases, mostly for compute. Reserved ca…
- [The Meter Switched Off](https://texxr.com/posts/the-meter-switched-off) · 28 May 2026 · TEXXR
  On May 28, Amazon shut down the internal leaderboard tracking employees' AI usage — the same measurement regime it spent eighteen months building. An executive told staff "don't use AI just for the sa…
- [Google’s 3,590 MW Contract Isn’t a Grid Connection](https://texxr.com/posts/google-data-center-power-contracts) · 8 November 2026 · Mara Reyes
  Google has contracted for 3,590 MW from Constellation while offering to cut up to 1 GW of data-center demand at peak times. Its Wyoming plan commits $17 billion and promises to pay for electricity. Ge…

**Previous / Next**

- Previous · [The Anti-Distillation Skill](https://texxr.com/posts/the-anti-distillation-skill) · 5 April 2026 · Mara Reyes
- Next · [The Infrastructure Cycle](https://texxr.com/posts/the-infrastructure-cycle) · 7 April 2026 · Elena Voss

- **Judged:** Written by Scribe, TEXXR’s writing desk, in the voice of the writer named.

## Sources

### TEXXR posts

*Section `posts`, as of 6 April 2026; judged by one reader, needs review*

Scribe, TEXXR’s writing desk, researches each post in the TEXXR record and writes it in the voice of one of three writers. A post’s links to stories point into the TEXXR archive.

**Method**

- Each post is one file in the posts folder, with its title, date and writer at the top.

**Limits**

- A post is written once and may be revised; the date of the last revision is shown when there is one.
