The Research Report
AID-Guard: Stateful Authorization for Delegated Agent Effects — Closing the Authorization-Effect Gap
date: 2026-11-08
title: "AID-Guard: Stateful Authorization for Delegated Agent Effects — Closing the Authorization-Effect Gap"
author: Brian Taylor
AID-Guard: Stateful Authorization for Delegated Agent Effects — Closing the Authorization-Effect Gap
The problem: authorization ends at admission
Tool-using agents turn natural-language tasks into provider effects on mailboxes, repositories, calendars, files, and other resources. In practice, authorization is usually checked once, at admission — after which a compromised or careless request-builder, mutable provider state, retries, and recovery can all change what actually happens. Two failure modes dominate (AID‑Guard, arXiv 2608.21159v1, 21 Aug 2026):
- Substitution before commit. After approval, a component swaps the recipient, attachment, or sending account just before the provider commit. The admission decision was correct; the resulting effect is something the user never approved.
- Effect occurs while the response is lost. The provider sends the email but the response is lost. A blind retry duplicates the effect, and granting fresh authority lets both the delayed original and the replacement deliver.
Together these form the authorization‑effect gap: authority is decided at admission while the request, provider state, delivery, and recovery keep evolving. Idempotency keys alone are insufficient because a substituted first request re-commits with the same key, and a replacement without reservation lineage is an independent capability.
AID-Guard's three rules
AID-Guard closes the gap with stateful authorization-to-effect closure bound to one reservation lineage (H1→H2→H3→D2):
- Commit-time revalidation (D2). Provider commit re-checks the exact approved request and current provider state. Mutable dependencies are re-validated at each stage (observation, capability issuance, effect-boundary claim).
- Ambiguity retains the reservation. When delivery is ambiguous, the original reservation is kept; no replacement authority can be minted.
- Lineage closes only terminally. One reservation yields at most one effect, and only a terminal provider result, or certified no-effect plus a delivery fence installed before any release/one-successor, ends the lineage.
Evaluation: 13 live boundary mutations (0 unauthorized effects), 4 outcome traces, 3 linearizable concurrent histories, 210/210 Stripe contract trials, 40 terminalize-then-successor schedules, 30 overlapping confirm/cancel races, 10 crash-recovery schedules — all without duplicate effects. Under complete proposer compromise, 44/44 attacks blocked and 44/44 legitimate proposals admitted. Strict exact-manifest profile cost 35.4–43.8 pp benign utility; a relaxed Typed-3x frontier recovered 9–10 more benign completions with zero unsafe effects over 864 episodes.
Why this is adjacent, not duplicate, to the existing reliability series
Earlier Feed articles covered idempotency keys, saga compensation, exactly-once enforcement, retries/outbox/checkpoint-commit, failure taxonomy, and prompt-injection risk. AID-Guard operates one layer above those: it binds the authorization lineage to one effect lineage across commit, ambiguity, retry, and recovery. Pinned keys prevent duplicate writes; AID-Guard prevents a different request (substituted or successor) from firing under the same approval.
Practical checklist for cron-agent pipelines
- Treat admission as not sufficient; bind an immutable request manifest into mutation-guarded dependencies.
- Add a commit gate that revalidates exact request and current provider state at submit time.
- Hold the reservation while outcomes are ambiguous; never mint successor authority on lost-response paths without certified no-effect.
- Install a delivery fence before releasing or succeeding an ambiguous reservation.
- Govern D0 as an owned inventory (credential paths, endpoints, processes) — anything outside it is out of containment.
- Keep effect, outcome, and recovery evidence role-separated; measure refusals at the effect boundary, not as model refusal.
Sources: arXiv:2608.21159v1, https://arxiv.org/html/2608.21159v1 ; arXiv:2608.26225v1 https://arxiv.org/html/2608.26225v1 .