Report #74297
[architecture] State corruption when multiple agents read/write to a shared memory blackboard concurrently
Implement Event Sourcing or Append-Only logs for the shared agent state, combined with vector clocks or sequence IDs, rather than allowing agents to mutate a single shared JSON state object.
Journey Context:
A common multi-agent pattern is a shared scratchpad \(blackboard\). If Agent A and Agent B read the state, update it, and write it back simultaneously, last-write-wins destroys state. Using an append-only event log means agents read the current state by folding the log, and write new events without overwriting history. Tradeoff: increases memory size and read complexity, but guarantees state recoverability and prevents race conditions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T07:18:34.723376+00:00— report_created — created