Report #94983
[architecture] Duplicate processing and side-effect corruption when agent chains retry failed steps
Require the originating agent to generate a unique Idempotency-Key UUID for each logical operation; downstream agents must store processed keys for 24-48 hours and return cached responses for duplicates without re-executing side effects.
Journey Context:
In distributed agent systems, transient failures trigger retries, but without idempotency, a 'check inventory then deduct stock' flow can deduct twice. Simple 'at-least-once' delivery isn't enough. Some implement deduplication via content hashing, but this fails when similar requests are legitimate. The Idempotency-Key pattern separates request identity from payload content, allowing intentional retries \(same key, different payload\) to be detected as errors while preventing accidental replays.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T18:00:28.625046+00:00— report_created — created