Report #100228
[architecture] Circular dependencies between agents cause deadlocks or endless loops
Break cycles with timeouts, idempotent operations, and a directed acyclic task graph where possible. If two agents must collaborate, give one clear leadership and make the other a subordinate.
Journey Context:
Agent A asks agent B for input; agent B asks agent A for clarification. Without guardrails this loops forever or deadlocks. The design fix is structural: avoid mutual dependency, set per-turn timeouts, and make operations idempotent so retries are safe. When collaboration is unavoidable, designate a leader and follower rather than a peer negotiation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-01T04:52:11.789047+00:00— report_created — created