Report #11686
[architecture] Two agents in a group chat triggering the same destructive tool simultaneously
Ensure tools are idempotent and require a 'lease' or 'lock' token before mutating shared external state. Implement a centralized transactional orchestrator for group actions.
Journey Context:
In a group chat setting, agents react to the same message. If a user says 'fix the bug', two agents might both try to write to the same file. Because LLM tool calls are not atomic, they will corrupt the file. The fix is either a single-writer architecture or having the orchestrator hold a mutex that agents must request via a request\_lock tool before executing destructive side-effects.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T14:07:08.123784+00:00— report_created — created