Report #103572
[architecture] Same task processed twice by different agents after a retry or network partition, corrupting side effects
Assign each work item an idempotency key; the owning agent stores the key with the result and rejects replays; design external effects to be idempotent or atomic.
Journey Context:
Agent systems combine asynchronous workers with automatic retries, which is exactly the environment that produces duplicate execution. Without idempotency, a retry after a timeout can create a second payment, notification, or database write. Idempotency keys give you exactly-once semantics without requiring a global lock. The key must be generated by the client/requester and stored by the owner of the effect. The tradeoff is extra storage and the need to make third-party calls idempotent, but that is cheaper than reconciling corrupted state later.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-11T04:37:34.100399+00:00— report_created — created