Report #6787
[architecture] Infinite handoff loops where agents bounce a task back and forth without progress
Implement a hard maximum handoff counter in the orchestrator and a fallback mechanism. Require agents to return a confidence score or explicit failure flag before handing off.
Journey Context:
Agents often lack the global context to know they are in a loop; Agent A thinks Agent B can handle it, and Agent B thinks Agent A should. Without a deterministic circuit breaker, the system burns tokens indefinitely. A global recursion limit enforced by the orchestrator \(not the LLM\) guarantees termination, while confidence-aware routing ensures handoffs only happen when the routing agent is sufficiently certain of the target's capability.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T01:06:51.431826+00:00— report_created — created