AI & ML
Why Does CLAUDE.md Keep Growing? Catastrophic Remembering in Agentic Coding
arXiv cs.SE0 views
arXiv:2608.11095v2 Announce Type: replace-cross Abstract: Agentic prompts like CLAUDE.md grow without bound in real repositories, stopping only when history ends or someone rewrites the file wholesale. We trace this to imperfect recall: 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|) in a prompt of |D| instructions. Successive edits destroy that latent reasoning, additions outrun deletions and prompts grow until agents become non-functional -- catastrophic remembering. First, we characterize this phenomenon 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. Deletion hazard decays geometrically with instruction age, consistent with imperfect recall and with no other rival we test. Then, we show that prompt comments can halt the growth: in verifiable worlds built by inverting IFEval, comments encoding latent reasoning remove 99.3% of excess size (+211.3% to +1.4%). Finally, we show comments yield smaller real-world and coding-convention prompts than existing context maintainers, grow more effective with model capability and, at small scale, improve instruction-following in real repositories by 17.7%. If English is the new code, why don't we have comments yet?
Source:https://arxiv.org/abs/2608.11095PreviousDeclarative Skills for AI Agents in Knowledge-Grounded Tool-Use WorkflowsNextScopeAct: Scoping Decision Models for Reliable Multi-Step Execution in Mobile GUI Agents
Related posts
Inside Nvidia, Not Everyone Is Celebrating Jensen Huang’s Return
0Wired

GLM-5.4 ออกแล้ว: กลไก Loop Transformer คิดลึกขึ้นโดยไม่เพิ่มพารามิเตอร์
0dev.to
Shirudo: OpenAI and Cisco's open-source runtime for shielding unpatched Linux
0Hacker News

Google alternative Kagi launches an email service
0The Verge
Latent Introspection: LLMs Can Detect Prior Concept Injections
0Hacker News
I asked four AI models to rank each other. I think I found the narcissist.
0dev.to