How it works
Rot shows up once the window is busy with the wrong text. Stale turns, a raw tool dump and a retrieval that only half matches the current question all stay in the prompt and compete for attention. The model can still write. It writes from yesterday's tokens, and the person restates a fact the thread already contained. Nothing was truncated. The budget was spent on material that no longer matches the question.
Rot is distinct from a small window. A short prompt can be clean, and a long one can still be sharp if every block earns its place. The damage comes from accumulation: each tool result pasted in full, each detour left in the history, each passage kept because it was retrieved rather than because it answers. Later turns then attend to the residue. Compaction is the harness cutting that residue down. Rot is the behaviour that remains when the residue stays.
A worked example
A missed engineer under yesterday's modem log
A broadband support chat started with a router reboot and a full modem log pasted as a tool result. The customer now says the engineer did not arrive between eight and noon. The agent tells them to power-cycle again and quotes an error string from the log. The customer writes the appointment time a second time, then a third, and adds the booking reference that was already in the second message. The log is still in the window. The missed visit is a single line among it. The reply keeps treating the session as a line fault.
Illustrative example, not a production trace and not a measured result.
What goes wrong
- A tool result is stored verbatim, including headers, empty fields and a stack of retries, and later answers quote that noise instead of the person's latest constraint.
- Retrieved passages stay attached after the question has moved on, so a half-relevant clause is what the model quotes, and the sentence the person just confirmed is still sitting higher in the thread.
- The person restates a reference, a date or a limit that an earlier turn already stated, and the next answer still follows the older block.
How to measure it
Mark turns where the person repeats a fact, a reference or a constraint already present earlier in the same session. Note whether a raw tool result or a stale retrieval sits between the first statement and the repeat.
After you stop pasting full tool payloads, or you drop turns that no longer match the task, compare task success for that task and cohort with the previous period. Read the sessions where the restatement continues, and keep the repeated wording next to the turn that ignored it.
Further reading
How Abracadabra helps
Sessions where the person restates a fact already in the thread, especially after a raw tool dump, are the signal. After stale turns are dropped, compare task success for that task and cohort.
When context is lost, people restate a fact or repeat the request. Abracadabra pins those corrections and repeated intents to the turn. After a change to what the agent keeps, compare task success for that task and cohort with the previous period.
Request access to read this on your own agent.