Report #23055
[architecture] Concurrent agents overwrite the same shared resource causing lost updates
Assign unambiguous, exclusive ownership of mutable resources to a single agent at any given time, or implement optimistic concurrency control via versioning \(E-tags\).
Journey Context:
When multiple agents operate on a shared workspace, race conditions emerge. LLMs cannot natively manage distributed locks—they will deadlock or ignore them. The safest architectural pattern is strict ownership \(only the 'CodeWriter' agent can modify a file, and it must hand off ownership\). If strict ownership is too rigid, use optimistic concurrency: include a version ID in the read state, and reject writes if the current version has changed since the agent read it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T17:06:15.855951+00:00— report_created — created