What if the same instruction arrives twice?
Reject a resubmitted, previously-executed request by design — idempotency has to be enforced at the execution layer, not assumed because it "shouldn't happen."
Every payment-capable agent works when the network is fast, the response arrives once, and nothing is malicious. Readiness is measured by what happens when none of that is true.
By the end of this lesson, you should be able to inspect a proposed agent deployment, assign evidence-based readiness scores per failure path, identify which exceptions have only been discussed versus actually exercised, and explain why a system that has never failed on purpose is not a tested system.
Reject a resubmitted, previously-executed request by design — idempotency has to be enforced at the execution layer, not assumed because it "shouldn't happen."
Define what the agent does when a request hangs — retrying blindly can duplicate a payment that actually succeeded silently on the far end.
Exercise the actual revoke-and-rotate procedure end to end, including the specific stop condition that should trigger it — a documented process nobody has run is a guess with paperwork.
Deduplicate at the infrastructure layer using a request identifier, not agent self-restraint — an agent under retry logic or confused state will resubmit.
Define the threshold and response for partial delivery explicitly — "close enough" is a decision that needs an owner, not a default the system falls into.
Name who initiates a dispute or refund and what the agent does when a dependency is simply unavailable — silence during an outage is not the same as a safe stop.
A subscription-renewal agent retries any request that times out after 10 seconds, up to three times. The team confirms the payment API is idempotent "by design" but has not sent a deliberately duplicated request to verify it. There is no procedure for a leaked signing key beyond "someone would notice and shut it down." Partial fulfillment and disputes have not come up yet.
Replay is at most 1, not 2 — idempotency "by design" without a test that actually sends a duplicate request is an unverified assumption, and blind retries on timeout make this exact gap load-bearing. Timeout itself is 1: a retry policy exists, but nothing confirms it can't double-charge on a slow-but-successful original request. Compromised credentials is 0 — "someone would notice" is not a procedure with an owner or a measured response time. Duplicate requests is 0 for the same reason as replay: never actually tested. Partial fulfillment and dispute handling are 0 by the team's own account — not designed around, not just unenforced. The appropriate next step is a deliberate duplicate-request test against the payment API before extending retry counts or adding new failure paths.
STOP → EXERCISE