Context rot is the gradual loss of usefulness in accumulated context as a task evolves. Old decisions, intermediate results, summaries, and tool outputs can remain after their value expires, causing an agent to repeat old assumptions or treat temporary details as current. section 8.1.1
Unlike staleness, context rot is not simply a matter of age: accumulated information also loses relevance, structure, or priority. Mitigate it by pruning context, tracking explicit task state, and summarizing only what the next step needs. section 8.1.1
Instruction artifacts can also contribute to context rot when they preserve obsolete paths, scripts, or temporary constraints. Keep them concise, clarify how nested guidance relates to root guidance, and review changes so outdated directives can be pruned. section 2.4.2

