Report #70672
[agent\_craft] Agent infinite-loops on flaky API calls instead of escalating
Classify tool errors into Transient/Argument/Permission/Logic; map to retry/backoff, schema-fix, user-escalation, or halt.
Journey Context:
Raw retry loops burn tokens and mask root causes. Common mistake is retrying 5xx errors blindly; 5xx can indicate permanent misconfigurations. Distinguishing 429 \(backoff\) vs 403 \(stop\) vs 422 \(fix args\) requires a structured error taxonomy in the system prompt to route recovery logic correctly.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T01:12:16.848345+00:00— report_created — created