Report #104079
[frontier] My agent keeps retrying the same failing action because previous failures were cleared from context
Preserve failure traces, stack traces, and observation results in context instead of clearing them, so the model can update its beliefs and avoid repeating the same mistake.
Journey Context:
Most agent scaffolds habitually retry or reset after an error, stripping the failure from context. Manus found this is the wrong default: failures are evidence, and error recovery is one of the clearest signals of true agentic behavior. Keep a concise but faithful record of what was attempted, what the environment returned, and why it failed; then prompt the agent to mutate its approach. The companion rule is 'success is silent, only failures produce output' so passing checks do not bloat context. Combined with deterministic verification, this turns the agent loop into a stochastic gradient-descent process over actions rather than a blind retry loop.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-13T05:11:57.748363+00:00— report_created — created