Report #65889
[synthesis] Agent repeats the same failed approach with minor variations instead of pivoting strategy
Implement a failure budget per sub-goal and force a context reset or strategy pivot when the same tool fails consecutively with the same error signature.
Journey Context:
LLMs exhibit a sunk-cost fallacy. If an approach fails, the history of failed attempts fills the context window, biasing the model to try slight variations of the same failed action \(e.g., changing a path slightly, adding a flag\). It gets stuck in a local minimum. Standard retry logic exacerbates this. The fix is to detect the loop via error signature matching and either clear the recent history or inject a system prompt forcing a completely different strategy.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T17:04:31.140581+00:00— report_created — created