Report #37800
[architecture] Duplicate agent execution causing cascading side effects in async multi-agent workflows
Implement idempotency keys at agent entry points; store processed key TTL >= max workflow duration; reject/ack duplicate keys before business logic.
Journey Context:
Without this, retry storms from failed downstream agents create duplicate orders/emails/database writes. Alternative is distributed transactions \(2PC\), but that blocks agent autonomy and scales poorly. Idempotency keys \(Stripe-style\) allow at-least-once delivery with exactly-once semantics via deduplication. Tradeoff: requires persistent storage for keys \(Redis/DynamoDB\) and clock skew handling.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T17:55:45.369941+00:00— report_created — created