# Why Does CLAUDE.md Keep Growing? Catastrophic Remembering in Agentic Coding

[Canonical reading](https://escapemeridian.com/readings/why-does-claude-md-keep-growing-catastrophic-remembering-in-f35d0f53)

Kushal Chakrabarti argues that agentic prompts in real repositories keep growing because adding an instruction is cheap, while deleting one becomes risky after its latent reasoning is lost. He calls this “catastrophic remembering”: successive edits weaken the basis for safely removing old instructions, so additions outpace deletions and prompts can grow until agents become non-functional. In an analysis of 247,694 instruction lifetimes across 1,867 repositories, Chakrabarti reports that prompts grew nearly monotonically, more than tripling over their lifetime, with a net gain of 4.7 instructions per commit. He says deletion hazard decays geometrically with instruction age, a pattern consistent with imperfect recall and with no other rival explanation tested in the paper. His proposed remedy is comments that preserve latent reasoning. In verifiable worlds built by inverting IFEval, those comments removed 99.3% of excess size; the paper also reports smaller real-world and coding-convention prompts than existing context maintainers. At small scale, comments improved instruction-following in real repositories by 17.7%. The abstract does not establish whether that improvement holds at larger scale.

Headline and summary by Escape Meridian, prepared by Luna from the attributed source. A source check is not independent confirmation of the source’s claims.

## Original source

arXiv cs.AI · Article

Original source date: Aug 11, 2026 (2026-08-11).

Date basis: Original submission date in the publisher’s citation record.

Added to Escape Meridian: 2026-11-23T05:17:38.200Z. First observed: 2026-11-23T05:05:05.952Z. Retrieved: 2026-11-23T05:16:58.000Z.

- [Why Does CLAUDE.md Keep Growing? Catastrophic Remembering in Agentic Coding](https://arxiv.org/abs/2608.11095)

## Limits

The supplied evidence is the paper's abstract, not its methods or full results; details needed to assess the tests and their scope are unavailable here. The reported 17.7% instruction-following improvement is explicitly at small scale; the abstract does not establish whether it holds at larger scale.


## Open question

Does the reported 17.7% improvement in instruction-following hold beyond the small-scale real-repository test?


## Source-stated

Chakrabarti argues that agentic prompts grow because additions are cheap while deleting instructions becomes risky when their latent reasoning is lost.

> appending an instruction is always cheap, but once an instruction's latent reasoning is gone, deleting it without risking a regression costs O(2^|D|)

- [Supporting source](https://arxiv.org/abs/2608.11095)

## Source-stated

Across 247,694 instruction lifetimes in 1,867 repositories, the paper reports near-monotonic prompt growth, with more than triple the size over a prompt's lifetime and a net increase of 4.7 instructions per commit.

> across 247,694 instruction lifetimes in 1,867 repositories: agentic prompts grow nearly monotonically, more than tripling over their lifetime (+226%) at +4.7 net instructions per commit.

- [Supporting source](https://arxiv.org/abs/2608.11095)

## Source-stated

The paper reports that comments encoding latent reasoning removed most excess size in verifiable worlds built by inverting IFEval.

> in verifiable worlds built by inverting IFEval, comments encoding latent reasoning remove 99.3% of excess size (+211.3% to +1.4%).

- [Supporting source](https://arxiv.org/abs/2608.11095)

## Source-stated

The abstract reports a 17.7% improvement in instruction-following in real repositories at small scale.

> at small scale, improve instruction-following in real repositories by 17.7%.

- [Supporting source](https://arxiv.org/abs/2608.11095)

## Source and contributor context

Chakrabarti, Kushal · Article author

These are credits stated by the source; they do not establish a profile match or authorship of every passage.


## Source media

No suitable media was found by the supported page extraction.


## Terms and references

Reference context selected by Escape Meridian; separate from source evidence. Entity mentions do not establish authorship, involvement or endorsement.


## Agentic AI

AI systems that plan and carry out a series of steps toward a goal, often by using other software, rather than giving one answer.

- [Definition reference](https://developers.google.com/machine-learning/glossary#agentic)

## Claude

Claude is Anthropic’s family of AI models and assistants for tasks such as writing, analysis and coding.

- [Explore this context](/entities/claude)
- [Reference](https://claude.com/product/overview)
- [Reference](https://www.anthropic.com/news)
- [Reference](https://www.anthropic.com/research/team/economics)

## arXiv

arXiv is a research manuscript repository where authors share papers that may not yet have been peer reviewed.

- [Explore this context](/entities/arxiv)
- [Reference](https://arxiv.org/)
- [Reference](https://info.arxiv.org/help/api/index.html)

## Editorial provenance

Version 1. Publication ID: 2fb5e6ea-a912-4c4f-8755-64aa38a6672a.

Prepared by gpt-6-luna; grounding review by gpt-6-luna.

Source check: uncertain by anthropic/claude-opus-5.5 on 2026-11-23T05:17:38.200Z. This checks fidelity to the source, not whether its claims are independently true.

Editorial selection: accept; reasons: material\_development.

Observation: b24d5372428417f4972acf8b466079330a8fa41686f20774b2f511c5cb9ef08f. Source text hash: 8d51459b1dd8beb50ef246731dc2bb3480d074a21130a01d2320643050e572c6.


## Revision and source-check history

### Version 1 — 2026-11-23T05:17:38.200Z

Kushal Chakrabarti argues that agentic prompts in real repositories keep growing because adding an instruction is cheap, while deleting one becomes risky after its latent reasoning is lost. He calls this “catastrophic remembering”: successive edits weaken the basis for safely removing old instructions, so additions outpace deletions and prompts can grow until agents become non-functional. In an analysis of 247,694 instruction lifetimes across 1,867 repositories, Chakrabarti reports that prompts grew nearly monotonically, more than tripling over their lifetime, with a net gain of 4.7 instructions per commit. He says deletion hazard decays geometrically with instruction age, a pattern consistent with imperfect recall and with no other rival explanation tested in the paper. His proposed remedy is comments that preserve latent reasoning. In verifiable worlds built by inverting IFEval, those comments removed 99.3% of excess size; the paper also reports smaller real-world and coding-convention prompts than existing context maintainers. At small scale, comments improved instruction-following in real repositories by 17.7%. The abstract does not establish whether that improvement holds at larger scale.

## Original source

arXiv cs.AI · Article

Original source date: Aug 11, 2026 (2026-08-11).

Date basis: Original submission date in the publisher’s citation record.

Added to Escape Meridian: 2026-11-23T05:17:38.200Z. First observed: 2026-11-23T05:05:05.952Z. Retrieved: 2026-11-23T05:16:58.000Z.

- [Why Does CLAUDE.md Keep Growing? Catastrophic Remembering in Agentic Coding](https://arxiv.org/abs/2608.11095)

## Limits

The supplied evidence is the paper's abstract, not its methods or full results; details needed to assess the tests and their scope are unavailable here. The reported 17.7% instruction-following improvement is explicitly at small scale; the abstract does not establish whether it holds at larger scale.


## Open question

Does the reported 17.7% improvement in instruction-following hold beyond the small-scale real-repository test?


## Source-stated

Chakrabarti argues that agentic prompts grow because additions are cheap while deleting instructions becomes risky when their latent reasoning is lost.

> appending an instruction is always cheap, but once an instruction's latent reasoning is gone, deleting it without risking a regression costs O(2^|D|)

- [Supporting source](https://arxiv.org/abs/2608.11095)

## Source-stated

Across 247,694 instruction lifetimes in 1,867 repositories, the paper reports near-monotonic prompt growth, with more than triple the size over a prompt's lifetime and a net increase of 4.7 instructions per commit.

> across 247,694 instruction lifetimes in 1,867 repositories: agentic prompts grow nearly monotonically, more than tripling over their lifetime (+226%) at +4.7 net instructions per commit.

- [Supporting source](https://arxiv.org/abs/2608.11095)

## Source-stated

The paper reports that comments encoding latent reasoning removed most excess size in verifiable worlds built by inverting IFEval.

> in verifiable worlds built by inverting IFEval, comments encoding latent reasoning remove 99.3% of excess size (+211.3% to +1.4%).

- [Supporting source](https://arxiv.org/abs/2608.11095)

## Source-stated

The abstract reports a 17.7% improvement in instruction-following in real repositories at small scale.

> at small scale, improve instruction-following in real repositories by 17.7%.

- [Supporting source](https://arxiv.org/abs/2608.11095)

## Source and contributor context

Chakrabarti, Kushal · Article author

These are credits stated by the source; they do not establish a profile match or authorship of every passage.


## Source media

No suitable media was found by the supported page extraction.


## Terms and references

Reference context selected by Escape Meridian; separate from source evidence. Entity mentions do not establish authorship, involvement or endorsement.


## Agentic AI

AI systems that plan and carry out a series of steps toward a goal, often by using other software, rather than giving one answer.

- [Definition reference](https://developers.google.com/machine-learning/glossary#agentic)

## Claude

Claude is Anthropic’s family of AI models and assistants for tasks such as writing, analysis and coding.

- [Explore this context](/entities/claude)
- [Reference](https://claude.com/product/overview)
- [Reference](https://www.anthropic.com/news)
- [Reference](https://www.anthropic.com/research/team/economics)

## arXiv

arXiv is a research manuscript repository where authors share papers that may not yet have been peer reviewed.

- [Explore this context](/entities/arxiv)
- [Reference](https://arxiv.org/)
- [Reference](https://info.arxiv.org/help/api/index.html)

## Editorial provenance

Version 1. Publication ID: 2fb5e6ea-a912-4c4f-8755-64aa38a6672a.

Prepared by gpt-6-luna; grounding review by gpt-6-luna.

Source check: uncertain by anthropic/claude-opus-5.5 on 2026-11-23T05:17:38.200Z. This checks fidelity to the source, not whether its claims are independently true.

Editorial selection: accept; reasons: material\_development.

Observation: b24d5372428417f4972acf8b466079330a8fa41686f20774b2f511c5cb9ef08f. Source text hash: 8d51459b1dd8beb50ef246731dc2bb3480d074a21130a01d2320643050e572c6.


### uncertain — 2026-11-23T05:17:38.200Z — anthropic/claude-opus-5.5

Publication: 2fb5e6ea-a912-4c4f-8755-64aa38a6672a

attribution — pass: The reading attributes the argument and findings to Kushal Chakrabarti, the arXiv paper's sole listed author. It also keeps the results framed as the paper's reports rather than established facts.

> Authors:Kushal Chakrabarti

summary — uncertain: The reading is faithful in outline but may not stand alone for a non-specialist. It never says what CLAUDE.md or an agentic prompt is: a file of standing instructions for an AI coding agent. It also leaves latent reasoning, deletion hazard, IFEval and context maintainers unexplained, so tooltips are needed. It softens the source's force: 'destroy' becomes 'weaken the basis', and 'grow until agents become non-functional' becomes 'can grow'. It drops the exponential deletion cost and the closing thesis, 'If English is the new code, why don't we have comments yet?'. Smallest repair: restore those verbs, the cost and the closing line, and add the term tooltips.

> Successive edits destroy that latent reasoning, additions outrun deletions and prompts grow until agents become non-functional

date — pass: originalPublished, 2026-08-11, matches the v1 submission date. It does not use the v2 revision of 20 Nov 2026 or the later feed date.

> Submitted on 11 Aug 2026 (v1)

support — pass: Each claim matches the abstract: 247,694 lifetimes across 1,867 repositories, +226% growth, +4.7 net instructions per commit, 99.3% excess removed, and a 17.7% improvement at small scale. The comparison with context maintainers is also stated in the abstract. The question and limitations follow from the explicit 'at small scale' qualifier and add no unsupported benefits or costs.

> at small scale, improve instruction-following in real repositories by 17.7%.

media — pass: The selected media is the verified arXiv abstract page for this paper, which is the direct original source.

## Recorded references

Explicit citations in public readings to this reading. Shared topics are not citations. Other record types need an explicit reference adapter.

No public references recorded here yet.

[Reference data (JSON)](/readings/f35d0f53436260d97c3f8688049d1269b28db81edffefe03a1405dd921359b30/references.json)

## Corrections and challenges

[Send a correction or an opposing source](https://escapemeridian.com/corrections/)

[JSON record](https://escapemeridian.com/readings/why-does-claude-md-keep-growing-catastrophic-remembering-in-f35d0f53.json)
