Report #55761
[architecture] Two agents passing control back and forth infinitely because neither can resolve the user request
Implement a strictly monotonically increasing hop count or depth limit in the orchestration context, aborting or escalating to a human when the limit is reached.
Journey Context:
A common failure mode is the ping-pong effect: Agent A thinks Agent B should handle it, Agent B thinks Agent A should handle it. Because LLMs lack global awareness of the loop, they will happily hand off forever. You must track the handoff depth in the immutable orchestration state and enforce a hard ceiling. This is analogous to the TTL field in IP networking to prevent routing loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T00:05:18.776861+00:00— report_created — created