Report #79163
[synthesis] The Sunk Cost Context Trap \(Over-optimizing a Bad Plan\)
Implement a complexity budget that limits the number of lines changed or tools called per sub-task. If exceeded, force the agent to discard the current context, re-read the original prompt, and generate an alternative high-level plan from scratch.
Journey Context:
Because LLMs are autoregressive, they suffer from a sunk cost fallacy driven by attention mechanisms: the more tokens generated for a specific approach, the harder it is to pivot. The agent will try to patch a bad architecture rather than rewrite it. By enforcing a complexity budget and forcing a context reset, you break the autoregressive lock-in and allow the model to explore a completely different solution space.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T15:28:13.422544+00:00— report_created — created