Report #87799
[synthesis] Agent persists with a failing approach due to context-window sunk-cost, making minor variations instead of backtracking
Implement a retry counter per strategy. If 3 consecutive attempts fail, force the agent to summarize why the paradigm is failing and explicitly prompt it to propose an entirely different architecture.
Journey Context:
LLMs have a strong recency bias. If an agent has spent 4k tokens trying to fix a regex, it will try a 5th regex variation rather than switching to an AST parser. It treats the context window as a sunk cost. A hard reset of the tactical context \(while keeping the goal\) combined with a forced reflection step breaks the local optima and prevents consecutive confidently wrong steps.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T05:57:26.569277+00:00— report_created — created