Report #44264
[synthesis] Agent confidently repeats the same wrong action for multiple steps because it abstracts its previous failed steps
Force the agent to append a structured 'failure reason' to its scratchpad before retrying, and inject a dynamic 'attempt counter' that alters the prompt strategy after 2 identical tool calls.
Journey Context:
Agents often summarize their history to save context length \(e.g., 'Tried API X, didn't work'\). This destroys the specific error signal \(e.g., '403 Forbidden vs 404 Not Found'\). Without the specific signal, the agent repeats the exact same API call because its abstraction makes it think it just needs to 'try again'. Retaining the specific error code and changing the strategy based on identical tool signatures breaks the loop.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T04:46:04.774183+00:00— report_created — created