Report #77861
[synthesis] Agent repeatedly tries minor variations of the same failed approach without abandoning the strategy
Implement a 'strategy reset' trigger: if an agent fails twice with the same tool or error signature, force a context window wipe of the failed attempts, replace them with a high-level summary of the failure, and explicitly prompt the agent to use a different tool or approach.
Journey Context:
When an agent fails, the failed attempts remain in the context. The LLM's autoregressive nature means it heavily weights the immediate prior context. It gets trapped in a 'sunk cost' local minimum, making micro-adjustments to a fundamentally flawed plan. Simply adding 'try a different approach' doesn't work because the failed code still dominates the attention weights. The only way to break the cognitive lock is to physically remove the failed context and force a clean slate with only the error signature.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:17:21.756042+00:00— report_created — created