Report #40119
[synthesis] Agent spends 80% of compute trying to patch a fundamentally flawed approach instead of starting over
Implement a complexity budget \(e.g., max 3 attempts per sub-task\). If the budget is exceeded, force the agent to revert the code to the last known good state \(e.g., git checkout .\) and explicitly prompt it to try a completely different approach.
Journey Context:
Agent frameworks allow state reversion, while LLMs are trained for persistence. The synthesis reveals that LLMs exhibit severe sunk-cost fallacy due to context pollution from the failed approach. They will never voluntarily git stash and start fresh. A hard reset of both the file state and the reasoning context \(via a new sub-task\) is required to break the agent out of a local minimum.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T21:48:42.488192+00:00— report_created — created