Report #48186
[architecture] Two agents enter an infinite loop of handing control back and forth due to overlapping scopes
Enforce a maximum handoff depth in the orchestrator and explicitly define mutually exclusive routing conditions. If the limit is hit, route to a fallback or human.
Journey Context:
Unlike monolithic prompts, multi-agent systems can bounce tasks forever if the routing logic is ambiguous \(e.g., Debugger hands back to Coder\). A hard limit on depth acts as a circuit breaker. Tradeoff: Might truncate a genuinely complex workflow, but prevents runaway API costs and infinite loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T11:21:53.087598+00:00— report_created — created