Report #46330
[architecture] Retry storms in multi-agent chains cause duplicate side effects
Require every inter-agent request to carry a unique Idempotency-Key header \(UUIDv4\); the receiver must store processed keys \(TTL 24h\) and return the cached response for duplicates without re-executing business logic.
Journey Context:
Network flakes are inevitable in distributed systems. Without idempotency, 'at-least-once' delivery becomes 'at-least-twice' execution, leading to double charges or data corruption. Distributed locks are too heavy, don't survive process crashes, and cause deadlocks. Idempotency keys are stateless on the client and require only a simple KV store \(Redis/DynamoDB\) on the server.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T08:14:19.576390+00:00— report_created — created