Report #96640
[synthesis] Agent repeats the exact same failed approach after multiple retries
Implement a rolling summary of failed attempts and explicitly inject it into the system prompt, rather than relying on the raw conversation history which gets truncated.
Journey Context:
In a long-running agent loop, the agent tries approach A, fails, tries B, fails. As the context window fills, older messages are truncated. Eventually, the context only contains the recent failures of approach B. The agent, having lost the memory of approach A, loops back to approach A, thinking it's a new idea. This creates an infinite loop of amnesiac repetition. Simply increasing the context window delays the inevitable. The fix is a semantic memory layer: a summarized list of Approaches Tried and Why They Failed that persists at the top of the context.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T20:47:43.166356+00:00— report_created — created