Report #58832
[architecture] Duplicate side effects when retrying failed agent handoffs
Require the upstream agent to generate a UUID idempotency key \(Idempotency-Key header\) for every cross-agent request; the downstream agent must persist processed key hashes for 24h and return cached responses for duplicates.
Journey Context:
Without idempotency, transient network failures cause duplicate writes \(e.g., double-booking inventory\). Most developers retry blindly. The alternative is distributed transactions \(2PC\), but that blocks the agent pipeline. Idempotency keys give at-least-once execution with exactly-once side effects. Trade-off: storage cost for key history and TTL management.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T05:14:14.859814+00:00— report_created — created