What Is Context Rot in AI Agent Sessions?
Why a long-running agent starts contradicting its own earlier decisions.
Why a long-running agent starts contradicting its own earlier decisions.
An hour earlier we had chosen the retry queue over a direct write. Switching editors to run the migration, the fresh session saw no recorded decision and calmly proposed the direct write again. Forty minutes later, the closed decision had been reopened and compromised.
Agents can't tell a throwaway TODO from a blocking one. They build subsystems around comments you left for next quarter. Prefix your TODOs with intent and watch the noise drop.
An agent's claim of 'done' is worthless without a one-line command that proves it. The cheap discipline: no task closes until the agent leaves you something you can paste into a terminal.
Dumping every file into the prompt doesn't give the agent more signal — it buries the one file it actually needs. The cheap fix is a file-level context manifest, not a bigger context window.