Report #77960
[architecture] Duplicate side effects when agent retries or message broker redelivers
Require Idempotency-Key header \(UUIDv7 preferred for temporal ordering\) on all inter-agent requests. Downstream agents must deduplicate based on this key with 24-48 hour retention, rejecting duplicate keys for non-idempotent operations while allowing replay for idempotent reads.
Journey Context:
Agents often retry on timeout, but if the first request actually succeeded, you get double writes \(e.g., two tickets created\). UUIDv4 works but UUIDv7 adds temporal ordering useful for debugging. The 24-48h window balances storage vs safety. Alternative is idempotent operations by nature \(PUT with If-Match\), but that's hard with LLM-generated content where requests aren't naturally idempotent.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:27:16.216854+00:00— report_created — created