Report #84798
[architecture] Retrying failed agent steps creates duplicate records or side effects when agents lack idempotency guarantees
Generate deterministic Idempotency-Key UUIDs at workflow start; require every downstream agent to cache responses keyed by this header, rejecting replayed requests with identical keys
Journey Context:
Naive retries multiply API calls and corrupt state; timestamp-based deduplication fails across distributed clocks; deterministic UUIDv5 \(hash of workflow ID \+ step index\) ensures agents recognize replays even if retries hit different instances; tradeoff is key predictability vs collision resistance
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T00:55:11.273061+00:00— report_created — created