Metraipolis › archive › dc_802598886eaf
Why Does CLAUDE.md Keep Growing? Catastrophic Remembering in Agentic Coding — arXiv:2608.11095
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.11095
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-19T06:08:42.547Z
- SHA-256 of the archived text
3c096c75460dd2215f3077eec116404e55f21fa2f24e07c94cdd75913a44988e- Stable URL of this page
https://metraipolis.com/documento/dc_802598886eaf
How to cite
Why Does CLAUDE.md Keep Growing? Catastrophic Remembering in Agentic Coding — arXiv:2608.11095 — arXiv (en), https://arxiv.org/abs/2608.11095 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_802598886eaf (Metraipolis archive dc_802598886eaf, sha256 3c096c75460dd2215f3077eec116404e55f21fa2f24e07c94cdd75913a44988e)
BibTeX
@misc{dc802598886eaf,
title = {Why Does CLAUDE.md Keep Growing? Catastrophic Remembering in Agentic Coding — arXiv:2608.11095},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.11095},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_802598886eaf; sha256 3c096c75460dd2215f3077eec116404e55f21fa2f24e07c94cdd75913a44988e},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.11095. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Agentic coding READMEs like this http URL grow without bound in real repositories, stopping only when the repository retires or someone rewrites the file wholesale. We trace this to imperfect recall: appending an instruction is always cheap, but once an instruction's rationale is gone, deleting it without risking a correctness regression costs O(2^|D|) in a prompt of |D| instructions. We name the resulting divergence catastrophic remembering, the inverse of catastrophic forgetting around which continual learning is organized. First, we characterize this phenomenon across 247,694 instruction lifetimes in 1,867 repositories: agentic prompts grow without bound, more than tripling over their lifetime (+226%), gaining +4.9 net instructions every commit; further, the older an instruction gets, the less likely it is to be deleted (log-hazard -0.032/commit). Then, we show that prompt comments can halt the growth: inverting IFEval yields verifiable worlds whose optimal prompts are known, and there comments encoding latent reasoning remove 99.3% of excess instructions (+211.3% to +1.4%). Finally, applying the same inversion to WildIFEval, we show that prompt comments can improve real-world agentic instruction-following by up to 23.1%. If English is the new code, why don't we have comments yet? Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-12 in cs.AI). Categorie arXiv: Artificial Intelligence (cs.AI) ; Machine Learning (cs.LG); Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2608.11095 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-19T05:57:28.311Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-12?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).