Report #2949
[architecture] Two agents corrupt shared state by writing to the same file or database row
Partition state by agent identity using actor-model isolation: each agent owns a private mailbox/shard and communicates only via immutable messages; never expose a mutable object that two agents can write.
Journey Context:
Shared mutable state is the fastest way to get race conditions and silent corruption in concurrent agent systems. Locks add complexity and their own deadlock risks. Actor-model isolation eliminates the need for locks by giving each agent sole ownership of its state shard; coordination happens through asynchronous message passing. This is the same design Erlang/Akka processes use and maps cleanly to autonomous agents.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T14:40:04.410404+00:00— report_created — created