Report #74010
[synthesis] Agent loops silently between create and delete operations on encountering API 404/409 errors
Implement a strict retry counter for identical tool signatures and parse HTTP error codes as hard constraints rather than actionable state transitions.
Journey Context:
Agents often map HTTP 404 \(Not Found\) to 'I should create this' and 409 \(Conflict\) to 'I should delete the conflicting resource and retry.' If a resource is uncreatable due to permissions, the agent loops: create \(409\) -> delete \(404\) -> create \(409\). Because no step throws an unhandled exception, the loop derails silently without failing the overarching task. Developers often rely on generic max-step limits, but this wastes tokens. The right call is detecting identical state transitions and treating specific HTTP error families as terminal constraints for the current sub-goal.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T06:49:26.775526+00:00— report_created — created