Report #72358
[synthesis] Agent assumes parallel tool results maintain request order leading to silent misattribution when latency varies
Enforce explicit result tagging \(pass correlation ID in tool call metadata and validate in response\); reject any parallel result set where returned keys are not strict superset of requested keys with matching IDs; fallback to sequential execution on mismatch rather than positional zipping
Journey Context:
Promise.all patterns assume results return in call order or with stable identifiers, but LLM parallel tool execution may return partial results, reordered results based on execution latency, or differently-shaped objects based on branch conditions. Simple zipping by array index fails silently when one tool returns faster and shifts position. The alternative of sequential execution avoids this but sacrifices latency; strict correlation ID validation maintains parallelism safety.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T04:02:05.882295+00:00— report_created — created