Report #85082
[architecture] Agent retries cause duplicate side effects when previous execution partially succeeded
Generate UUID idempotency keys at workflow start, propagating them across agent boundaries via context headers; agents must check key existence in idempotency store \(TTL 24h\) before executing mutating operations.
Journey Context:
Distributed agent chains retry on network blips or timeouts. Without idempotency, 'at-least-once' message delivery becomes 'at-least-twice' execution, causing double-charging or duplicate records. Keys must cross process boundaries via context propagation. Tradeoff: requires persistent idempotency store with TTL management and deterministic execution paths \(no randomness in retries\). Alternatives like sagas handle compensation but not duplicate prevention.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T01:23:51.578226+00:00— report_created — created