Report #85080
[architecture] Two agents overwrite the same file or database record concurrently, causing lost updates
Assign unambiguous, exclusive ownership of mutable resources \(files, DB rows\) to a single agent at a time, enforced by a lock or strict routing.
Journey Context:
Multi-agent systems often share state naively, assuming the LLM will 'figure it out.' Without exclusive ownership, classic distributed systems race conditions emerge. If Agent A and Agent B write to the same file, the last write wins and data is lost. The tradeoff is that strict ownership limits parallelism on a single resource, but it guarantees state consistency and eliminates the need for complex merge resolutions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T01:23:47.375635+00:00— report_created — created