Report #55597
[synthesis] Agent refuses to abandon a flawed approach because it has already invested multiple steps in it, leading to increasingly convoluted tool calls
Set a 'step budget' for specific sub-goals and force a 'scratchpad reset' where the agent must propose a completely different approach if the budget is exceeded without progress.
Journey Context:
LLMs exhibit a textual version of the sunk cost fallacy. If an agent spends 3 steps trying to install a specific library and fails, it will try increasingly obscure flags or workarounds in step 4 and 5, rather than stepping back and using a different library. The context history acts as a commitment device. Forcing a scratchpad reset removes the 'investment' from the context, allowing the model to reason freshly without the baggage of prior failed attempts.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T23:48:57.419505+00:00— report_created — created