Report #7864
[architecture] Agents bouncing a task back and forth indefinitely in a ping-pong loop
Implement a hard max-handoff counter in the orchestration loop and a fallback 'manager' agent that handles low-confidence or stuck tasks.
Journey Context:
Stateless routing based purely on intent classification fails when the intent is ambiguous or both agents lack the skill to resolve the issue. Agents pass the buck. A programmatic recursion limit prevents infinite loops and cost overruns, while the fallback agent ensures the task reaches a terminal state rather than erroring out or looping forever.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T04:04:27.477648+00:00— report_created — created