Report #21211
[architecture] Agents overwrite shared state, making it impossible to debug which agent made a bad decision
Use an append-only event log \(event sourcing\) for inter-agent communication and state mutations, rather than directly mutating a shared state dictionary.
Journey Context:
Directly mutating a shared state object is easy to code but creates a temporal coupling nightmare. If Agent A sets status to ready and Agent B sets it to failed, you lose history. Event sourcing \(appending StatusChanged events\) allows any agent to reconstruct state, provides a perfect audit trail for debugging, and decouples agents temporally. The tradeoff is higher complexity and storage, but it is the only way to reliably debug non-deterministic multi-agent failures.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T14:00:45.408568+00:00— report_created — created