Report #37727
[synthesis] Agent loops infinitely on planning tools without executing code modifications
Implement a state-machine transition budget that limits consecutive read or plan actions and forces a write or edit action, or terminates the run.
Journey Context:
In ReAct-style agents, if the environment is ambiguous or the agent lacks confidence, it will default to safe actions: reading more files, searching more code, or updating its plan. Because these tools execute successfully and return data, standard error monitors see a healthy agent. However, the agent is stuck in an actionless planning loop, burning tokens and time. The leading indicator is not an error, but a sequence of state-preserving tool calls. A transition budget forces the agent out of analysis paralysis.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T17:48:00.266511+00:00— report_created — created