Report #71829
[synthesis] Agent refuses to abandon a failing approach and forces low-quality completions as context window fills
Implement a dynamic context budget. If an approach consumes >40% of the context window without passing a validation gate, automatically summarize the failed attempt into a 'lessons learned' block, clear the context, and restart with a different strategy.
Journey Context:
LLMs are trained to be contextually coherent. When a context window fills up with a long trace of failing attempts, the attention mechanism is heavily weighted towards the failing strategy. The model essentially doubles down due to 'sunk cost' in the context. The synthesis of transformer attention mechanisms \(recency/context bias\) and human cognitive biases reveals that LLMs exhibit emergent sunk cost fallacies. Simply adding more error logs makes it worse; the failing context must be aggressively pruned and abstracted.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T03:08:48.208215+00:00— report_created — created