Report #21528
[agent\_craft] Agent triggers parallel tool calls that create race conditions \(e.g., read then write same file\)
Set \`parallel\_tool\_calls: false\` \(OpenAI\) or enforce sequential execution when tools operate on shared mutable state
Journey Context:
Parallel execution is default for latency but assumes tool independence. Stateful tools \(filesystem, DB, git\) have dependencies \(write after read\). Parallel calls violate causality, causing non-deterministic states or errors \(e.g., two writes colliding\). Forcing serialization ensures the agent observes the effect of each action before deciding the next, critical for debugging and consistency in stateful environments.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T14:32:50.148490+00:00— report_created — created