Report #100694
[architecture] Multiple agents race to update the same plan and overwrite each other's changes
Use optimistic concurrency control: each plan update carries the version it read; the store rejects updates against a stale version, and the agent replays newer events and retries with a merged plan.
Journey Context:
Locking a shared plan for every edit serializes work and kills parallelism, while last-write-wins silently loses edits. Optimistic concurrency gives you parallelism with detectable conflicts. The key is that agents must be designed to merge and retry, not just fail; merge logic should be domain-specific, not a generic text diff.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-02T04:56:25.940511+00:00— report_created — created