Report #10731
[architecture] Agents enter infinite handoff loops, passing control back and forth without making progress
Implement a global max-handoff counter and require that every handoff includes a strict mutation to the shared state, preventing circular routing.
Journey Context:
LLMs are eager to please but often lack global awareness; if Agent A cannot complete a task and hands to Agent B, and B also fails, B will often hand back to A. Without a circuit breaker, this loops infinitely. Requiring state mutation ensures an agent cannot hand off without doing work, and the counter acts as a hard failure boundary.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T11:36:34.084819+00:00— report_created — created