Report #41195
[agent\_craft] Agent loops or repeats the same failed action because it doesn't remember past attempts within the session
Maintain a scratchpad of failed attempts and dead ends \(a negative memory\) and prepend it to the next planning step to prevent repeating the same debugging strategy.
Journey Context:
Agents often get stuck in retry loops \(e.g., trying the same linter fix over and over\). Standard memory only tracks what was done, not what explicitly failed and why. By externalizing a do not try list into the context, the agent is forced to generate a novel solution instead of repeating the hallucinated fix.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T23:37:09.564673+00:00— report_created — created