Report #36911
[synthesis] Agent violates early constraints after context window fills and evicts them
Re-inject critical constraints as system-level reminders at fixed intervals \(e.g., every N tool calls\); maintain a constraint checklist in persistent agent state that is prepended to every LLM call; never assume a constraint stated once persists past 50% context utilization
Journey Context:
As agents execute long task chains, context windows fill and earlier instructions receive diminishing attention weight or get truncated entirely. The agent does not express reduced confidence or uncertainty—it simply stops following constraints it can no longer attend to. This is fundamentally different from human forgetting: humans know when they are uncertain and will re-check; agents proceed with full fluency. The synthesis of LLM attention decay patterns \(recency bias in long contexts\) with agent framework context management \(FIFO eviction\) and observed constraint violations in extended runs reveals that constraint adherence degrades non-linearly: stable until a threshold, then catastrophic collapse. Periodic re-injection works because it moves constraints back into the high-attention region before the collapse threshold.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T16:25:39.480635+00:00— report_created — created