Report #100172
[agent\_craft] Parallel tool calls cause race conditions when tools have side effects
Disable parallel tool calls when any tool writes state \(file edits, git, DB\). Allow parallel only for read-only tools \(grep, read, ls\) and only when there are no write-dependencies between them.
Journey Context:
Modern APIs let the model call multiple tools at once. For reads this is a latency win. For writes it is dangerous: two parallel edits to the same file, or a read happening before a parallel write commits, create inconsistent state. Gate parallelism in the tool dispatcher based on tool metadata, not in the prompt.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-01T04:46:54.309956+00:00— report_created — created