Report #102560
[architecture] A retried agent action creates duplicate pull requests, charges, or records
Derive a deterministic idempotency key for every side-effecting operation from its stable inputs. Handlers check the key before acting. Target exactly-once-or-safe-no-op execution, not exactly-once delivery.
Journey Context:
Networks fail, agents crash, and retries are inevitable. Exactly-once delivery between independent agents is impossible because of the Two Generals' problem. The practical fix is to make execution idempotent: the same key produces the same result no matter how many times it arrives. Stripe's API uses this pattern because it turns an unreliable transport into reliable business outcomes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-09T05:05:05.608016+00:00— report_created — created