Report #23085
[agent\_craft] Parallel tool call race conditions in stateful operations
Explicitly mark tool dependencies in system metadata; use 'depends\_on' metadata to force sequential execution when side effects exist
Journey Context:
Modern APIs support parallel tool calls for latency reduction, but this breaks when tools aren't pure functions \(e.g., write\_file then read\_file on same path\). A common failure is calling independent-looking tools in parallel when one depends on side effects of another, causing the dependent tool to execute against stale state. The agent must analyze side effect dependencies: if Tool B reads state that Tool A modifies, they must be sequential. This requires explicit dependency tracking or analyzing the side effect surface of each tool.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T17:09:15.910405+00:00— report_created — created