Abstract
Part 14 of a 39-part technical disclosure series (Embodiment 14).
An AI agent sends a payment, a refund, a cloud change or a database update. The connection drops, the response never arrives, or the worker restarts. Did the action happen or not? Most systems guess, and the usual guess is "it failed, so try again". If the first attempt had in fact gone through, the retry pays twice, refunds twice, creates a second resource or repeats a destructive change. As AI agents, queues and automated workflows take over consequential actions, this is a direct AI safety problem: a lost acknowledgment, a timeout or a restart is treated as permission to act again.
This disclosure describes a way to make retries safe. Each authorised action receives one logical identity that stays the same across all attempts, while every delivery attempt gets its own identity, so a repeated delivery is never mistaken for a new action. The system keeps a durable record that separates five different facts: the action was authorised, it was sent, the endpoint accepted it, the effect was really committed, and the originating process received an acknowledgment. When the outcome is unknown, a protected quarantine blocks any further attempt, replacement or competing action until proper evidence settles it. That evidence is defined in advance (an endpoint commit record, a transaction version, a signed outcome witness or a verified target-state response) and is gathered by a reconciliation step. Only then is a narrow retry, continuation, compensation or recovery authorisation issued, and a gate at the real destination enforces it. If the endpoint cannot prove what happened, the system does not claim "exactly once" and does not retry blindly. It keeps the action unresolved and allows only investigation, manual reconciliation or bounded recovery. The record survives restarts, container replacement, worker reassignment and workflow replay, and independently authorised safety functions are not blocked.
What this teaches, in plain words 1. No answer is not a "no". A timeout, a lost reply or a restart does not show that an action failed. 2. Keep one identity per action and one per attempt. That is how a repeated delivery is told apart from a genuinely new action. 3. "Sent", "accepted" and "done" are three different things. Only proof that the effect was committed counts as done, and an HTTP 200 or a queue acknowledgment is not that proof. 4. When unsure, freeze. Until the outcome is known, no second attempt, substitute or competing action may run. 5. A retry is a new permission. It is granted only after the outcome is established, and it is limited to what is safe. Undoing an action (compensation) needs its own authority. 6. Admit what cannot be known. If the other side offers no reliable status or de-duplication, the honest answer is "unresolved", not a promise of exactly-once. 7. Check at the last gate. Safety is enforced where the payment, change or command actually takes effect.
How this lines up with real platforms (AI-generated architectural hypotheses based on public vendor documentation; the existing features below already solve part of the problem): - AWS Step Functions and Amazon SQS: Step Functions retries and SQS at-least-once delivery can repeat a call. An adapter would compute the effect identity, store the durable uncertainty record, turn an ambiguous external call into a quarantine, and require authoritative target status before a new external effect is allowed. - Amazon Bedrock AgentCore Runtime: long-running and asynchronous agent sessions would keep the external effect record separate from the agent's own session memory, so a new session or worker cannot clear an unresolved action. The session identity is not treated as proof that the destination committed the effect. - Temporal durable execution: each externally consequential Activity would carry a stable effect identity and an outcome criterion, so a non-authoritative timeout causes quarantine, not a new independent effect. A cooperating idempotent receiver with Temporal may already meet much of this. - Microsoft Azure Durable Functions: an endpoint-aware outcome criterion and an effect register that is not cleared when the orchestration restarts would separate a durable history from an effect actually committed at the target. - Google Cloud Workflows: protected retries would pass through an external-effect state controller that refuses a renewed mutation while the prior endpoint effect is unresolved. Read-only queries need not be serialised. - Payments, refunds and cryptocurrency: the effect identity binds the exact amount, account and recipient; the provider's authoritative settlement outcome, not an HTTP 200 or queue acknowledgment, closes the action; an ambiguous submission never creates a second transfer or refund automatically, and broadcast of a transaction hash is not treated as ledger finality. - Cloud infrastructure changes: after a timeout, a create, delete or security-rule change compares the provider-generated resource identity and state with the intended operation before any repeat. - OpenAI Responses and agent tool clients: a consequential tool call is held as a candidate action; the application's executor or tool proxy consults the effect record, and a target-side outcome query, not the resumed model conversation, proves the effect. - Anthropic Claude, MCP and Agent SDK: a tool use or MCP request carries the same logical effect identity through any connector and retry, and the destination adapter enforces the current quarantine and retry authorisation. An agent's or tool's own report of success is not enough where a material external effect needs authoritative acknowledgment. These mappings are AI-generated. They are not an endorsement, validation, adoption or infringement statement, and no named company is stated to implement this invention. Readers must cross-check them against the original PCT filings and each company's own documentation.
Patent and disclosure details Claims 155-165. Based on Indian Provisional Filing 202631136555 (applicant-reported), filed 15 November 2026, and on the Mothership application PCT/IB2026/055615, filed 4 June 2026 and publicly disclosed 16 July 2026. Patent-pending concept; no patent has been granted. First disclosure: Mothership PCT/IB2026/055615, full text at https://www.tdcommons.org/dpubs_series/12542/. A machine-readable PDF copy of the PCT filing and the complete technical disclosure are also on Zenodo, "Computation Is Not Authority to Act: A Pre-Execution Authorization Layer for AI Agents, Cloud, Telecom, Payments, and Critical Infrastructure": https://zenodo.org/records/23245054 (DOI 10.5281/zenodo.23245054). European Zenodo disclosure, 16 November 2026, "EUROPE'S NEXT AI SECURITY CHALLENGE: WHO CONTROLS THE FINAL ACTION? From EU AI Act and NIS2 to 6G, the Digital Euro, Industrial AI and Critical Infrastructure": https://zenodo.org/records/24274259. Related embodiments: 3, 4, 26, 27, 28, 31, 32, 33, 34, 35, 37 and 38 of the 39-part series. Read the full PCT filing: search "Sangam Das" on WIPO PATENTSCOPE; search PCT/IB2026/055615 (pctib202655615); read it in TD Commons at https://www.tdcommons.org/dpubs_series/12542/; or open the PDF copy on Zenodo at https://zenodo.org/records/23245054 The underlying invention is human-originated. AI-assisted tools were used to prepare this summary, which may contain errors. License: CC BY-NC 4.0.
Keywords: AI safety; uncertain outcome; unknown outcome; timeout handling; lost acknowledgment; safe retry; retry safety; duplicate payment; double payment; double charge; duplicate refund; duplicate execution; exactly-once; at-least-once delivery; idempotency; idempotency key; transactional outbox; inbox deduplication; durable execution; workflow orchestration; saga; compensation; reconciliation; quarantine; fail-closed; execution finality; agentic AI; AI agents; tool-call authorisation; Model Context Protocol; MCP; AWS Step Functions; Amazon SQS; Bedrock AgentCore; Temporal; Azure Durable Functions; Google Cloud Workflows; payments; settlement; DORA; cloud infrastructure; critical infrastructure; EU AI Act; NIS2; patent-pending
Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial 4.0 License
Recommended Citation
Das, Sangam Kumar, "AI Safety: A Timeout Is Not a Failure. How to Stop AI Agents and Automated Workflows from Paying Twice, Deleting Twice or Acting Twice When the Result of an Action Is Unknown - Part 14", Technical Disclosure Commons, ()
https://www.tdcommons.org/dpubs_series/13309