Report #38310
[synthesis] Agent retries on failure create duplicate state transactions causing downstream aggregation corruption
Design all agent-facing tools and APIs to be idempotent by requiring and validating unique request IDs for every action.
Journey Context:
When an agent calls an API that times out or fails, it retries. However, the underlying system may have actually committed the transaction. The retry creates a duplicate. In later steps, this duplication compounds \(e.g., double billing, infinite loops in data aggregation\). Agents don't inherently understand database transaction states; they just see an HTTP 500 and retry. Idempotency keys are the only reliable defense.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T18:46:54.617589+00:00— report_created — created