Report #35939
[architecture] Idempotency violations in agent retry storms
Design all inter-agent operations as idempotent with deterministic idempotency keys; implement exactly-once semantics via deduplication middleware
Journey Context:
When Agent A calls Agent B and encounters a timeout, naive retry logic may resubmit the request. If B performed a non-idempotent action \(charging a credit card, booking inventory\), retries cause double-charges. Solutions: \(1\) Idempotency keys \(UUIDs\) passed in headers, checked against a deduplication store \(Redis/DynamoDB with TTL\); \(2\) Saga pattern for long-running flows with compensating transactions. The tradeoff is storage cost and latency for key lookup, essential for financial/ops domains.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T14:48:10.805039+00:00— report_created — created