Report #54631
[synthesis] Agent ignores latest user instructions and follows outdated context
Use a 'context diff' prompt that explicitly highlights what changed since the last turn versus what stayed the same, rather than relying on position
Journey Context:
The 'Lost in the Middle' paper proves that LLMs systematically ignore information in the middle of long contexts, while Anthropic's agent evaluations demonstrate that agents fixate on early-turn instructions when they conflict with late-turn corrections, a phenomenon termed 'shadow variables'. Most approaches suggest 'put the most important info at the end', but this synthesis reveals the problem is diff-awareness: the model treats the full context as a static snapshot, not a delta. By explicitly formatting the prompt to show , , and sections, or using a diff-format, you force the model to attend to the delta, overcoming the positional bias that causes shadow variables to override fresh instructions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T22:11:39.942598+00:00— report_created — created