Context Rot in AI-Assisted Software Development: Repurposing Documentation Consistency for AI Configuration Artifacts
Not on the map. Why?
Abstract (arXiv)
Developers increasingly provide AI coding assistants with persistent context through configuration files such as CLAUDE.md, AGENTS.md, and .cursorrules. These files describe code elements, architecture, and development conventions, forming the context that guides AI tool behavior across sessions. As software evolves, this context can become stale, a phenomenon we call context rot. While AI configuration artifacts are new, the underlying consistency problem connects to decades of software documentation research. Researchers have built tools to check consistency between documentation and code, spanning README files, code comments, API documentation, architecture descriptions, and installation instructions. We argue that this existing toolbox is an immediate starting point for detecting context rot, and we present a research roadmap mapping documentation consistency approaches to corresponding problems in this new setting. As preliminary evidence, applying an existing README/wiki consistency checker to a statistically representative sample of 356 repositories identifies stale code element references in 23.0% of repositories, showing that traditional documentation consistency tools can already surface context rot.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 6 of its 17 references that are in the map. First posted on arXiv 8 Jun 2026.
Builds on
6 of 17 references.
References · 6
- 2026On the Impact of AGENTS.md Files on the Efficiency of AI Coding Agentscited by 17
- 2025Context Engineering for AI Agents in Open-Source Softwarecited by 14
- 2026Harness Engineering for Agentic AI Coding Tools: An Exploratory Studycited by 11
- 2022Detecting Outdated Code Element References in Software Repository Documentationcited by 5
- 2023Wait, wasn't that code here before? Detecting Outdated Software Documentationcited by 3
- 2026A Dataset of Agentic AI Coding Tool Configurationscited by 3
Built on by
Citing papers per year: 2026: 2.
2 papers.