Report #79000
[architecture] Race conditions and lost updates when multiple agents read/write to a shared state object concurrently
Implement optimistic concurrency control \(OCC\) using version stamps or ETags on the shared state, or use message-passing \(Actor model\) where state is encapsulated within a single agent.
Journey Context:
Blackboard architectures \(shared memory\) are easy to build but suffer from race conditions when two agents read the same state, modify it, and overwrite each other's changes. OCC detects this at write time and forces a retry. Alternatively, the Actor model avoids shared mutable state entirely by forcing agents to communicate only via messages, which is safer but harder to coordinate for global tasks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T15:12:02.289439+00:00— report_created — created