Manuscript Offprint

arXiv:2610.31916

Permission to Retry: A Study of Authorization and Recovery in AI Agent Workflows

Deekshith Marla, Kushagra Bhatnagar

ABSTRACT

A durable agent can resume a consequential action while its authority changes and the action's external outcome remains uncertain. We study execution-time reliability of tool-using AI agents, isolating recovery decisions from language-model behavior. Checkpoint state, permission to dispatch, evidence of an external effect and permission to reconcile are distinct obligations. We present a finite conformance study that checks these obligations through histories scored against a provider effect ledger hidden from the recovering application. A prospectively frozen campaign executes 336 histories on native LangGraph and Temporal hosts, crossing 14 schedules, three provider contracts and four matched application policies. All 168 paired host cells have identical checked outcomes. Per host, retained-ledger reconciliation passes all 42 histories: 21 checked completions, 15 denials and six unknown outcomes with reservations retained. Cached retry, revalidation before retry and stable-key retry pass 30, 36 and 31 histories respectively. A separate 16-case component study of InfinityOS, an enterprise AI platform developed by Arya.ai, exercises exported authority, worker, recovery and settlement code over repository fakes. The results isolate the roles of current authority, provider contracts and retained observations in recovery, with safety, completion and unresolved obligations reported separately for the declared application profile.

Keywords: AI agent reliability; tool use; authorization; durable execution; recovery; uncertain outcomes.

1 Introduction

Consider a refund for an approved recipient and amount. The service commits the refund, but the acknowledgement disappears. Before a replacement worker resumes, the initiating principal loses write permission. Repeating the request can create a duplicate; treating a missing acknowledgement as proof of failure can release an obligation prematurely; abandoning every continuation can prevent legitimate recovery. Recovering evidence of an existing effect and obtaining authority for a new dispatch are separate decisions.

For a tool-using AI agent, resuming a workflow requires deciding what actions remain permitted and what can be concluded from earlier observations. We isolate this execution layer to examine how changing authority and uncertain tool outcomes affect recovery.

This is a distributed execution problem with established foundations. Fault-tolerant workflows already separate durable state from external effects [8]. Agent research directly addresses semantic replay, consumed authority and uncertain outcomes [1, 2, 3, 6]. These foundations motivate evaluating their composition at agent recovery boundaries. The practical question is which obligations an application preserves at each recovery boundary, under an explicit provider contract.

We study three questions. RQ1: Which configured recovery policies preserve the declared safety conditions while completing legitimate work? RQ2: Do paired applications on two independently maintained execution hosts differ under the same policy facts and provider schedules? RQ3: How does the location of a confirmed observation relative to settlement change recoverability?

Our contribution is a bounded conformance artifact and its measured application: a history specification separating admission, effects and settlement; a prospective native-host campaign; and a separately qualified InfinityOS component case study. The evaluation record preserves raw observations, exact versions and data digests, with a reconstruction checker and explicit exclusions. The policies are authored ablations, not framework defaults or independent implementations of published security protocols. Paired host outcomes are reported alongside policy differences and progress measures.

Arya.ai