A change agent is working CHG-4182 (an invented ticket), a restart of a payments service. The first plan restarts node pay-07 in place on Thursday at 22:00. In the afternoon operations moves it: fail over to pay-06 first, Friday at 22:00. Both plans are now in the session's history, word for word, and the Thursday one has been quoted all day. Asked for the final plan, the agent writes the new failover steps under the old Thursday window. Nobody approved that plan. The agent did not invent it either. It assembled it from two things its context told it, both of them once true.

Thesis: This site sorts context failures into five kinds (missing, stale, drowned, contradicted and re-bought), and each shows a different symptom and has a different place to look. Two of them get worse with time, because every record that outlives the decision it describes keeps speaking as if it were current: two versions are fused into a plan nobody made, a summary settles the clash without saying so, and the settled version persists into every later session. The fix for those two is to work out what is current from evidence, write the supersession (the fact that a newer decision replaced an older one) down with the old wording, and treat every summary as derived, never as the source of truth.

TLDRThree steps, about twenty seconds
the session's historyThu 22:00Thu 22:00Thu 22:00Thu 22:00Fri 22:00new failover stepsold Thursday windowa plan nobody madeD2 -> D3: "window Thu 22:00"window Fri 22:00SupersededDecisions in forcemoved to Friday by operationsthe session's historyThu 22:00Thu 22:00Thu 22:00Thu 22:00Fri 22:00new failover stepsold Thursday windowa plan nobody madeD2 -> D3: "window Thu 22:00"window Fri 22:00SupersededDecisions in forcemoved to Fridayby operations

Step 1 of 3

When Context Turns Against You

A change agent's plan moved from Thursday to Friday; both versions stayed in its history.

In the session's history, the old Thursday window was quoted again and again, and the Friday change only once.

Read the TLDR as text
  1. When Context Turns Against You. A change agent's plan moved from Thursday to Friday; both versions stayed in its history. In the session's history, the old Thursday window was quoted again and again, and the Friday change only once.
  2. The Chain: Conflation, Laundering, Persistence. Asked for the final plan, the model fused the two: new failover steps under the old Thursday window. Newest does not simply win.
  3. Work Out What Is Current, Then Write It Down. The fix is a record outside the chat: each replaced decision keeps its old wording and points to its successor.

How an Agent Builds Its Context assembled the window call by call and pointed ahead to a short record of decisions. This chapter is about what goes wrong in the window that gets assembled, and why that record matters.

Five Ways Context Fails

What Context Engineering Means named five kinds of failure. The five are this site's grouping, chosen because each points at a different place to look; a later section maps them onto other writers' terms. Here is each with its evidence. Each is something wrong in what the call carried, not in the model.

Missing. The fact the step needed was not in the window. The sharpest case is a compaction boundary: What Compaction Actually Destroys counted one live session's identifiers before and after the summary replaced the transcript. Almost every file path and every record id was gone. Decisions fared better, but not well: graded on two real compactions, a third to over half were lost outright. The summary keeps some of what was decided and almost none of what to act on. The quieter case is a loop that starts each iteration fresh, as The Files Are the Memory recommends: anything not written to disk is gone completely.

Stale. The fact is in the window and no longer true. A tool result from an hour ago rides along in every later call until the harness drops it, with the same authority as a fresh one. Externalize the Knowledge shows the slower version: domain knowledge built into a server changed only when the server was redeployed, so agents worked from the last release, not the current rule. The model cannot tell stale from live. Both are text.

Drowned. The fact is present and buried. Chroma's Context Rot study (2025-07-14) tested 18 models and found that performance "grows increasingly unreliable as input length grows"; How the Model Reads the Window explains why a long input is not read evenly. The bulk is usually text nobody chose for this call: tool definitions for tools the session never calls (the measured call in One Request, End to End was mostly tool schemas), or rules loaded into every conversation whether they apply or not, as The alwaysApply Tax found in one audited configuration.

Contradicted. Two versions of the truth are in the window at once. The Files Are the Memory names dead ends presented with the same visual weight as the live plan. The Three-Tier Context System describes the same failure at rest: archived plans mixed with current ones, which an assistant then treats as instructions. Which version the model follows is not reliably the newest, as the research below shows.

Re-bought. Nothing is wrong in the answer yet; the same tokens are paid for on every call. Anything always-on is sent again with every call for the rest of the session, so a tool definition nobody uses is paid for as many times as the session makes calls. Your Tool Schemas Are the Bloat measured that across real sessions and found most tool-definition tokens went to tools never called in the session that loaded them. Prompt caching changes the price, not the presence. Re-bought context is a failure because it is the room the other four needed, and because nothing in the answer points at it.

From the chat window, all five look the same. The agent got dumber. The table is how to tell them apart.

What you see What happened Where to look
"It forgot the ticket numbers" Missing: identifiers dropped at a boundary What was live before the summary, against what it kept
"It applied last quarter's policy" Stale: an old tool result or rule still riding When that text entered the window, and what should have retired it
"It ignored the instruction" Drowned: one line under thousands The size of each part of one call's input
"It changed its mind for no reason" Contradicted: two versions present Superseded facts still in the history
"It got slow and the window keeps filling" Re-bought: the always-on set takes the room Tokens per call times calls per request, priced at the cache-read rate

The Same Failures in Other Words

You will meet other names for these failures, and none of the lists is an official standard. The two most cited are Drew Breunig's How Long Contexts Fail (2025-06-22), which names four (poisoning, distraction, confusion and clash), and Anthropic's post on context engineering (2025-09-29), which uses context rot for the decline in recall as the window fills and warns that "overly aggressive compaction can result in the loss of subtle but critical context". They sort by symptom in the model's answer; this site sorts by what is wrong with the call, because that tells you what to change.

This site's name Closest public term How they differ
Missing Anthropic's warning about aggressive compaction Breunig's list has no entry for a fact that is simply absent
Stale No common name Becomes clash once the newer fact also arrives
Drowned Breunig's distraction and confusion; context rot Distraction is the history crowding out what training taught; confusion is irrelevant text steering the answer
Contradicted Breunig's clash The same failure
Re-bought No common name A cost failure: the answer can be right while the room runs out
The chain below (laundering, persistence) Breunig's poisoning: an error that "makes it into the context, where it is repeatedly referenced" Poisoning starts with any error; the chain starts with two true facts at different times

Three of the five respond to trimming: drop what is not needed and drowned, re-bought and some missing failures ease. Stale and contradicted do not. A smaller window with both versions in it is still wrong; a smaller window with only the old version in it is worse. The rest of this chapter is about those two.

Stale and Contradicted Are One Problem

They are one problem seen at two moments: a stale fact is a contradiction whose other half has not arrived yet, or arrived somewhere the model cannot see.

The records that cause them are rarely wrong when written. Picture a project's notes after a few weeks of agent sessions. A tracker row says a pull request is open; a line further down the same file, written by a later session, says it is live. A goals file states a page count that the build manifest has since overtaken. A memory file marks a rule "ratified" weeks after the team moved on. Each line was true on the day it was written, and every agent that reads the file inherits all of them at once, with equal authority. None carries a marker of what replaced it, so a later reader, human or agent, cannot tell the live line from the dead one. An agent's context is a document too, and it fails the same way.

The Chain: Conflation, Laundering, Persistence

A contradiction in the window is not yet a wrong answer. It becomes one in three steps: this site's account of the contradicted failure, not a sixth kind.

Conflation. The change agent fused two versions into one plan. Research is consistent with this: on mixed evidence, Xie et al. (2023) found that models side with the majority of the evidence and shift with its order, and on multi-turn work, Laban et al. (2025) measured "an average drop of 39% across six generation tasks" when the same task's instructions arrived piece by piece over several turns rather than all at once. That study is about requests revealed gradually, not decisions reversed, so it shows models handle accumulated turns badly, not how they choose between versions. The Thursday plan was quoted all day; the Friday change appeared once. "Most recent wins" is not a rule the model follows.

Laundering. The session reaches its limit and is compacted: a summary replaces the conversation. A summary is written to keep the current task moving: what was asked, what was done, what is next. Unless its format has a slot for what replaced what, the summariser can settle the clash silently, in whichever direction it reads it, and write the result as plain narrative. What Compaction Actually Destroys found decisions came through better than identifiers, but a decision that survives can survive as the wrong version, and nothing marks it.

Persistence. The laundered line is written into a memory file, a handoff note, a tracker row. It is now durable, and durable reads as true. Every later session starts from it, and agreeing copies multiply, because the memory file, the handoff and the summary were all copied from each other.

flowchart LR
    A["Two versions<br/>in the window"] --> B["Conflation<br/>a fused plan"]
    A --> C["Compaction<br/>no slot for supersession"]
    B --> C
    C --> D["Laundering<br/>one version written as fact"]
    D --> E["Persistence<br/>memory, handoff, tracker"]
    E --> F["Next session<br/>starts from it"]
    F --> A
    style A fill:#5a5a8a
    style D fill:#9d4444
    style E fill:#9d4444

Figure: The supersession loop. Two versions in the window fuse into one plan, compaction has no slot for which one was replaced, one version is written down as fact, and that record seeds the next session with more agreement for the wrong plan.

Each pass adds another durable copy of the settled version. That is one plausible route from contradiction to what looks like hallucination: the agent states something false with confidence because its context told it so, more than once. The chain is a hypothesis, not a measured finding; each link has evidence of its own, but nobody has measured the whole loop end to end. Treat it as a map of where to look.

Try It: Four Ways to Reach the Last Call

The lab runs the CHG-4182 session to its last call: you ask for the final plan. Before that call the harness has to do something about a history that is mostly tool results, and you choose what. Read what each choice leaves in the window. Watch two things: whether both times are still there, and whether anything says which one was replaced. Clearing is context editing, where the API replaces old tool results with "placeholder text indicating to Claude that it was removed"; compaction is the summary step from What Compaction Actually Destroys. With JavaScript off, the table shows the same four outcomes.

Before the last call (an invented session; sizes are round figures) Tokens on the last call Thu 22:00, unmarked Fri 22:00, unmarked Marked as replaced Identifiers kept, not counting your question
Keep everything 26,310 4 1 0 4 of 4
Clear old tool results (keep the latest one) 8,940 3 1 0 4 of 4
Compact: a plain summary replaces the history 3,170 1 0 0 0 of 4
Compact, with a decision record read first 3,350 1 1 2 4 of 4

Clearing cuts two thirds of the tokens and leaves the clash exactly where it was, because the clash is in the messages, not the tool results. The plain summary is the cheapest call of all and the worst: it settled the clash silently, toward Thursday, and wrote it as fact. The summary was written by hand for the lab, and a real summariser could as easily have kept Friday; what no plain summary format has is a place to say what replaced what. Only the fourth choice settles the question before the model reads anything, and it costs 180 tokens more than the summary alone. The next section builds that record.


Work Out What Is Current, Then Write It Down

If the model cannot be trusted to settle a disagreement, and the summariser settles it silently, the harness has to settle it before either sees the text. The place to settle it is a short record kept outside the conversation. For CHG-4182, after operations moved the plan, it reads:

## Objective
Restart the payments service for CHG-4182 with no customer-facing downtime.

## Decisions in force
- D3: fail over to pay-06, then restart pay-07; window Fri 22:00.
  [operations, change system plan v2]

## Superseded
- D1 -> D3: "restart pay-07 in place" (replaced by the failover plan)
- D2 -> D3: "window Thu 22:00" (moved to Friday by operations)

## Open questions and obligations
- Promised: confirm the rollback owner with the on-call lead before Friday.

## Exact references
- CHG-4182, pay-06, pay-07, runbook RB-12 sections 3 and 5

Four rules make it work.

Supersession is data, not prose. Each superseded decision keeps its old wording and points at what replaced it, so a reader who meets "Thu 22:00" anywhere in the history can recognise it as reversed. A correction that only says "plan revised" is prose; the summariser can drop it, and the next reader cannot find either version.

Supersession is derived from evidence, then recorded. It is a finding: a newer decision, from someone entitled to make it, replaces an older one. The evidence is the change system's new plan version, the owner's message, the merged change. Write the finding down once, so no later session has to dig it out of the history it was meant to replace. A supersession asserted with nothing behind it is a guess with a stamp on it. And newest is not the rule: if the Friday change was itself a mistake and operations reinstate Thursday, a timestamp follows the error. Who decided, on what evidence, decides.

A summary is derived, never authoritative. Rank what reaches the window by trust: what the owner said and the rules at the top, verified tool output next, model-written summaries below that, fetched text from outside at the bottom. A summary may stand in for the record; it may not overrule it. When the two disagree, the record and the artifact behind it win.

Two agreeing copies are not corroboration. Persistence produces agreement for free. Checking one note against another proves nothing; check it against the artifact: the change system's current plan, the build manifest, the merged pull request. When a goals file and a manifest disagree on a count, the fix is to read the manifest, not to find a third note that agrees with one of them. Better still, stop storing what a source can answer and read it from the source each time; Shared State Needs One Writer makes that the rule for several agents.

Where two live sources still disagree, surface the disagreement rather than rank it away: retrieval that quietly picks the higher-scoring version is laundering by another name. And retire by pointer, not by deletion, so an over-eager clean-up cannot delete the last copy of a rule still in force.

The same discipline applies to published writing, and agents raise the stakes: an agent that retrieves an article from six months ago meets stale context with nothing to mark it, and will follow advice its author has since reversed. A newer post should name the post it revises, as MCP Tools Are Not Endpoints does, so both stay on the record and a reader can tell which is the later word. This site also keeps such pairs as revision records that its answers read and that Where My Thinking Changed lists.

Poisoning Is a Different Problem

Everything above assumes each record was honest when written. Deliberate poisoning, text planted in a tool result or a fetched page that the agent later saves as fact, follows the same chain, but its defences are security work, starting with a review of untrusted input, not curation.

When Keeping the History Wins

Sometimes the history holds. If your summaries already carry supersession lines in a form the summariser preserves across compactions, compaction may not be where your failures cluster; look at judgment instead.

An audit needs every version. A change board or a regulator will ask what the agent was told, and when. Keep every version in a log outside the window. Retiring the Thursday plan from the call's input is not deleting it from the log.

History can be over-weighted too. A record of past failures that every new plan must answer to can block designs that would now work. A past failure may inform a design; it should not veto one. Like any record, it goes stale.

Short sessions without corrections have nothing to supersede, and the apparatus costs more than it saves.


What to Do Next

  • Classify your last three failures with the table above. One that fits none of the five is the one to blame on the model.
  • Find your contradictions. Take ten long sessions and five of your longest-lived notes files. List every fact that changed, and check whether the old version was still being read.
  • Keep a record with a Superseded section. Old wording, what replaced it, on whose word. Rewrite it when the plan changes, before the next plan, and have the agent read it first after every compaction.
  • Rank summaries below the record. Treat compaction output and memory notes as derived; when they disagree with the artifact, the artifact wins.
  • Check against the artifact, not another copy. Before any write, compare the version the agent cites with the system of record.
  • Surface conflicts instead of ranking them away, and retire by pointer rather than deleting.

Next: Shared State Needs One Writer, the same rule when several agents read and write one record. Related reading: Four Kinds of Context for why direction needs its own record; What Compaction Actually Destroys for what a summary drops at the boundary; and Your Rules Are Fighting Each Other for the same clash inside a rules file.