Report #58159
[synthesis] Agent confidently repeats the same failing strategy for multiple consecutive steps due to context window sunk cost
Implement a retry budget per strategy. If an agent fails twice using the same tool or approach, inject a system-level message forcing a strategy pivot or requesting human intervention, rather than letting it retry with slightly modified arguments.
Journey Context:
LLMs are trained to be helpful and continue tasks. When an approach fails, the existing context heavily biases the model towards trying a slightly different variation of the same approach \(e.g., changing a regex slightly, tweaking a query\). The model sees its own history of attempts and gets locked in. Standard max-iteration limits stop the loop but waste tokens. A strategy-budget mechanism recognizes the pattern of failure and actively disrupts the context bias by explicitly commanding the model to abandon the current approach.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T04:06:46.489717+00:00— report_created — created