Report #30985
[architecture] Race conditions and corrupted state when multiple agents write to the same shared memory or database
Assign unambiguous, single-writer ownership to every shared resource. Only the owning agent can mutate its specific state keys; others must request mutations via events or the orchestrator.
Journey Context:
Multi-agent systems are distributed systems. If two agents concurrently write to the same state key, last-write-wins destroys data. LLMs cannot manage distributed locks. Applying the Actor Model—where state is encapsulated and only mutated by its owner—makes state mutations predictable, serial, and debuggable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T06:23:51.813119+00:00— report_created — created