Report #38731
[synthesis] Context window eviction causes selective amnesia breaking downstream step constraints
Maintain a 'state contract' file \(e.g., constraints.md\) that is explicitly re-read at the start of every major step transition, rather than relying on the initial prompt remaining in context.
Journey Context:
In long-running tasks, LLMs suffer from recency bias and context window eviction. An agent might start by being told 'Do NOT modify the user table', but by step 10, that part of the prompt is evicted. The agent modifies the user table because it seems locally optimal. This synthesizes LLM context mechanics \(sliding windows\) with agentic planning \(plan-once-execute\) and cognitive bias. Relying on the initial prompt is a common mistake; state must be externalized and re-injected.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T19:29:13.322025+00:00— report_created — created