原始采集文本
Temporary Authority, Permanent Effects:
Commit-Time Authorization for LLM Agents
Igor Santos-Grueiro
Abstract—An LLM agent often acts on an approval it ob-
served earlier: it reads the approval, prepares the request,
and commits later. If the approval was withdrawn, or covers
a different effect, the service can apply the change and report
success. Seventeen fixed advisories from three deployed agent
products document failures: an approval did not cover the
executed effect, with no intervening change (12), or survived a
change in the facts it depended on (5). We proposecommit-time
authorization(CTA), requiring at least one complete, current
justification for the exact effect at commit: a live grant, current
premises, ready dependencies, an exact-effect binding, and an
eligible path. COMMITGATEselects one complete justifica-
tion. The sink validates it or consumes an expiring, single-
use derived grant atomically with the effect. In a five-model
service study whose prompt states the authorization rule,
timely notice prevented nearly all unauthorized effects for GPT,
Fable, and Sonnet, and fewer for Qwen and Gemma. Without
a signal, all five mostly completed tasks with unauthorized
effects, even when a read could reveal the change; Fable’s
counts use its provider’s answered requests. Protected sinks
enforced the declared policy in LangChain approval flows,
OpenHands coding tasks, services under cloud contention, and
a transaction-runtime integration. The services and runtime
refused effects that lost authority after a positive check and
preserved fresh alternatives. After refusal, GPT, Fable, and
Sonnet on OpenHands mostly published to a separately au-
thorized target. Machine-checked proofs show whole-candidate
selection, trace safety for mediated atomic sinks, and exact
single-use transfer. With honest issuers, unique candidate IDs,
and a premise required by policy, every candidate CTA accepts
in the model carries a live grant given at the current version;
slot-by-slot checks do not ensure this.
1. Introduction
An LLM agent often acts on an approval it observed
earlier. While it plans, chooses tools, or delegates, authority
can change and leave the pending action executable. Sup-
pose an agent prepares a deployment and its only approval
is then revoked. The artifact, target, and specification stay
unchanged. A resource-version check passes, and the service
delivers the artifact against the owner’s policy. The task
succeeds, but the effect lacks authority.
Approvals can also fail to cover what the agent executes.
Seventeen fixed advisories from three deployed products
document effects outside an approval’s scope without an
intervening change (12), or approvals that survived changes
such as a rewritten script or tightened policy (5). The fixes
check individual facts, most at execution [1]. LangChain and
the OpenHands SDK also execute approved calls without
rereading approval or external state [2], [3] (§5.1). We also
identified authorization issues and reported them privately.
These cases pose one question: does current evidence au-
thorize the exact effect it is about to apply?
We proposecommit-time authorization(CTA): at least
one complete, current justification must authorize the exact
effect at its atomic commit point. A justification contains
a live grant, currentpremises(facts on which authorization
depends), completed dependencies, a binding between the
executed request and the licensed effect, and permission to
use the chosen execution path. A stale justification does not
remove authority supplied by a valid alternative. Conversely,
combining current claims from different, invalid justifica-
tions cannot create an approval that no owner gave (§3).
These conditions often belong to different owners. An
approval service grants permission, a resource service tracks
versions, and an orchestrator records whether a worker or
branch may proceed. Each owner can supply a current fact
without supplying a complete justification for the effect. The
service must establish that the facts belong together and still
authorize the operation it will perform (§3).
Established mechanisms scope grants and lifetimes [4]–
[6], control tools and untrusted data [7], [8], coordinate
release [9]–[13], and bind approvals or recheck authority
when an effect executes [14]–[17]. Integrating these mecha-
nisms requires the application to identify the exact effect, the
facts on which its approval depends, and the owners trusted
to attest those facts. CTA states which claims must hold
together and where the system must enforce that decision. It
also determines when another complete justification remains
sufficient after one loses validity (§7).
COMMITGATEis an admission monitor placed before a
protectedsink, the component that makes the effect durable.
A trusted adapter obtains signed claims from their owners;
the monitor authenticates them and selects one complete
justification. The sink then validates authority atomically
with the effect. When approval and resource state have
different owners, the approval service issues an expiring,
single-use reservation for the exact effect, and the sink
consumes this derived grant with its write (§4).
A native sink can perform all of these checks under
the same contract. COMMITGATEsupplies shared selection
logic for services with different policies: their adapters pro-
arXiv:2607.10487v2 [cs.CR] 31 Oct 2026
vide the required evidence and their sinks apply the decision
atomically. This division lets the evaluator remain the same
when the effect, evidence owners, or sink operation changes
(§5.3).
Machine-checked proofs in Lean establish whole-
candidate selection, safety over traces of mediated atomic
commits, and single-use transfer bound to the exact effect.
With honest issuers, unique candidate identifiers, and a
premise required by policy, an accepted candidate carries
a live grant given at the current version; checking each slot
separately does not ensure this (§3, §4.3).
The behavioral studies follow agents through tasks
whose prompt states the authorization rule. Eighteen service
tasks vary which owner’s fact changes and whether the agent
receives a notice or can query status. Without a signal,
all five models mostly complete with unauthorized effects,
including changes their read tools reveal; Fable’s counts use
answered requests. Timely notices prevent nearly all such
effects for GPT, Fable, and Sonnet, and fewer for Qwen
and Gemma (§5.2).
The OpenHands tasks follow bug fixes through editing,
testing, commit creation, and publication [3]. Resource-only
publication applies all twelve revoked production writes
from GPT, Fable, and Sonnet, whose code passes the tests.
Protected publication applies none. After eleven of twelve
silent protected revocations, these agents publish to sepa-
rately authorized staging. The release instructions name that
fallback, so the task can continue through an effect with its
own grant (§5.2).
The enforcement studies check whether services apply
the declared policy even when the agent submits an unautho-
rized effect. Protected sinks refuse effects that lose authority
after a positive check and preserve valid alternatives. In
LangChain, the adapter refuses 28 writes in 23 trajectories
whose paired native paths apply them without authority; the
model has no turn between the owner change and execution.
Native sinks enforcing the same contract are equally safe.
One evaluator serves single-service systems, reservations,
Git, and Atomix (§5.3). Compared with a direct authorizer,
COMMITGATEadds 0.17–0.63 ms to serial admission in
mean p50 and less than 1 ms on average to a complete
47–57 ms path on a desktop and cloud VMs (§5.4).
We make three contributions:
•Authorization contract.CTA extends the requirement
for one complete lease [6] with premise, dependency,
and eligibility claims from their owners, and requires
one complete, coherent justification at the atomic sink
(§3).
•Authorization measurement.We ground the problem
in advisories and frameworks, report authorization be-
side success inτ-bench, OpenHands, and LangGraph,
and measure five models’ responses to notices and
status tools (§5.1, §5.2).
•Enforcement and transfer.We integrate COMMIT-
GATEwith unmodified LangChain, reuse its evaluator
across sinks, measure cross-service authority transfer,
and prove the model’s guarantees (§4, §5.3, §5.4).
artifact digestd
approvala 3
prepare
deployment
approval
revoked
artifact staysd
resource check
still passes
deployment
applied
with revoked grant
target and specification
unchanged
endpoint succeeds
CTA does not hold
Figure 1. Revocation with an unchanged resource. The artifact, target,
and specification remain unchanged, so the resource check succeeds after
revocation. The deployment succeeds without a live grant.
2. Problem and Threat Model
2.1. Effects, Evidence, and State Owners
Adurable effectchanges externally consequential state:
it updates an account, sends a message, writes a ticket or
repository, deploys an artifact, or changes shared agent state.
Itscommit boundaryis the last point where the system can
withhold it. Aprotected sinkchecks authorization atomically
with that transition. In Figure 1, the approval service revokes
a3, the deployment’s only grant. The artifact owner keeps
the same digest, target, and specification, so the resource-
version check still passes. The two owners’ facts change
independently.
An effect can lack authority even when every presented
claim is current. Aneffect-binding mismatchoccurs when a
request targets ticket 99 but its only complete justification
authorizes ticket 42. The grant can remain live and both
tickets unchanged. Its target binding still excludes ticket 99.
Twelve advisories in §5.1 exhibit this mismatch between an
approval’s scope and the executed effect.
Evidence poolingcombines claims from different justi-
fications. Suppose approval 3 was given at ticket version 7.
The ticket advances to version 8, approval 4 is given for that
version and later revoked, and approval 3 remains live. A
check that accepts a live grant and a current premise inde-
pendently can combine approval 3’s grant with approval 4’s
version-8 premise. Both claims are authentic and current,
yet no live approval covers the change at version 8. CTA
rejects the combination because its claims name different
candidates. Approval 3 has a stale premise; approval 4 has
a revoked grant (Propositions 1 and 2).
Authority can also be lost after a valid observation.
Committing afterapproval loss, as in Figure 1, or after an
approved script is rewritten or a symlink retargeted, is a
time-of-check to time-of-use (TOCTOU) failure [18]. CTA
requires a complete, current justification in each case; a valid
alternative remains sufficient (§3).
agent-derived state
effect + identifiers
typed sink adapter
policy + certificates
COMMITGATE
authenticate + select
protected sink
validate + mutate atomically
authoritative state
version, path, use record
issuers trusted by slot
claims or derived grant
trusted computing base
Figure 2. Enforcement path. Model output cannot self-issue evidence. COMMITGATEauthenticates and selects a candidate; the sink validates current
authority in the operation that makes the effect durable.
2.2. Threat Model
Adversary and concurrent change.The victim is the
user or service owner whose policy constrains the effect.
The adversary controls page, tool, or worker content that
can induce the agent to propose another effect or present
its candidates. It may delay or reorder a workflow after
the agent observes a valid justification. A user, service, or
concurrent process may revoke approval, change a resource,
retarget an object, or cancel a branch. The adversary benefits
if the action remains executable. Enforcement must also
cover benign concurrency. Pooling requires no forgery: a
component can assemble current claims slot by slot, includ-
ing claims carried through channels the agent influences.
Trusted components.The trusted computing base com-
prises the sink, COMMITGATE, the adapter policy, and the
authoritative issuers of grants, versions, identities, barri-
ers, and branch epochs. The agent, prompts, page text,
tool responses, and worker payloads are untrusted. Trusted
adapters or services obtain claims directly from their issuers.
The agent can carry candidate identifiers but cannot obtain
or alter claims. Issuers must use unique candidate identifiers
and issue claims honestly: each signs at most one claim per
candidate and slot, and each candidate’s premise names the
version current when its grant was given (Proposition 2).
Candidate assemblers must obtain that version from the
grant record. Signatures authenticate claims. The policy
must declare every relevant fact, every protected effect must
pass through the sink, and the sink must enforce the decision
atomically.
Security goal.A protected effect requires at least one
complete, valid candidate at the sink’s atomic commit point;
missing or unavailable evidence can cause a safe abort.
With separate approval and resource owners, a bounded
reservation supplies the grant (§4.2).
Out of scope.The guarantee excludes:
•compromised trusted components, including issuers
that sign dishonestly or reuse candidate identifiers;
•facts the policy omits and effects that bypass the sink;
•completion, recovery, or selection among authorized
effects; delay, revocation, contention, or issuer outages
may abort effects or let reservations expire unused;
•information already disclosed; disclosure at dispatch
requires mediation at that boundary [19].
TABLE 1. TYPED EVIDENCE AT A PROTECTED COMMIT BOUNDARY.
Slot Examples Boundary test
Grant approval, consent,
capability, policy
release
issuer trusted for this slot;
live and names the exact
effect
Premise element identity,
version tag, expiry,
worker version
authoritative value matches
the claim
Dependency barrier, predecessor,
callback, worker
completion
dependency is resolved
before commit
Binding effect id, target,
operation, payload
digest
sink request equals the
licensed effect
Eligibility approval epoch, branch
capability, live path
path is not revoked,
canceled, or superseded
3. Commit-Time Authorization (CTA)
3.1. Evidence for One Exact Effect
The protected sink (Figure 2) evaluates a request in
configurationx= (σ,c), whereσis the authoritative state
andc= (id,target,op,digest)is the exact effect presented
for commit. A sink policyΠdeclares which evidence the
class of effect requires. Anevidence slotholds one type of
claim and has a set of trusted issuers, given by the relation
IΠ. Every valid policy requires an authorization grant and an
exact-effect binding, and it assigns issuers only to declared
slots.
Acandidate justificationJ= (g J,PJ,OJ,bJ,eJ),
orcandidate, contains an authorization grant, operational
premises, dependency obligations, an exact-effect binding,
and path eligibility (Table 1). Each component is a typed
claim or bundle in one policy slot. Acertificateis the
signed object carrying these claims. For example, candi-
dateJ 3 authorizesupdate-ticket-42. Its grant permits
set_statusat approval epoch 3, and its premise names
ticket version 7, at which approval 3 was given. Its binding
names the effect id, target, operation, and digest. Its de-
pendency requires finalized approval; with no separate path
condition,e J3 =⊤. Each service signs its claim together
with the identifier of the candidate for which it was issued.
A policy may use⊤only for an optional premise,
dependency, or eligibility condition.Shape Π(J)requires
every declared slot exactly once,Trusted Π(J)checks the
declared type and authenticates each claim againstI Π, and
Coherent(J)requires every claim to nameJ. A candidate
is valid when all these conditions hold:
ValidΠ(x,J)≡Shape Π(J)∧Trusted Π(J)∧Coherent(J)
∧Live σ(gJ,c)∧Current σ(PJ)
∧Ready σ(OJ)
∧Bound(b J,c)∧Eligible σ(eJ).
(1)
For a setCof alternative candidate justifications carried by
the pending effect,
CTAΠ(x,C)≡∃J∈C.Valid Π(x,J).(2)
One complete valid candidate suffices, even when another
has become stale. As with one complete lease [6], the
same candidate must satisfy every declared slot (∃J∀slot).
Checking that each slot has some current claim permits the
pooling of §2. A CTA candidate combines claims from
different owners, soCoherentrequires each claim to name
its candidate, following the principle that a protocol message
names its context [20]. This ties the premise, dependency,
and path to one grant without requiring the grant issuer to
attest every fact. A grant can instead name the resource
version directly, as in the workload of §5.4.
Authoritative predicates.Trusted components resolve live-
ness, currency, readiness, and eligibility fromσat commit.
The grant issuer attests which effect a grant covers: a grant
is live forconly if it names the whole effect. The binding
issuer attests that the request isc, and the sink ensures thatc
names the object it mutates. A standing rule such as Allow
Always meets the grant clause when its issuer derives a
claim for each exact effect from a recorded scope covering
the operation’s full input. Facts stated by the request, such
as its target, arguments, or approved object, belong to the
binding. External facts assumed by the decision, such as file
content or a path’s resolution, are premises.
LetSelect Π(x,C)return the first valid candidate in the
order the trusted adapter chooses, or⊥when none exists; the
order does not affect safety but determines which candidate
a commit records and, for a consumable grant, consumes.
Lemma 1 (Whole-candidate selection).IfSelect Π(x,C) =
J, thenJ∈C,Valid Π(x,J), and every claim ofJnames
it.
The proof searches the candidate list for a witness to
Equation 2. When all claims were issued and candidate
identifiers are unique, Lean also proves that every claim
ofJcomes fromJ’s own issuance.
3.2. Temporal Authority Divergence
Letx d = (σd,cd)be the configuration when the request
is derived andx c = (σc,cc)the configuration at commit.
A justification that was valid at derivation can lose validity
before commit. We call thistemporal authority divergence:
TDivΠ(xd,xc,C)≡∃J∈C.Valid Π(xd,J)
∧¬Valid Π(xc,J). (3)
The same justification can lose validity because state
changes (σd̸=σ c), the proposed effect changes (c d̸=c c),
or both. If candidate A becomes stale while B still authorizes
the same effect, divergence occurs and CTA holds. Loss of
all commit-time authorization is stronger:
LostCTAΠ(xd,xc,C)≡CTA Π(xd,C)∧¬CTA Π(xc,C).
(4)
Lemma 2 (CTAloss entails temporal divergence).
LostCTAΠ(xd,xc,C)impliesTDiv Π(xd,xc,C); the con-
verse does not hold.
Lean checks the implication and a surviving alternative
that disproves the converse. An effect that never had a valid
justification can also violate CTA without divergence.
3.3. What Earlier Checks Leave Unresolved
Letc t be the effectupdate-ticket-42ofJ 3, let
x0 = (σ 0,ct)be the configuration certified byJ 3, and
letx 1 = (σ 1,ct)differ only because approval 3 has been
superseded; the ticket remains at version 7. Letc 99 instead
target ticket 99 while the authoritative state remainsσ 0, and
letC 3 ={J 3}. Last, letx p = (σp,ct)hold ticket version 8,
live approval 3, and revoked approval 4;J ′
4 is issued for
approval 4 at version 8,C p ={J 3,J′
4}, andJ p isJ 3 with
J′
4’s premise in place of its own.
Proposition 1 (Boundary insufficiency).The executable
model checks
IfMatchσ1(ct,7) =true∧¬CTA Π(x1,C 3),
SelectΠ(x0,C 3) =J 3,
SelectΠ(x1,C 3) =⊥,
TDivΠ((σ0,ct),(σ 0,c 99),C 3),
SelectΠ(xp,Cp) =Select Π(xp,{Jp}) =⊥.
The resource check passes after approval is superseded
(line 1), while selection changes fromJ 3 to refusal (lines 2–
3). Changing only the target to ticket 99 also invalidatesJ 3
(line 4). In line 5,J 3 has a stale premise andJ ′
4 a revoked
grant. The pooled candidateJp has authentic, current claims,
and its grant and binding namec t; onlyCoherentrejects it.
Resource equality, prior admission, and individually current
claims therefore do not establish CTA.
An immutable ledgerLrecords the version at which
each grant was given. TheversionedrelationAuthV L(σ,c)
holds when some grant forcis live inσand was given at the
current version ofc’s target. An issuance history ishonest
when each candidate’s premise names the version at which
its grant was given. Aslot-wisecheck omitsCoherentand
checks each slot independently. A policy issoundfor an
authorization relation when every valid candidate satisfies
that relation.
TABLE 2. POLICY MANIFEST:OWNERSHIP AND ENFORCEMENT OF EACH BOUNDARY FIELD.
Contract item Authoritative owner Enforcement consequence
Grant user or policy service authenticate the grant claim and check that it is live and names the whole
effect
Premises resource owner resolve current versions, document identity, or worker epochs
Binding runtime, resource owner, or
orchestrator
compare effect id, target, operation, and digest with the effect
Dependencies, eligibility approval service or orchestrator resolve worker completion and live branch capability
Atomic operation resource service recheck candidates or consume a derived grant in the write’s lock or
conditional request
Audit record monitor and sink record certificate ids, monitor and sink decisions, and committed target
TABLE 3. ADAPTER OBLIGATIONS AND ATOMIC OPERATIONS.
System Authoritative issuers Exact binding Atomic sink operation
Browser approval service; mediated browser
runtime
document epoch, node/entity identity,
operation, payload digest
validate identity and mutate the bound entity
under the service lock
Tool/API approval service; ticket service ticket id, version, approval epoch,
operation, payload digest
one owner: validate claims; separate owners:
consume a derived reservation with the write
Multi-agent policy service; orchestrator worker and branch epochs, target,
operation, artifact digest
validate branch capability and worker readiness
while consuming the effect
Proposition 2 (Versioned grants).In the checked model, let
Πrequire a premise, and let every claim ofJcome from
an honest issuance history with unique candidate iden-
tifiers. Then (i)Valid Π(x,J)impliesAuthV L(σ,c), and
(ii)Πis thus sound forAuthV L on issued candidates.
With approval 3 given at version 7 and approval 4 at
version 8, (iii)J p passes the slot-wise check atx p, its
claims come from the honest issuance ofJ 3 andJ′
4 under
distinct identifiers, and¬AuthV L(σp,ct); and (iv) inσ′
p,
which isσ p with approval 4 live,AuthV L(σ′
p,ct)holds,
yetSelect Π((σ′
p,ct),{Jp}) =⊥and selection overJ p
followed byC p returnsJ ′
4.
The slot-wise check is unsound forAuthV L even when
each claim was honestly issued (iii). Both issuance hypothe-
ses matter: reusing an identifier or pairing approval 3’s grant
with a version-8 premise produces a valid candidate for an
unauthorized effect. Coherence can reject a mixed candidate
even when the effect has authority, but selection still accepts
the live grant’s own complete candidate (iv).
4. COMMITGATEDesign
The agent proposes an effect and carries candidate iden-
tifiers through pending actions, worker messages, and staged
writes (Figure 2). A trusted adapter supplies the policy and
claims from their owners (Table 1).
4.1. Selection and Atomic Enforcement
Selection.For each candidate, COMMITGATE❶verifies the
schema,❷authenticates claims,❸resolves current state,
and❹checks effect binding. It selects at most one complete
candidate. If none passes, absent declared evidence produces
amissing-evidence abort; complete but stale, mismatched,
unresolved, or ineligible evidence produces aguarded abort.
ProcedureAdmit Π(c,C)
Input:exact effectc; ordered candidate setC; policyΠ
Result:boundary outcome or atomic sink result
1m←(C=∅)// missing evidence seen
2for eachJ∈C, in candidate orderdo
3if¬Shape Π(J)thenm←true;continue
4ˆx←(Resolve Π(J,c),c)
5ifValid Π(ˆx,J)then
6returnSinkCommit Π(c,C,J)
7ifmthen returnMISSING_EVIDENCE
8returnGUARDED_ABORT
Figure 3. Admission algorithm. Lines 1–3 detect missing declared evidence,
lines 2–5 select a complete candidate under Equation 1, and in line 6 the
sink repeats selection overC, or consumes a reservation issued fromJ,
atomically with the effect.
This initial check, orpreflight, remains provisional: state
may change before the sink call (apost-preflight race), or a
reservation may expire or be consumed.
Atomic enforcement.The sink validates authority atomi-
cally with the effect (Figure 3, line 6). One state owner can
use a lock, compare-and-swap, or native conditional request
(Table 2); adapters bind the object and operation to that
check (Table 3). Safety requires:
Assumption 1 (Evidence integrity).PolicyΠdeclares every
authorization-relevant slot, requires grant and binding
evidence, accepts each claim type only from an issuer
trusted for its slot, and binds the effect the sink executes;
each issuer signs at most one claim per candidate and
slot.
Assumption 2 (Mediation and atomicity).Every protected
effect passes through the sink, and validation or derived-
grant consumption is atomic with the mutation.
WriteS
commit(c,C)
−−−−−−−→Π S′ for a protected commit transi-
tion whose pre-state containsx= (σ,c).
TABLE 4. PRIMARY EVALUATION DESIGN. EACH STUDY HAS ITS OWN EXECUTION UNIT AND SOURCE OF AUTHORIZATION DECISIONS.
Study Executions Authorization decision RQ
Fixed advisories 17 advisories from three agent products vendor advisory text at the primary source RQ1
Originalτ-bench tasks 3 tasks×5 conditions×5 models=75 grant state at each mutation; official scorer RQ1
Controlled agent study 54 tasks×5 conditions×5 models=1,350 validation flag, shown to the model RQ2
Service-agent study 18 tasks×16 conditions×5 models=1,440 owner records; the oracle reads no model text RQ2
OpenHands coding tasks 2 tasks×4 conditions×2 repetitions×5 models=80 release-owner grant and atomic Git publication RQ2
Authoritative systems 3 systems×8 cases×4 defenses=96 authenticated claims and state at the atomic sink RQ3
Single-service panel 18 executions×5 defenses×5 models=450 claims and state at ticket and branch sinks RQ3
Cross-service panels 5 matched 60-run panels=300 ticket sink, with a separate approval service RQ3
Atomix composition 5 conditions×2 routes×2 configurations=20 atomic SQL sink and independent relational labels RQ3
LangChain approval path scripted 25; model-driven 120, plus 25 paired native
trajectories
owner logs; oracle written without COMMITGATERQ3
Reservation workloads desktop: 7,200 latency, 34,400 contention offers; VMs: 72
serial, 36 disjoint and 72 shared contention cells
owner transactions and client timing RQ4
Proposition 3 (Commit safety).In the checked model,
S
commit(c,C)
−−−−−−−→Π S′ =⇒ ∃J∈C.Valid Π(x,J).
The sink must find a valid candidate in its pre-state;
preflight alone is insufficient. Theorem 2 extends this result
to traces.
Our three authoritative sinks repeat selection under their
commit lock. The Atomix SQLite sink revalidates the se-
lected candidate in its write transaction. The Git sink checks
the grant ref and the target’s old value in one ref transaction;
it relies on COMMITGATEfor shape, authentication, coher-
ence, and binding, which do not depend on state. When a
sink delegates these checks, COMMITGATEis necessary for
safety. A sink that performs them all itself gains candidate
ordering, diagnosis of missing or stale evidence, and early
refusal from the monitor.
4.2. Cross-Service Authority Transfer
A local write cannot keep another service’s approval
observation current. Anexact-effect reservationqtransfers
bounded authority to the resource sink. The approval service
checks the source candidateJselected by COMMITGATE,
then issuesqas a derived grant. It bindsqtoJ’s grant, policy
version, exact effectc, resource version, expiryτ, and a fresh
single-use identifier (nonce)n. The sink authenticates and
consumesqatomically with the mutation.
The checked model gives the approval service and sink
separate states and clocks.Tied issuancerequires a premise
slot and takes the reservation’s resource version fromJ’s
premise and its policy version from the source policy. Write
q=IssueT(A,J,c,n,τ)for issuance in approval stateA
with worldσA, andConsume(S,q,c ′) =S′ for consumption
in sink stateS.
Theorem 1 (Tied reservation).In the checked model, letq=
IssueT(A,J,c,n,τ). Then (i)Valid Π((σA,c),J), andq
namesJ’s grant,c, andn. If alsoConsume(S,q,c ′) =
S′, then (ii)c ′ =c, and every later consumption with
noncenis denied; (iii) the target and version ofSare
those ofJ’s premise, andSaccepts the source policy’s
version; and (iv) if each clock is withinϵof a common
time, consumption occurs at mostτ+ 2ϵafter issuance.
Consumption satisfies CTA under a derived policy:q
supplies the grant, and the sink checks the premise and
binding. Source clauses may have become stale by up to
τ+2ϵ, analogous to weak stale-safety [5]. Like a lease [21],
qcan survive source revocation until expiry, as a Lean
trace demonstrates. Immediate revocation requires revocable
reservations or a coordinated commit. Dependencies and
path eligibility are checked at issuance; their later loss does
not revokeq. If the resource returns to an earlier version
number, the nonce still prevents a second use.
Our two cross-service prototypes provide this derived-
policy guarantee. Neither meets the honest-issuance hy-
pothesis of Proposition 2 and the issued-candidate part of
Theorem 2. In the cross-service panels, the premise names
the version observed by the agent, which the runs fix at
the approval’s version. The reservation workloads (Table 4)
instead name the version in the grant. That implementa-
tion checks validity and expiry under the sink’s write lock
and persists nonce consumption with the mutation. It uses
a monotonic clock on one host and chrony-synchronized
clocks across two VMs.
4.3. Machine-Checked Model and Proofs
Lean 4 [22] checks the model and proofs (§C). Under a
fixed policyΠ, the environment may revoke grants, advance
versions, cancel paths, withdraw dependencies, or replace
the world between sink steps. The protected apply step re-
ceives the presented candidates and reruns selection against
the current world in the same indivisible step, recording the
worldσ r, effectc r, candidatesC r, and selected candidate.
Theorem 2 (Trace commit safety).In the checked model,
run a trace from a state with an empty commit log in
which no write bypasses the sink and every commit
is one atomic step. Then every commit recordrin
the resulting log satisfiesCTA Π((σr,cr),Cr), and its
recorded candidate isSelect Π((σr,cr),Cr). IfΠis sound
forAuth, thenAuth(σ r,cr)for every suchr. IfΠ
requires a premise and every presented candidate comes
from an honest issuance history with unique identifiers,
thenAuthV L(σr,cr)for every suchr.
The last part requires soundness on issued candidates
(Proposition 2). The ticket policy is unsound over arbitrary
certificates: a reused identifier can make a pooled candidate
valid. A trace presentingJ p andC p inσ p meets the theo-
rem’s hypotheses, and the sink applies nothing.
Counterexamples establish the role of the hypotheses.
Applying an earlier selection after revocation, or writing
outside the sink, permits a commit without CTA. An in-
complete policy permits a forbidden effect even at an atomic
sink. Conversely, when approval 3 is revoked and approval 4
remains live, a sink checking only the forwarded candidate
refuses, while a sink that repeats selection commits. The
selecting sink commits whenever CTA holds at that step.
Applications requiring single use must declare a consum-
able source grant; CTA itself does not consume source
grants [23], [24].
Scope of the proofs.The proofs assume mediation, atom-
icity, policy soundness, and clock bounds. For issued can-
didates, they also assume honest issuers, unique identifiers,
and claim provenance, which represents signature unforge-
ability. The grant ledger is a parameter, andAuthV L covers
grant liveness and version currency only. The definitions
build in one claim per declared slot, slot-scoped issuer
trust, authenticity as a flag, indivisible sink steps, and a
nonce record that only grows. Outside the model lie policy
completeness for other relations, refinement by the Python
services, nonce-record retention, crash recovery, and policy
changes.
5. Evaluation
The evaluation asks four questions: do approvals and
task success imply authorization (RQ1); how do agents
respond to changed authority (RQ2); which checks enforce
it, and can one evaluator serve different policies (RQ3);
and what does cross-service transfer cost under expiry and
contention (RQ4)? Table 4 identifies the execution units and
sources of authorization decisions.
Outcomes and protocol.Each execution records task suc-
cess and authorization separately. Anauthorized comple-
tionsucceeds with CTA; anunauthorized commitapplies
an effect without it. Withholding the effect yields asafe
non-completion, or amissing-evidence abortwhen declared
evidence is absent. An uninterpretable endpoint or decision
is aninfrastructure failure. Counts retain failures and mal-
formed model output; operational studies distinguish offers
from bursts. Deterministic cases run once per defense from
fresh state and exact-effect evidence, with interventions after
request derivation or between preflight and the sink call.
Cases and expected outcomes for the LangChain, CON-
TINUITY , and shared-target extensions were specified and
hashed before execution.
Systems and models.Every model study uses Qwen2.5-
7B-Instruct (Qwen), served locally, and Gemma 4 31B
(Gemma), hosted, both at temperature zero; and GPT-5.6
TABLE 5. FIXED ADVISORIES IN WHICH AN APPROVAL DID NOT COVER
THE EXECUTED EFFECT;IN THE FIRST FIVE,SOMETHING CHANGED IN
BETWEEN. IDS:FIRST BLOCK OF THEGHSAIDENTIFIER. CL.:THE
CTACLAUSE THAT THE EXECUTED EFFECT ESCAPED(GGRANT, P
PREMISE, BBINDING).
Advisory Approved Executed Cl.
Cursor 24mc MCP server entry its command, edited later B
OpenClaw 8g75sh ./script.shrewritten script content P
OpenClaw q399 a command another binary on a
changedPATH
P
OpenClaw mwcg a working directory the retargeted symlink P
OpenClaw wj55 a queued node action it, after policy tightening G
Cursor r22h a command shown its hidden arguments B
OpenClaw h3f9 allowlisted command a different argument vector B
OpenClaw hwpq a displayed command another binary B
OpenClaw 74gc one exact command same binary, other
arguments
B
OpenClaw 6j27 a wrapped command another inner command B
OpenClaw 3mq7 a command in one
directory
it, in another directory B
OpenClaw 7jfq a file transfer it, on another node B
OpenClaw 6x2m a run on one node the run on another node B
OpenClaw 6rcp the displayed
command
arguments the display
omitted
B
OpenClaw hjvp a request it, with a changed
environment
B
Claude Code pq7j a plugin at a pinned
commit
a same-named branch tip B
Claude Code q5hj a trusted folder another folder’s hooks B
Sol (GPT), Claude Fable 5 (Fable), and Claude Sonnet 5.5
(Sonnet), accessed through their providers’ APIs at medium
reasoning effort. All passed a format diagnostic tailored to
the study.
Anthropic’s API refused 109 of Fable’s 270 controlled
executions, 42 of 90 single-service executions, and 107 of
288 service trajectories under its cyber category, which also
covers benign security work [25]. It refused none elsewhere,
and no Sonnet study trajectory was refused. Refusals varied
by task and sometimes followed a protected refusal. Tables
mark Fable’s answered-only counts; assigned recovery co-
horts retain provider refusals (§D).
5.1. RQ1: Do Approvals and Success Imply Autho-
rization?
Fixed advisories.Seventeen advisories meet our rules, fixed
before reading (Table 5): the vendor advisory or CVE record
must name a fixed version, an approval, allowlist entry,
or operator policy, and a durable effect outside its scope.
The rules exclude command-parsing errors, forged or self-
granted approvals, and effects executed without an approval.
Four further advisories admit a contestable reading and
are excluded. Twelve included cases require no intervening
change: the product executes an effect beyond what the
approval names, displays, or records. In five, the approval
survives a change to a script,PATH, symlink, configuration
entry, or policy. Vendors assign CWE-367 to four of these
five and none of the twelve. Each fix checks one fact, most
TABLE 6. ORIGINALτ-BENCH TASKS:OFFICIAL
SUCCESSES/UNAUTHORIZED EFFECTS OF THREE TRAJECTORIES PER
CONDITION AND ACTING MODEL. –: QWEN NEVER QUERIED STATUS,
SO THE REVOCATION NEVER REACHED IT.
Condition Qwen Gemma GPT Fable Sonnet
Clean, unprotected 0/0 3/0 3/0 2/0 3/0
Clean, protected 1/0 3/0 3/0 3/0 3/0
Late revocation, unprotected 1/1 3/3 3/3 3/3 3/3
Late revocation, protected 0/0 0/0 0/0 0/0 0/0
Visible revocation, unprotected – 0/0 0/0 0/0 0/0
at execution (§D) [1]. A Jenkins Pipeline regression also
rebuilt an approved script after revocation [26].
Approval in agent frameworks.LangChain’s human-in-
the-loop middleware (1.4.4) matchesapproverecords to
pending calls by position; OpenHands SDK (1.47.0) exe-
cutes every pending action once confirmed [2], [3]. Neither
rereads approval policy or external state when the tool
runs. OpenAI Agents SDK (0.23.1) looks up an execution-
time decision bound to the call identifier and argument
fingerprint [27]. Claude Code documents a recheck of path
resolution when opening a file [28]. Each addresses one
clause on a particular tool path. Codex’s documentation
does not state what a one-time approval binds [29]. During
this analysis, we identified authorization issues and reported
them privately to the relevant maintainers.
Utility scoring.Three originalτ-bench [30] tasks—address
change, return, and cancellation—retain their tools, conver-
sation logic, and official scorer. Each model acts, with GPT
simulating the customer. We add a revocable account-grant
policy outside the retail database and a status tool.Late revo-
cationoccurs immediately before the first mutation;visible
revocationoccurs at the first status query, which returns a
notice. Protected dispatch checks the grant atomically with
the mutation.
All three unprotected late-revocation trajectories of
Gemma, GPT, Fable, and Sonnet apply unauthorized effects
that the official scorer credits in full (Table 6). Qwen rarely
completes a clean task; it applies one revoked change, also
credited. The scorer compares only the database, so these
successes receive the same credit as authorized ones. Pro-
tected dispatch blocks every revoked effect by construction.
Every model that receives the visible notice withholds the
change.
5.2. RQ2: How Do Agents Respond When Author-
ity Changes?
Owner changes during a task.The service study tests
whether agents notice changed authority and whether a
notice or status tool changes their actions (Table 7). Eighteen
tasks map the controlled catalog to durable writes on local
services, with two tasks per workflow family and kind of
changed fact. A LangGraph agent reads, prepares, and writes
through standard tool calls. Its system prompt permits a
change only while approval and the conditions under which
it was given still hold.
TABLE 7. SERVICE-AGENT STUDY,UNPROTECTED ARM:
UNAUTHORIZED COMPLETIONS OF36TRAJECTORIES WITH AN OWNER
CHANGE(WILSON INTERVALS IN§D); Q:STATUS QUERIES AFTER IT;
PAIRS:SILENT THEN NOTICE,ONnPAIRS QUALIFYING UNDER A RULE
FIXED BEFORE THE RUNS; CLEAN:COMPLETIONS OF72. FABLE:
ANSWERED TRAJECTORIES.
Model Silent Notice Status Q PairsnClean
Qwen 26 15 26 0 14→3 22 55
Gemma 34 10 32 6 32→8 32 70
GPT 25 1 2 34 17→0 20 72
Fable 17/22 0/23 17/27 13/27 15→0 19 46/46
Sonnet 30 0 22 12 29→0 34 72
When the first preparation or write returns, the owner
withdraws approval or changes a premise version, readiness,
page-element binding, or run or branch state. The agent
receives no signal (silent), receives a factual notice with
the preparation result (notice), or has a status tool available
throughout (status). Each task runs clean with and without
the status tool, then under two changes with each signal,
on an unprotected path and a protected path that revalidates
under its lock: 288 trajectories per model. An oracle reads
only owner and sink logs to label each applied effect at its
commit instant.
What agents commit after a change.Without a signal, ev-
ery model mostly completes through an unauthorized effect
(Table 7; Fable counts answered trajectories). Read and wait
tools reveal premise, readiness, and binding changes. Of the
14 changes these tools can reveal, unauthorized completions
occur in 11 (Qwen), 13 (Gemma), 8 (GPT), 9 (Sonnet), and
6 of 11 answered cases (Fable). The tools cannot reveal grant
or path changes, after which completion is unauthorized by
construction.
The notice condition leaves at most one unautho-
rized completion for GPT, Fable, and Sonnet, and reduces
Gemma’s from 34 to 10. Twelve of Qwen’s 15 unauthorized
completions issue the write together with preparation, before
a notice can arrive. A rule fixed before execution selects
matched pairs with the same task and change, identical
responses before the change, and a notice before any write
reaches the service. Unauthorized completion falls for every
model on these pairs (exact McNemar tests,p<0.004). The
decrease also holds when grouped by task, accounting for
dependence between pairs (sign tests,p≤0.039; §D).
With a status tool, GPT queries after the change in 34/36
trajectories and its unauthorized completions fall from 25 to
2. Sonnet’s fall from 30 to 22. The remaining models query
in at most half of their trajectories and change little. Every
model except Qwen completes nearly all clean trajectories,
and the protected sink refuses none of those clean writes.
The protected path has no unauthorized effect by con-
struction: sink and oracle apply the same rule. Of 108 pro-
tected change trajectories, 42 permit recovery by renewing a
premise, completing a dependency, or correcting a binding.
The other 66 withdraw grant or path authority without
replacement. Authorized recovery occurs in 9 (Qwen), 27
(Gemma), 30 (GPT), 16 (Sonnet), and 29 (Fable) of the 42
OpenHands agent Release service
Tests its fix commit; requests production preparation Reads live production approval
Intervention: revokes approval before the response
Receives the earlier live approval observation Returns the request and earlier live observation
Requests publication of the same commit to production Admission refuses:approval_revoked; no effect
Queries current status Production approval revoked; staging grant live
Prepares and publishes the commit to staging Publishes to staging under its separate grant
Figure 4. Recorded OpenHands recovery under silent revocation (top to bottom). Preparation returns an approval observation read before revocation. A later
generation requests production publication, which admission refuses. The agent then publishes to staging under a separate grant, as the release instructions
direct. Production remains unchanged.
TABLE 8. OPENHANDS TRAJECTORIES,FOUR PER MODEL AND
CONDITION. P/S:AUTHORIZED PRODUCTION/STAGING; W:REFUSAL
WITHOUT PUBLICATION; U:UNAUTHORIZED PRODUCTION
PUBLICATION; X:NO PUBLICATION AFTER AN AGENT ERROR,THE
REQUEST LIMIT,OR FAILED VERIFICATION.
Condition Qwen Gemma GPT Fable Sonnet
Clean, protected 4X 1P/3X 4P 4P 4P
Silent revocation, protected 4X 1S/3X 3S/1W 4S 4S
Visible revocation, protected 4X 4X 4S 4S 4S
Silent revocation, resource only 4X 4X 4U 4U 4U
assigned cases. Fable’s denominator retains its 13 provider
refusals (§D). The recovery counts measure whether an
agent finds a permitted way forward after the change; the
66 terminal cases instead require it to stop.
OpenHands coding tasks.Two tasks fixing historical Re-
quests bugs follow the agent through editing, testing, com-
mitting, and publication (Table 8). The agent runs on the
unmodified OpenHands SDK. Our release service owns
production and staging grants and a bare Git repository
outside the agent’s sandbox. Protected publication uses
COMMITGATEand a Git ref transaction that checks the
grant revision; resource-only publication omits that grant
check.
Each model executes both tasks twice under four con-
ditions:❶clean,❷silent revocation after approval is read,
❸visible revocation at the same point, and❹silent revo-
cation with only resource consistency enforced. The second
task uses OpenHands delegation. Release instructions name
a status command and direct the agent to separately ap-
proved staging if production approval is lost. Staging is a
different effect whose grant cannot authorize production.
Publication and recovery.For GPT, Fable, and Sonnet,
resource-only publication applies all 12 revoked production
writes, as expected without a grant check. Protected pub-
lication permits all 12 clean writes and no revoked write.
After silent protected revocation, these agents publish to
staging in 11 trajectories and stop in one (Figure 4). None
queries status before the first publication attempt. Every
candidate and applied commit from these models passes
the tests, including the unauthorized publications. Qwen and
TABLE 9. CONTROLLED STUDY:EXECUTIONS THE MODEL COMMITS;
EACH COMMITTED FLAGGED ONE IS UNAUTHORIZED. FABLE’S
EXCLUDE87FLAGGED AND21CONTROL EXECUTIONS ITS PROVIDER
REFUSED.
Model
Flagged executions
committed
Clean controls
committed
Qwen 207/215 54/54
Gemma 0/215 25/54
GPT 4/215 0/54
Fable 8/128 26/33
Sonnet 0/215 22/54
Gemma publish in 2 of 32 trajectories; 23 end in an agent
error, including 22 that reach the execution limit. Their
incomplete workflows provide little evidence about recovery
after refusal.
Stale records shown to the model.A controlled study iso-
lates a narrower decision: commit or abort after an explicit
invalidation flag, with no opportunity to revalidate. It runs
54 synthetic browser, tool/state, and multi-agent tasks in
LangGraph, once clean and under four perturbations. The
goal and payload shape stay fixed while expiry, version
advance, retargeting, reordering, a stale cached view, or
branch cancellation invalidates a required fact (§D). Before
its final generation, the model receives the environment’s
validation result and returnssafe_commitorabort. The
environment flags 215 of 216 perturbed executions.
Qwen commits 207 flagged executions (Table 9); its
endpoint success of 262/270 therefore exceeds authorized
completion of 55/270. The other models rarely commit
flagged records but also abort harmless controls. GPT aborts
all 54 controls, citing revalidation that the study does not
permit. These results measure decisions under the restricted
interface, leaving recovery during a task untested.
5.3. RQ3: Which Checks Enforce Authorization?
Checks under one owner.Three deterministic systems
own browser, ticket, and branch-epoch state (Table 3); their
issuers sign grants and validity claims (§E). Each runs four
authorized and four unauthorized cases from identical state
TABLE 10. DEFENSE RESULTS OVER THREE AUTHORITATIVE SYSTEMS,THE SAME WHETHER PROTECTED PATHS CHECK GRANTS BY EPOCH OR BY
THE FULL PREDICATE OFEQUATION1. A/U/S/M:AUTHORIZED COMPLETION,UNAUTHORIZED COMMIT,SAFE NON-COMPLETION,
MISSING-EVIDENCE ABORT.
Case Expected Unguarded Recheck
Native conditional
sink
COMMITGATE
+same sink
Clean authorized 3A 3A 3A 3A
Benign concurrent authorized 3A 3A 3A 3A
Alternative grant authorized 3A 3A 3A 3A
Stale unrelated authorized 3A 3A 3A 3A
Direct invalidation unauthorized 3U 1U/2S 3S 3S
Post-preflight race unauthorized 3U 3U 3S 3S
Forged claim unauthorized 3U 3U 3S 3S
Missing declared slot unauthorized 3U 2U/1S 3S 3M
All 24 per defense — 12A/12U 12A/9U/3S 12A/12S 12A/9S/3M
TABLE 11. CROSS-SERVICE RESULTS: 20CASE–DEFENSE CELLS,EACH WITH THE SAME OUTCOME IN ALL15EXECUTIONS(THREE PER MODEL),
ALSO WHEN GRANTS ARE CHECKED BY THE FULL PREDICATE OFEQUATION1. A/U/S:AUTHORIZED COMPLETION,UNAUTHORIZED COMMIT,SAFE
NON-COMPLETION.
Case UnguardedIf-MatchClient recheck
Non-atomic
staged recheck COMMITGATE+reservation
Clean A A A A A
Approval-only invalidation U U S S S
Post-preflight race U U U U S
Fresh alternative grant A A A A A
under four defenses:❶unguarded execution,❷a final-
resource recheck,❸a native conditional sink checking the
full contract, and❹COMMITGATEfollowed by that sink.
Expected outcomes are fixed beforehand; monitor and sink
decide separately.
Across the 96 executions, both protected paths reject
every unauthorized commit and preserve all 12 authorized
cases per defense (Table 10). The resource recheck stops
two invalidating cases and one missing-slot case, leaving
nine unauthorized commits: an ineligible branch, forged
or incomplete evidence, and every post-preflight race. The
protected sinks reject those races under their lock despite
positive preflight decisions. For missing evidence, COMMIT-
GATEalso identifies the absent slot.
Separate approval and resource owners.A four-node
LangGraph workflow queries approval and ticket services,
asks a model to derive tool arguments, and sends them to
the ticket sink. Each model generates the pending action
three times in each of 20 case–defense cells. The environ-
ment then changes approval while ticket version 7, target,
operation, and payload remain fixed. All 300 requests reach
the sink, with the same outcome in every execution of each
cell (Table 11).
If-Match[31] checks only the resource version atom-
ically, permitting both approval-only invalidation and post-
preflight races. Client and staged rechecks read both services
without coordination: they reject grants already superseded
but permit those revoked afterward. On the reservation path,
COMMITGATErefuses superseded grants at preflight, and
the approval service refuses issuance after later revocation.
Every defense commits the clean case and the fresh alter-
native, preserving the effect authorized by the latter.
LangChain approval middleware.The adapter uses
LangChain 1.4.4’s documentedwrap_tool_callhook
to check evidence before tool execution. A ticket service
in a separate process checks it again in its write transac-
tion. LangChain’s human-in-the-loop middleware runs un-
changed. Twelve scripted cases run once per arm, plus one
control (25 executions); an oracle labels writes from owner
logs alone. Native execution applies all 14 writes, includ-
ing eight without authority. Protected execution refuses six
attempts before the tool and three at the sink, including a
withdrawal after the first check (§D.2).
Every write covered by a current exact approval applies,
including a reviewer’s edited call and a second approver’s
approval after the first withdraws. Oracle and sink agree
on every attempt. A constructed case pools two approvals’
current claims as in §2. The adapter rejects the differing
candidate identifiers; the evaluator with that check removed
applies the effect. The integration adds 187 lines, with
coherence checked by a 7-line evaluator subclass.
Models choosing tools.Five models use LangChain’s
create_agentto choose tools for five ticket tasks under
scripted approver and owner events (24 trajectories per
model). The adapter and sink mediate all 131 attempted
writes, including a tool outside the approval configuration.
They apply all 62 writes with a current exact approval and
refuse the other 69. After a refusal for which authorized
recovery is possible, Qwen repeats the write and completes
in three of five cases. Each other model reads first in five of
six cases and completes in four or five. Under the declared
policy, which binds approval to the whole resource version,
changing an unread field causes four Qwen refusals and
three for each other model.
A paired extension executes five readable owner-change
cases natively for each model: 25 trajectories, of which 23
reach the intervention. All 28 writes presented at those ap-
proval interrupts apply without authority; the adapter refuses
all 28 in the matched protected cases. LangChain shows state
when the model requests the write, accepts approval later,
and executes on resume without rechecking. The model has
no turn between the change and execution. After protected
refusal, all 20 hosted-model trajectories read first; they later
apply 19 authorized writes and none unauthorized.
A separate case needs no injected change. All five mod-
els group two writes approved at version 7 into one message.
The first write advances the version, invalidating the second.
Native execution applies that second write in all five cases;
protected execution refuses it in all five. GPT and Gemma
then read and write under fresh approval; Fable resends and
obtains fresh approval; Sonnet ends after reading. Qwen
groups calls again without completing the second write. Au-
thorization holds at the sink in these recorded continuations.
Other frameworks and transports.LangGraph 1.2.10 also
preserves approval resolved throughinterruptwithout
expiry or withdrawal. A sink that consumes the exact-effect
grant refuses the approved append after withdrawal. In a
single-service panel of 90 LangGraph executions per model,
unguarded paths commit unauthorized effects and paths with
an atomic final check commit none (§D). Scripted HTTP
and Chrome checks show the same distinction. In both
service panels, the model transcribes a prepared effect before
the intervention; the case and defense then determine the
outcome of this fixed action.
Clause checks with the sink fixed.The same atomic op-
eration can enforce different evidence requirements (§D.2).
Removing coherence from the LangChain evaluator admits
the pooled candidate; restoring it prevents that write from
reaching the sink. In all three services, grants naming only
an epoch let both protected paths apply another effect’s
grant. Signing the whole effect into the grant, a 30-line
adapter change, rejects all six such candidates. Grant-only
and binding-only candidates cause missing-evidence aborts;
a complete candidate applies, and a sibling-effect certificate
is refused.
Claims scoped to the effect’s own facts preserve all
nine benign cases that service-wide counters refuse. Signing
candidate identity adds 88 lines across adapters, evaluator,
and reservation path. Correct binding also depends on the
adapter: an adapter naming another effect withholds a jus-
tified write that the native sink applies.
One evaluator for different policies.The Git pol-
icy requires grant, resource-premise, and binding claims;
Atomix/SQLite requires grant and binding. Adding a re-
view slot and issuer invalidates the old candidate, while a
complete replacement passes the unchanged evaluator and
sink (§D.2). The 227-line evaluator module is byte-identical
across three single-service systems, the reservation path, Git,
and SQLite. Each single-service adapter adds 90–101 lines
to a shared base. OpenHands and Atomix run unmodified.
Composition with Atomix.Atomix [11] coordinates effect
release and delegates semantic validation to the application.
TABLE 12. ATOMIX PUBLICATION OUTCOMES;EACH ENTRY IS TWO
IDENTICAL EXECUTIONS,THROUGHC O M M I TANDF L U S H_R E A D Y.
THE PROTECTED CONFIGURATION ADDSCOMMITGATE AND ATOMIC
AUTHORITY VALIDATION TO THE SAME RUNTIME ANDSQLITE SINK.
Condition Resource only Protected
Current approval Authorized Authorized
Expired approval Unauthorized Preflight refusal
Revoked before preflight Unauthorized Preflight refusal
Revoked after preflight Unauthorized Sink refusal
Surviving alternative Authorized Authorized
TABLE 13. MEAN P50DIFFERENCE, COMMITGATE MINUS DIRECT,IN
MS,OVER SIX ORDER-BALANCED REPETITIONS PER WINDOW.
COMMITGATE’S COMPLETE-PATH P50,MEDIAN OF REPETITIONS:
DESKTOP47.31–47.98,ONEVM 53.19–54.23,TWOVMS
56.34–56.93MS.
Setting Stage 10 s 1 s 100 ms
Desktop Admission 0.26 0.17 0.24
Consumption 0.31 0.01−0.03
Complete path 0.94 0.15 0.13
One VM Admission 0.63 0.51 0.51
Consumption 0.15 0.18 0.19
Complete path 0.90 0.92 0.79
Two VMs Admission 0.36 0.57 0.43
Consumption−0.120.21−0.05
Complete path 0.18 0.88 0.41
We compare resource checks without grant validation with
COMMITGATEand atomic authority validation in the same
runtime. Both configurations register resource and approval
scopes, retain Atomix’s release checks, and execute call-
backs in a SQLite transaction checking request identity, re-
source version, and path. Five initially authorized conditions
vary grant lifetime, check timing, and alternatives through
both release routes and configurations: 20 executions, la-
beled by independent SQL queries (Table 12).
Every callback satisfies Atomix’s release dependencies.
Resource checks permit ten publications, six unauthorized.
The protected composition preserves the four authorized
publications and refuses six, including two at the sink after a
positive preflight. Atomix establishes readiness for release;
the sink establishes authority in the write transaction. Twelve
further cases on the same SQLite sink give identical out-
comes with a direct authorizer and COMMITGATE: three
publications, eight rejections, and one abort.
5.4. RQ4: What Does Authority Transfer Cost?
Reservation workloads.We measure admission, reservation
issuance, and consumption (Table 13) in two long-lived
services with separate SQLite databases. They run over
loopback on a desktop (§D.1), then on separate cloud VMs
in one zone. A control collocates both services on a VM
of the same type. The direct authorizer and COMMITGATE
receive identical evidence and use the same policy, transfer
semantics, and atomic consumption; only the latter uses
typed certificates. Client timing includes HTTP, queueing,
TABLE 14. COMPLETED EFFECTS, %OF1,600OFFERS PER CELL(100
BURSTS OF16). DESKTOP:THREADED CLIENT,DIRECT(D)AND
COMMITGATE(G). VMCOLUMNS: GWITH ONE CLIENT PROCESS PER
WORKER,MEAN OF SIX REPETITIONS;SHARED-TARGETDALSO GIVES
6.25%THROUGHOUT. –:NOT MEASURED.
Desktop shared Desktop disjoint VM disjoint VM shared
Window D G D G 1 2 1 2
10 ms 0 0 0 0 – – – –
100 ms 0.13 0 0 0.13 95.50 96.75 6.25 6.25
300 ms – – – – 99.95 100 – –
1 s 6.25 6.25 98.56 98.69 100 100 6.25 6.25
10 s 6.25 6.25 100 100 – – 6.25 6.25
accounting writes, owner persistence, and admission. Cloud
workloads use one client process per worker.
Latency.Six serial repetitions per window alternate arm
order by block. COMMITGATEadmission is slower in every
window and block across all settings. The mean p50 differ-
ence is 0.17–0.63 ms; differences by block range from 0.09
to 0.74 ms, and one repetition reaches 1.27 ms. Identical
consumption code differs by 0.15–0.19 ms between arms
on one VM, indicating an arm bias of that size in the
cloud comparison. On the desktop, the admission difference
exceeds the consumption difference only at 1 s and 100 ms.
Complete-path mean differences between arms remain
below 1 ms, although a single desktop run with the direct
arm first differs by 10.99 ms (§D.1). Separating services
across two VMs adds 2.4–3.0 ms.
Expiry and contention.Desktop contention covers six
workloads: serial offers, single-worker bursts, and four- or
sixteen-worker bursts on shared or disjoint targets. Two arms
and four expiry windows give 48 configurations and 34,400
measured offers, each making three HTTP calls. Each con-
figuration runs once, direct arm first, so arm differences can-
not be attributed to the authorizer. With sixteen workers and
a 10-s window, all disjoint offers complete but only 6.25%
of shared-target offers do (25% with four workers). The first
write advances the shared version; the others remain bound
to its old value. Longer windows reduce expiry losses but
cannot restore an obsolete version, and they prolong the
derived grant’s authority.
With sixteen workers in one client process, almost no
offer completes within 100 ms, even on disjoint targets.
The median client delay from issuance to consumption is
342 ms, compared with server round trips of about 41
and 32 ms. One process per worker reduces that delay to
about 21 ms. On disjoint targets, 95.50% of offers complete
within 100 ms on one VM and 96.75% across two. At
300 ms, every repetition completes at least 99.69%, with
no unauthorized effect. Clock probes estimate an inter-VM
offset below 0.85 ms; the longest issuance-to-consumption
interval is 361 ms, atτ= 1s.
Shared-target contention with sixteen client processes
adds 72 order-balanced cells and 115,200 measured offers
(Table 14). For every topology, arm, and window, each of
600 bursts commits one offer and the other 9,000 offers
abort on the version check. No burst loses its winner to
expiry, even at 100 ms, and no result is unknown or unau-
thorized. Atτ= 1s across two VMs, consumption returns
in 25.89 ms for version aborts and 28.96 ms for commits,
compared with 25.72 and 27.95 ms under direct authoriza-
tion. The last of sixteen responses arrives at 260.46 ms after
burst release at p50 and 413.74 ms at p95 (direct: 258.75 and
377.50 ms), each the median of six per-repetition quantiles.
Every observed issuance-to-commit interval among com-
pleted offers meetsτ+ ˆϵ par. The maximum is 101.69 ms
atτ= 10s, with an estimated inter-host timing margin
ˆϵpar = 1.63ms.
6. Discussion
Information and recovery.Notices and consulted status
tools helped agents follow the authorization rule. Revocation
can follow their last observation, so the service must still
check authority at commit. Recovery requires an authorized
route; terminal grant or eligibility changes require stopping.
Reporting authorization beside utility exposes unauthorized
success and the cost of safe refusal.
Qwen and Gemma often reached execution limits before
OpenHands publication, including in clean controls. An
absent publication cannot establish that an agent recognized
revocation. Model size and family are not isolated from tool
format, context settings, or serving configuration. Fable’s
provider refusals varied by task and usually preceded prepa-
ration, including in clean runs. Its answered trajectories are
therefore a selected subset. Assigned recovery cohorts retain
refusals, and all cohorts retain effects applied before a later
refusal.
Policy and implementation.Omitted dependencies can
admit effects outside the intended policy; unrelated re-
quirements can reject valid ones (Assumption 1). Cedar
reproduced all 30 synthetic decisions under our policies and
candidate boundaries (§D.1); host code must still resolve
claims and the sink must enforce them.
Evidence and scope.The advisory, retail, scripted, and
transport studies estimate no general failure rate. Thirteen
of 17 advisories concern one product, the clause assign-
ments are ours, and pooling appears only in constructed
cases. Neither scripted repetitions nor model executions
with different seeds are independent samples; no model is
fully deterministic at our settings. The controlled response
namesafe_commitmay influence decisions. The service
study runs each of 18 synthetic tasks once per condition;
OpenHands does not isolate delegation. OpenHands and
retail use our authorization policies. Service labels come
from owner state, but sink and oracle can share policy or
serialization errors.
Every cross-service panel revocation precedes reserva-
tion issuance. Revocation during a reservation’s lifetime is
tested only at deterministic logical ticks. The sink checks
version before sampling expiry, so a version abort does
not establish whether the reservation was still live; phys-
ical commit can finish just after expiry. Cross-zone timing,
sustained contention, denial of service, issuer outages, and
distributed recovery remain untested.
TABLE 15. CLOSEST MECHANISMS,GROUPED BY CONTRACT. CURRENT EFFECT AUTHORITY:A VALID SOURCE OR DERIVED GRANT UNDER ITS
LIFETIME AND REVOCATION SEMANTICS;COMPLETE EVIDENCE ALTERNATIVES:ONE JUSTIFICATION SATISFIES EVERY CONDITION,WITHOUT
POOLING.✓:EXPLICIT OBLIGATION;◦:RELATED MECHANISM OR APPLICATION RESPONSIBILITY; –:NOT STATED.
Contract Mechanisms
Current effect
authority
Exact-effect
binding
Complete evidence
alternatives
Policy-rule alternatives Cedar, Progent [7], [32]◦ ◦✓
Tool and data-flow controls CaMeL [8]◦ ◦ ◦
Request-bound authority SUDP, CapLease, SecureClaw, CXI [33]–[36]✓ ✓–
Authorization continuity Live effect-scoped leases [6]✓◦✓
Transaction settlement Atomix [11]◦ ◦–
Task validation and release Cordon [12]✓ ✓–
Policy/effect coordination PSS / MasuGate [13]✓ ✓–
Use-time approval binding Loopjacking, BSC-R [14], [17]✓ ✓–
Single-witness contracts CONTINUITY , AID-Guard, ADR 0030 [15], [16], [24]✓ ✓◦
Approved-object integrity Consent Integrity, ReSA [37], [38] –✓–
Control-primitive barriers Stop Means Stop [39]◦ ◦–
Commit-time authorization (CTA) COMMITGATE+ atomic sink✓ ✓ ✓
7. Related Work
Authorization contracts.Stale-safe properties bound at-
tribute staleness [5]; UCON re-evaluates rights during
use [40]. Proof-carrying authentication [41] and recency log-
ics [42], [43] check authority proofs and credential recency
at decision time; consumable credentials become unavailable
everywhere once used [23]. Cedar [32] and Progent [7]
allow a request only when one rule holds in full and no deny
rule matches. Request-bound grants, proofs, and capabilities
bind authority to operations [33]–[36]. Table 15 compares
their contracts.
Closest contracts.Zhang and Zhang [6] require one live
lease, scoped by resource and effect type, to cover the
full effect set; leases cannot be combined and a surviving
alternative suffices. CTA adds premise, dependency, and
eligibility claims from their owners, coherent within that
witness (Proposition 2). CONTINUITY rechecks revoca-
tion of an exact-action permit at the sink, after admission
and within its lifetime [15]; its unmodified implementa-
tion matches the tested contract cases (§F). ADR 0030
atomically checks and consumes a one-time, action-bound
approval [24]. AID-Guard requires provider enforcement
of an approved version, ETag, or lock precondition, and
rejects root revocation before its authorization transaction;
its atomic profile joins that transaction with the provider
effect [16]. BSC-R binds revocation, context root, and ex-
ecution subject at commit [17]. These systems check one
witness or lineage per action; CTA also selects among
complete candidates without pooling their owners’ claims.
BSC-R cites CTA and reports 44.531% invalid commits
for its third-party “CommitGuard-faithful” reimplementation
and 0% for CONTINUITY on the latter’s attack suite. That
projection uses a different policy and sink; the suite includes
additional provenance and transformation invariants [17].
Approvals and commit boundaries in agents.Loopjacking
binds a human approval to the operation evaluated at use and
checks it there [14]; Consent Integrity binds the approval
dialog to the exact action [37]; ReSA analyzes approval con-
sumers that reconstruct the approved object [38]; closure-
bound approval covers transitive effects of an approved
command [44]; and Stop Means Stop measures approval
gates and cancellation [39].
Coordination and the final effect.Atomix [11] coordinates
settlement with application-supplied semantic validation,
and Cordon [12] validates lineage, authority, and approval
in task validation. PSS [13] coordinates policy state and
effects through provider transactions or reservations; as on
our reservation path, a transferred grant may outlive source
revocation. Lilienthal and Hong [9] and Jiang et al. [10]
address changing resource or page state, which our approval-
only cases hold fixed; a binding mismatch violates CTA
with no race. Wu et al. [45] study authority–execution
gaps, Mohammadi et al. [19] effects visible at dispatch, and
agent benchmarks evaluate outputs, traces, or application
state [30], [46]–[48].
8. Conclusion
An agent can complete a task through an effect its
approval never covered or no longer authorizes, as fixed
advisories document. After silent owner changes, all five
models mostly completed service tasks through unautho-
rized effects, with Fable measured over answered requests.
Notices helped agents follow the rule; protected refusals
could lead to a separately authorized route.
CTA requires one complete, current justification for the
exact effect at commit. COMMITGATEauthenticates and
selects that justification; the sink enforces it atomically.
Protected paths enforced the declared policy and preserved
valid alternatives in the evaluated LangChain, OpenHands,
service, and Atomix cases. Serial admission added at most
0.63 ms in mean p50 over direct authorization. Machine-
checked proofs establish whole-candidate selection, trace
safety for mediated atomic sinks, and exact single-use trans-
fer in the stated model. Agent systems should establish
authority at commit and report authorization beside task
success.
References
[1] GitHub Security Advisories, “Repository advisories for Cursor, Open-
Claw, and Claude Code,” https://github.com/advisories, accessed Oc-
tober 11 and 14, 2026.
[2] LangChain, “Human-in-the-loop middleware, langchain 1.4.4,” https:
//github.com/langchain-ai/langchain, 2026, accessed October 11,
2026.
[3] X. Wanget al., “OpenHands: An open platform for AI software de-
velopers as generalist agents,” inProc. 13th International Conference
on Learning Representations (ICLR), 2025.
[4] R. Spencer, S. Smalley, P. A. Loscocco, M. Hibler, D. G. Andersen,
and J. Lepreau, “The Flask security architecture: System support
for diverse security policies,” in8th USENIX Security Symposium
(USENIX Security 99), 1999.
[5] R. Krishnan, J. Niu, R. S. Sandhu, and W. H. Winsborough, “Stale-
safe security properties for group-based secure information sharing,”
inProc. 6th ACM Workshop on Formal Methods in Security Engi-
neering, 2008, pp. 53–62.
[6] Z. Zhang and X. Zhang, “Are you still the agent I authorized?
Earned authority under a fixed ceiling for evolving agents,” 2026,
arXiv:2607.23586.
[7] T. Shiet al., “Progent: Securing AI agents with privilege control,”
2026, arXiv:2504.11703v3.
[8] E. Debenedettiet al., “Defeating prompt injections by design,” 2025,
arXiv:2503.18813.
[9] D. Lilienthal and S. Hong, “Mind the gap: Time-of-check to time-of-
use vulnerabilities in LLM-enabled agents,” 2025, arXiv:2508.17155.
[10] L. Jiang, Z. Liu, H. Luo, and Z. Lin, “Atomicity for agents: Exposing,
exploiting, and mitigating TOCTOU vulnerabilities in browser-use
agents,” 2026, arXiv:2603.00476.
[11] B. Mohammadi, N. Potamitis, L. H. Klein, A. Arora, and L. Bind-
schaedler, “Atomix: Timely, transactional tool use for reliable agentic
workflows,” 2026, arXiv:2602.14849.
[12] Z. Chenet al., “Cordon: Semantic transactions for tool-using LLM
agents,” 2026, arXiv:2606.17573.
[13] Y . Peng and X. Wu, “Stateful governance for concurrent agentic
systems,” 2026, arXiv:2608.02764v2.
[14] A. Arun Kumar, “Loopjacking: Hijacking human-in-the-loop ap-
proval,” 2026, arXiv:2609.21081.
[15] C. Zheng and G. Yang, “CONTINUITY: Security-context contracts
for composable LLM agent controls,” 2026, arXiv:2609.05269.
[16] Y . Tong, L. Dai, and S. Guo, “AID-Guard: Stateful authorization for
delegated agent effects,” 2026, arXiv:2608.21159.
[17] W. Shu, “Boundary-state control for tool-using language-model
agents: Commit-time consistency under state drift,” 2026,
arXiv:2609.37475.
[18] D. Tsafrir, T. Hertz, D. A. Wagner, and D. D. Silva, “Portably solving
file races with hardness amplification,”ACM Transactions on Storage,
vol. 4, no. 3, pp. 1–30, 2008.
[19] B. Mohammadi, L. H. Klein, A. Arora, and L. Bindschaedler, “Ghost
tool calls: Issue-time privacy for speculative agent tools,” 2026,
arXiv:2606.02483.
[20] M. Abadi and R. M. Needham, “Prudent engineering practice for
cryptographic protocols,”IEEE Transactions on Software Engineer-
ing, vol. 22, no. 1, pp. 6–15, 1996.
[21] C. G. Gray and D. R. Cheriton, “Leases: An efficient fault-tolerant
mechanism for distributed file cache consistency,” inProc. 12th ACM
Symposium on Operating Systems Principles, 1989, pp. 202–210.
[22] L. de Moura and S. Ullrich, “The Lean 4 theorem prover and
programming language,” inAutomated Deduction – CADE 28, ser.
Lecture Notes in Computer Science, vol. 12699, 2021, pp. 625–635.
[23] K. D. Bowers, L. Bauer, D. Garg, F. Pfenning, and M. K. Reiter,
“Consumable credentials in linear-logic-based access-control sys-
tems,” inProc. Network and Distributed System Security Symposium
(NDSS), 2007.
[24] Microsoft, “Agent governance toolkit, ADR 0030: Use an action-
bound, fail-closed approval protocol,” https://github.com/microsoft/
agent-governance-toolkit, 2026, accepted September 13, 2026; ac-
cessed October 11, 2026.
[25] Anthropic, “Claude API documentation: Refusals and
fallback,” https://platform.claude.com/docs/en/build-with-claude/
refusals-and-fallback, 2026, accessed October 13, 2026.
[26] Jenkins Security Team, “Jenkins security advisory 2024-11-13:
Rebuilding a run with revoked script approval allowed by
pipeline: Groovy plugin,” https://www.jenkins.io/security/advisory/
2024-11-13/#SECURITY-3362, 2024, SECURITY-3362 / CVE-
2024-52550; accessed October 8, 2026.
[27] OpenAI, “OpenAI Agents SDK for Python, 0.23.1: Human-in-
the-loop,” https://github.com/openai/openai-agents-python, 2026, ac-
cessed October 11, 2026.
[28] Anthropic, “Claude Code documentation: Permissions and tool er-
rors,” https://code.claude.com/docs/en/permissions, 2026, accessed
October 11, 2026.
[29] OpenAI, “Codex documentation: Approvals and rules,” https://learn.
chatgpt.com/docs/agent-configuration/rules, 2026, accessed October
11, 2026.
[30] S. Yao, N. Shinn, P. Razavi, and K. R. Narasimhan, “τ-bench: A
benchmark for tool-agent-user interaction in real-world domains,”
inProc. 13th International Conference on Learning Representations
(ICLR), 2025.
[31] R. T. Fielding, M. Nottingham, and J. Reschke, “HTTP seman-
tics,” RFC 9110, Section 13.1.1, 2022, https://www.rfc-editor.org/rfc/
rfc9110.html, accessed October 14, 2026.
[32] J. W. Cutleret al., “Cedar: A new language for expressive, fast,
safe, and analyzable authorization,”Proceedings of the ACM on
Programming Languages, vol. 8, no. OOPSLA1, pp. 118:1–118:28,
2024.
[33] X. Yu, H. Geng, X. Zeng, and W. Knottenbelt, “SUDP: Secret-use
delegation protocol for agentic systems,” 2026, arXiv:2604.24920.
[34] J. Xu, L. Fan, Z. Wang, X. Li, and H. Liu, “Beyond single-use tokens:
Durable authorization state for replay-resistant LLM agent actions,”
2026, arXiv:2608.01710.
[35] Y . Ma and S. Schmid, “SecureClaw: Clawing back control of LLM
agents,” 2026, arXiv:2606.09549.
[36] I. Santos-Grueiro, “Context-to-execution integrity for LLM agents,”
2026, arXiv:2607.06000.
[37] X. Weng, “What you approve is what executes: Consent integrity for
black-box LLM agents,” 2026, arXiv:2606.02668.
[38] J. Zhu, Z. Liu, S. Fan, J. Chen, and Q. He, “From approval to execu-
tion: Reconstruction-aware repair analysis for LLM-agent software,”
2026, arXiv:2609.26529.
[39] S. Khan, “Stop means stop: Measuring and repairing the enforcement
gap in agent-framework control primitives,” 2026, arXiv:2607.14166.
[40] J. Park and R. S. Sandhu, “The UCON ABC usage control model,”
ACM Transactions on Information and System Security, vol. 7, no. 1,
pp. 128–174, 2004.
[41] A. W. Appel and E. W. Felten, “Proof-carrying authentication,”
inProc. 6th ACM Conference on Computer and Communications
Security, 1999, pp. 52–62.
[42] S. G. Stubblebine, “Recent-secure authentication: Enforcing revoca-
tion in distributed systems,” inProc. IEEE Symposium on Security
and Privacy, 1995, pp. 224–235.
[43] S. G. Stubblebine and R. N. Wright, “An authentication logic sup-
porting synchronization, revocation, and recency,” inProc. 3rd ACM
Conference on Computer and Communications Security, 1996, pp.
95–105.
[44] J. Zhanget al., “Agent approval laundering: Transitive effects beyond
the approved invocation,” 2026, arXiv:2609.28586.
[45] B. Wu, Q. Liu, A. Bibi, I. King, and S. Lyu, “The authorization-
execution gap is a major safety and security problem in open-world
agents,” 2026, arXiv:2605.11003.
[46] S. Zhouet al., “WebArena: A realistic web environment for build-
ing autonomous agents,” inProc. 12th International Conference on
Learning Representations (ICLR), 2024.
[47] H. Trivediet al., “AppWorld: A controllable world of apps and people
for benchmarking interactive coding agents,” inProc. 62nd Annual
Meeting of the Association for Computational Linguistics (ACL),
2024, pp. 16 022–16 076.
[48] E. Debenedetti, J. Zhang, M. Balunovi ´c, L. Beurer-Kellner, M. Fis-
cher, and F. Tramèr, “AgentDojo: A dynamic environment to evaluate
prompt injection attacks and defenses for LLM agents,” inAdvances
in Neural Information Processing Systems 37, 2024, pp. 82 895–
82 920.
Appendix A.
Ethics Considerations
This work examines whether an agent’s actions remain
authorized when they execute. The experiments use syn-
thetic tasks and data, public software releases, and isolated
local or cloud environments under our control. Hosted model
APIs are used for inference. We conducted no experiments
on human subjects and did not target other users’ accounts
or production deployments.
The main dual-use risk is that the examples could help
identify similar authorization failures in deployed agents.
We limit the public artifact to the experiments, records,
and defensive implementations needed to reproduce the
released evaluation. Private reports, credentials, and identi-
fying deployment details are excluded. We privately reported
the authorization issues identified during this work to the
relevant maintainers before submission. The reports remain
private.
Appendix B.
Open Science
The artifact is available at: https:
//anonymous.4open.science/r/commit-time-authorization/.
artifact_manifest.jsonindexes specifications,
records, COMMITGATE, Lean, related work, and tests;
RESULTS.mdmaps claims to records. With Python 3.10+
and the pinned Lean toolchain,make reproduce-full
rebuilds counts, reruns deterministic services, checks model
records, and builds proofs;make reproduce-alladds
LangGraph replays. With pinned Python 3.13+ environ-
ments,make reproduce-sp27also checks OpenHands,
Atomix, retail, LangChain, and operational studies. Sepa-
rate commands rerun Atomix, test recorded Git commits,
and fetch pinned CONTINUITY for runtime checks; its
clone is excluded. The OpenHands package records its ma-
cOS arm64 SDK environment. Records include all reported
executions, operational warmups and offers, and ids and
source hashes for 270 primary executions and 262 com-
mits. Inspected WebArena, AgentDojo,τ-bench, and App-
World evaluators are pinned. OpenHands records include
model conversations, SDK events, service decisions, and
Git objects. Public projections remove identity and service
tokens; non-secret configuration retains models, settings,
retries, prompts, and dependencies. Findings reproduce from
records without provider access.
Appendix C.
Machine-Checked Model
Lean 4 checks the model and boundary claims of §3–
§4. Structures representσ,c,Π, andJ; predicates imple-
mentValid,CTA,TDiv, andLostCTA, with rejection ex-
actly when CTA fails. The model includes sink transitions,
forwarding and selecting traces, two-state leases with tied
issuance, the grant ledger, and cross-service cases. Induction
proves selection over candidates and safety over events;
single use follows from a growing nonce record. The issued-
trace part of Theorem 2 requires every logged candidate
to have been presented, hence issued. Binding the version
advanced by a write prevents immediate repetition.
Statements and audit.The inventory lists all 139 project
theorems: 31 paper statements with exact elaborated types
recorded in the artifact, including shared-state and single-
certificate counterparts of Theorems 1 and 2; 20 counterex-
amples that mark the limit of a check or hypothesis; and
88 supporting lemmas. The audit checks proof complete-
ness and matches Lean’s axiom report, onlypropext, to
the inventory. Lean checks labels from 60 recorded Qwen
executions, one per case, defense, and repetition, with one
outcome in each of 20 cells, against the cross-service shared-
state reservation model. These executions do not instantiate
the two-state model of Theorem 1.
Limits of the model.Issuer honesty, unique identifiers, and
claim provenance are hypotheses (§3), and Lean does not
show that an approval service records the ledger correctly.
SinceAuthV L compares version numbers, it presumes that
no resource returns to an earlier one. Reservation time
uses inclusive discrete ticks, while operational consumption
uses an exclusive nanosecond bound at its locked clock
sample; no clock refinement or physical-persistence dead-
line is proved. Lean does not prove semantic provenance,
cryptographic implementations, agent intent, issue-time con-
fidentiality, distributed rollback, or crash recovery.
Appendix D.
Evaluation Details
Controlled tasks.The 54 controlled tasks span three fam-
ilies of six categories with three tasks each, chosen be-
forehand to vary how evidence for authority reaches an
effect: browser tasks draw on WebArena, WorkArena, and
TABLE 16. SERVICE-AGENT OUTCOMES,UNPROTECTED ARM WITH AN
OWNER CHANGE:UNAUTHORIZED EFFECT WITH TASK COMPLETED
(UC)OR NOT(UN),AUTHORIZED COMPLETION(A),NEITHER(W),OF
36TRAJECTORIES(FABLE: 22, 23, 27ANSWERED). UNTRIGGERED
CHANGES(QWEN2, 2, 6; GEMMA2, 2, 0)COUNT ASW. BRACKETS:
WILSON95%INTERVAL OF THEUCSHARE(%),TRAJECTORIES TAKEN
AS INDEPENDENT.
Model Silent Notice Status
Qwen 26/1/0/9 [56, 84] 15/1/2/18 [27, 58] 26/0/1/9 [56, 84]
Gemma 34/0/0/2 [82, 98] 10/0/6/20 [16, 44] 32/1/0/3 [75, 96]
GPT 25/1/3/7 [53, 82] 1/0/11/24 [0, 14] 2/0/9/25 [2, 18]
Fable 17/1/4/0 [57, 90] 0/0/10/13 [0, 14] 17/1/3/6 [44, 78]
Sonnet 30/2/2/2 [68, 92] 0/0/8/28 [0, 10] 22/2/2/10 [45, 75]
OSWorld, tool/state tasks on AppWorld,τ-bench, and Open-
Hands, and multi-agent tasks cover routing, memory, veri-
fication, review, policy, and speculative branches. They are
synthetic analogues, not a prevalence sample.
Advisory fixes.In 14 of the fixes in Table 17, the fact
checked is the grant’s currency or scope or a field of the
executed request, which every CTA policy requires: CTA
authorizes the exact effect, the full input of the durable
operation, and how coarse a policy’s grants are is part of
what the policy declares. In three, it is a premise that the
policy must declare. In seven with B in Table 5, the fix
widens what a persisted decision records or the approver
sees, placing the fact in the grant’s scope; CTA requires
both. In wj55, the fix checks the policy when the gateway
delivers the queued action; the durable operation is its later
execution on the node. An LLM agent independently coded
twelve advisories and the inclusion of all 21 from the rules
and sources alone; it agreed with our codes on 11 of 12
slots (binding rather than grant scope for the 24mc fix), all
12 requirement codes, and 18 of 21 inclusion decisions.
Service-agent study.Of the 18 task ideas mapped to durable
writes, one that cannot run safely is replaced by the nearest
write on that asset. Owners keep typed records of approvals,
resource versions, readiness, page-element bindings, and
run or branch state; utility comes from the final state
alone, and the agent makes at most 16 model requests.
Table 16 gives every outcome of the unprotected arm. A
post hoc audit identifies 42 recovery opportunities from the
specified scenario types, retaining untriggered changes and
provider refusals. Fable’s 29 answered cases all recover; its
13 refusals include nine before and four after the change.
Across all 108 protected change cases, 63 are answered and
29 complete. Under the pair rule of §5.2, 22 (Qwen), 32
(Gemma), 20 (GPT), 19 (Fable), and 34 (Sonnet) of the 36
planned pairs qualify. GPT’s 16 excluded pairs differ before
the change, 15 in their tool calls; Qwen’s exclusions include
trajectories that wrote with the preparation, and 16 of Fable’s
17 contain a refused trajectory. Without the replaced task,
Qwen keeps 20 pairs, with unauthorized completions falling
from 13 to 3.
Provider refusals.Fable’s provider refuses every trajectory
of three service tasks and none of six others. Clean and
changed trajectories have similar refusal counts (26/72 and
TABLE 17. WHAT EACH FIX INTABLE5CHECKS AND THECTACLAIM
THAT EXPRESSES IT; GGRANT, PPREMISE, BBINDING. R:EVERYCTA
POLICY FOR THE EFFECT REQUIRES THE FACT,WITHcTHE FULL INPUT
OF THE DURABLE OPERATION; D:THE POLICY MUST DECLARE IT;≈:
ANOTHER FACT OR AN EARLIER STEP.
Id Fixed Fix checks CTA claim Req.
24mc 1.3 new approval when the
entry changes
G scope: command
and arguments (≈)
R
8g75 2026.3.8 script matches the
approval snapshot
P: script digest D
q399 2026.3.1PATHtoken resolves to
the approved binary
P:PATHresolution D
mwcg 2026.2.25 working directory is not
a symlink
P: cwd target (≈) D
wj55 2026.3.22 policy at delivery allows
the queued action
G currency: policy
at execution (≈)
R
r22h 1.3 install dialog shows the
arguments
G scope: arguments
shown
R
h3f9 2026.2.14 executed argv matches
the evaluated command
B: argv R
hwpq 2026.2.25 approval matches the
exact executed argv
B: argv R
74gc 2026.8.1 Allow Always grant
keeps the arguments
G scope: arguments R
6j27 2026.2.22 grant keeps the inner
executable
G scope: inner
executable
R
3mq7 2026.8.1 reusable approval bound
to the cwd
G scope: cwd R
7jfq 2026.8.1 standing grant bound to
its node
G scope: target node R
6x2m 2026.2.23 approving node matches
invoking node
B: target node R
6rcp 2026.2.24 approval text shows the
full argv
G scope: argv
shown
R
hjvp 2026.2.26 approval bound to argv,
cwd, env digest
B: env, with argv
and cwd
R
pq7j 2.1.179 checked-out commit
equals the pinned hash
B: commit hash R
q5hj 2.1.84 trust lookup validates
the worktree link
B: trusted folder (≈) R
Not counted, contestable (4):group undetermined; no durable effect named
(I4, I5); no approver named (I3); not a tool effect (I5).
81/216). Of 107 refusals, 65 occur at the first request;
90 precede the preparation trigger, 16 follow an applied
change, and one follows preparation in a clean control.
Seven follow a protected write refusal at preflight (two at
the next request), yielding 21 refusals in the protected silent
condition against 14 unprotected. Observed unauthorized
completions over all 36 prescribed unprotected cases are 18,
0, and 17 (silent, notice, status), retaining one commit before
a later provider refusal beyond the answered-only counts in
Table 7. Controlled refusals exclude 87 flagged executions,
21 controls, and the one perturbed execution without a flag;
the single-service panel’s 42 refusals all concern the multi-
agent surface, leaving 48 answered executions mostly on
tool/API.
Model diagnostics.In LangChain, Sonnet’s first two di-
agnostics were inconclusive because its provider refused a
read; a third, using a ticket read, passed. No Sonnet study
trajectory was refused.
OpenHands task cohort.Fixed offline tests fail on each
base revision and pass on its published fix; production
TABLE 18. CONTROLLED STUDY WITHQWEN,BY FAMILY.
UNAUTHORIZED COMMITS FOLLOW THE ENVIRONMENT’S
INVALIDATION FLAG,WHICH CLEAN CONTROLS NEVER CARRY.
Family
Endpoint
success
Authorized
completion
Unauthorized
commit
Safe non-
completion
Infra.
failure
Browser 89/90 19/90 70/90 1/90 0/90
Tool/state 83/90 18/90 65/90 7/90 0/90
Multi-agent 90/90 18/90 72/90 0/90 0/90
All 262/270 55/270 207/270 8/270 0/270
TABLE 19. SINGLE DESKTOP RESERVATION RUN,IN MS: 200SERIAL
OPERATIONS PER ARM, 10-S RESERVATION,DIRECT ARM FIRST;
ADMISSION FROM SIX LATER ORDER-BALANCED REPETITIONS,SO THE
STAGES DO NOT SUM TO THE COMPLETE PATH.
Direct authorization COMMITGATE
Stage p50 p95 p50 p95
Admission 4.83 5.67 5.09 5.81
Issuance 25.81 35.42 29.72 84.37
Consumption 29.28 44.90 32.60 82.68
Complete path 62.02 89.94 73.01 171.17
publication binds the exact commit and expected target
revision. Each model runs eight direct and eight delegated
trajectories. The 48 of GPT, Fable, and Sonnet contain 51
publication events: 12 authorized production, 27 authorized
staging, and 12 unauthorized production; four unsafe trajec-
tories also publish to staging later, and Table 8 reports their
unauthorized outcome. All these conversations finish, and
fixed tests verify candidate code and applied commits.
Execution sets.Each model has 90 LangGraph executions
through ticket and branch sinks, 18 per defense. Every
defense preserves six authorized effects. Unguarded and
resource-recheck paths apply twelve and nine unauthorized
effects; the three atomic paths apply none. These results hold
for Qwen, Gemma, GPT, and Sonnet, and cell by cell for
Fable’s 48 answered executions. By invalidated fact, Qwen’s
207 unauthorized controlled commits (Table 18) split into
stale grants or premises (105), readiness (51), binding (18),
and eligibility (33), and the 12 of GPT and Fable into
stale grants or premises (4), readiness (6), and binding (2).
No model output in the cross-service panel is repaired or
excluded, and replaying trace-derived certificates through
COMMITGATEchecks compatibility, not an independent
decision.
D.1. Admission and Policy Evaluation
Reservation workloads.Desktop services use an Apple
M1 Pro, macOS, Python 3.14.7, SQLite 3.53.4, and file-
backed W AL databases with synchronous FULL. Three
n2-standard-4VMs (4 vCPU, 16 GB) host client,
approval, and resource services in one zone with the same
versions and chrony; the control collocates services on one
VM. Serial runs balance arm and topology order over three
blocks per topology. Disjoint contention runs 100 measured
bursts of sixteen processes per cell. The shared-target ex-
tension balances arm order, topology, and window rotation
in six blocks in another zone, with its own collocated con-
trol. Desktop contention yields 11,524 completions, 15,090
expiries, and 7,786 version conflicts. Table 19 divides its
single run by stage. Two VMs add 2.37, 2.98, and 2.35 ms
to COMMITGATE’s serial p50 at 10 s, 1 s, and 100 ms.
Local admission microbenchmark.Over 500 decisions
per configuration, median verification grows from 15.417 to
265.105µs for flat certificates with three to 66 claims and
from 15.875 to 266.750µs for chained ones, with 2,123 to
3,435 bytes of traced allocation over 50 decisions, excluding
HTTP, storage, state resolution, and contention.
Mechanism versions.Published code runs unchanged:
LangChain 1.4.4’s approval middleware, OpenHands
SDK 1.47.0 confirmation, LangGraph 1.2.10’s
interrupt, Cedar 4.13.0, CONTINUITY , and
Atomix at61e411be. The Jenkins vendor regression
admits a rebuild after withdrawal in workflow-
cps3990.vd281dd77a_388and refuses it in
3993.v3e20a_37282f8. Both current and restored
approval controls succeed. Production source is unchanged.
Encoding CTA in Cedar.One Cedar 4.13.0 policy [32]
requires every declared slot, trusted issuers, and exact-effect
binding within one candidate; host code checks signatures,
resolves currentness, and selects the first permitted candi-
date. All 30 synthetic cases match COMMITGATE, including
fresh alternatives and a review-slot extension. No sink runs:
atomic enforcement and integration effort are unmeasured.
D.2. Supplementary Checks
LangChain approval path.The eight unprotected unautho-
rized writes follow withdrawal (three cases), policy change,
ticket change (two), an unapproved tool targeting another
ticket, or direct dispatch. The adapter refuses six attempts,
including two pooled attempts after one retry; the sink re-
fuses post-check withdrawal, the unapproved tool’s binding
mismatch, and direct dispatch.
LangGraph runs ten framework cases, three sink cases,
and two concurrency arms: withdrawal outside the graph
leaves an approved append executable; the sink refuses it,
while an earlier checkpoint asks again. It refuses reuse under
another certificate id and permits one concurrent presenta-
tion. With the lock, withdrawal between check and append
waits; without it, append follows withdrawal.
Transport checks.In 24 loopback HTTP executions of
clean, invalidating, and post-preflight cases for ticket and
branch services, unguarded execution leaves four unautho-
rized commits, resource recheck three, and native condi-
tional write and COMMITGATEnone. In a two-path Play-
wright check through system Chrome, unguarded execution
changes the retargeted account while displaying “Change
saved,” and the protected path withholds the effect.
Deterministic studies.Each deterministic case runs once,
without a model. Binding cases present a complete sibling-
effect candidate or another effect’s grant; partial cases
present grant-only and binding-only candidates, and positive
TABLE 20. COMMIT-TIME OBLIGATIONS AND SUPPORTING CASES.
Case Required decision Evidence
Revoked approval, unchanged resource Reject: resource equality does not supply a current grant Cross-service panel
Stale A, complete current B Accept B: divergence of A does not remove all authorization Service and Atomix panels
Missing required evidence Withhold: no complete candidate satisfies the declared policy Service panel; schema-extension test
Revocation after positive preflight Reject at the atomic sink: earlier admission remains provisional Service and Atomix panels
TABLE 21. CASES EXECUTED ON ALL THREE SYSTEMS UNDER ALL
FOUR DEFENSES.
Case Status Property exercised
Clean valid clean completion
Benign concurrent valid a counter no check reads changes
Alternative grant valid one current justification suffices
Stale unrelated valid the same unread counter changes
Invalidating invalid target, version, approval, or path drift
Post-preflight race invalid atomic sink coupling
Forged claim invalid issuer authentication
Missing declared slot invalid required evidence is absent
controls a complete candidate. Amergedcandidate joins
partial candidates for an authorized effect; apooledone
joins current claims from two invalidated candidates. Epoch-
only grants admit foreign grants; omitting candidate names
admits merged and pooled candidates. Signing the effect
id and payload digest into grants refuses all six foreign-
grant candidates, four with the requested target and oper-
ation. Signing candidate identity (22 adapter, 7 evaluator,
59 reservation-path lines) refuses merged and pooled candi-
dates, which unguarded and resource-recheck paths apply;
the approval service refuses reservation issuance from a
merged candidate. Cross-service lookup finds no candidate
for ticket 42 in the binding case, so preflight refuses it. A
reservation issued at tick 10 expires at 12; source revocation
at 11 still permits consumption through 12, while tick 13
and repeat presentation are refused.
The specificity panel crosses three systems, four de-
fenses, two claim scopes, one clean, two invalidating, and
three benign cases: superseding another effect’s approval,
one of two alternatives, or changing unrelated resource state.
Both protected paths complete all nine benign cases with
effect-scoped claims and none with service-wide counters,
refusing all six invalidating cases in both scopes. Whole-
resourceIf-Matchloses the ticket-comment case; this
panel includes no other contract implementation.
Appendix E.
Adapter and Sink Contracts
Authoritative systems.The deterministic services label ef-
fects independently of model output: the browser records
the mutated account and document epoch despite selector
retargeting; the ticket sink resolves version and approval;
the branch sink checks the completed worker’s publication
capability. Table 21 lists cases; Table 20 maps them to
obligations. Defenses start from identical state and evidence;
TABLE 22. CLOSEST PUBLISHED CONTRACTS. R:REFUSED; A:
ACCEPTED; APP:APPLICATION RESPONSIBILITY; –:NOT STATED.
CONTINUITYVERDICTS ARE ALSO EXECUTED;LETTERS REFER TO
§F.
Case [6] [15] [24] [16] g [17] CTA
Grant revoked; resource fixed R R R R R R
Grant for another effect R a R R R R R
Live grant; premise changed – b Ac App R – R
Pooled candidate – b –e – – – R
Surviving alternative A A f – – – A
Post-check revocation – R R R R R
Source revoked in reservation – R c – – – A d
predeclared labels are never supplied to sinks. All three
preflights pass when the monitor’s resolver falsely reports
current evidence; the oracle labels every applied effect unau-
thorized.
Integrating a protected effect.The adapter author fixes
cand its atomic commit operation (Table 2), then assigns
each slot a type, authoritative issuer, and resolver from tool
schemas, approval manifests, or orchestrator state. Missing
slots invalidate candidates, including after policy extension.
Omitted dependencies escape enforcement; needless slots
cause benign aborts. The negative control detects verdict
reuse; shared-policy errors remain undetected. Tests check
derived-grant replay, expiry, wrong effects, and validation
atomic with mutation during races.
Appendix F.
Closest Published Contracts
All 15 CONTINUITY cases, including four con-
trols, match predeclared outcomes at unmodified commit
59cfe609(Table 22). (a) A lease scopes resources and
effect types, without distinguishing same-type effects on
one resource; (b) leases are not combined but carry no
premises [6]. (c) CONTINUITY rechecks source revoca-
tion; a version-7 permit executes on ticket version 8 [15].
(d) A derived grant remains valid until expiry, at most
τ+ 2ϵafter issuance (Theorem 1). (e) Root-grant binding
prevents object mixing across candidates; approval 3’s own
version-7 bundle executes at version 8. (f) The caller selects
one permit per call; the live permit commits once after
the stale permit’s refusal. (g) AID-Guard’s atomic provider
profile; submitted-attempt authorization linearizes before the
provider effect [16]. Applications supply oracles and com-
plete views [6], mediation and provider transactions [15],
and facts outside approval binding [24].
可引用分片 · 81 段
CHK-b321bbdb32cebd0898c246f2
Temporary Authority, Permanent Effects:
Commit-Time Authorization for LLM Agents
Igor Santos-Grueiro
Abstract—An LLM agent often acts on an approval it ob-
served earlier: it reads the approval, prepares the request,
and commits later. If the approval was withdrawn, or covers
a different effect, the service can apply the change and report
success. Seventeen fixed advisories from three deployed agent
products document failures: an approval did not cover the
executed effect, with no intervening change (12), or survived a
change in the facts it depended on (5). We proposecommit-time
authorization(CTA), requiring at least one complete, current
justification for the exact effect at commit: a live grant, current
premises, ready dependencies, an exact-effect binding, and an
eligible path. COMMITGATEselects one complete justifica-
tion. The sink validates it or consumes an expiring, single-
use derived grant atomically with the effect. In a five-model
service study whose prompt states the authorization rule,
timely notice prevented nearly all unauthorized effects for GPT,
Fable, and Sonnet, and fewer for Qwen and Gemma. Without
a signal, all five mostly completed tasks with unauthorized
effects, even when a read could reveal the change; Fable’s
counts use its provider’s answered requests. Protected sinks
enforced the declared policy in LangChain approval flows,
CHK-88294c924580dc033d07bf94
a read could reveal the change; Fable’s
counts use its provider’s answered requests. Protected sinks
enforced the declared policy in LangChain approval flows,
OpenHands coding tasks, services under cloud contention, and
a transaction-runtime integration. The services and runtime
refused effects that lost authority after a positive check and
preserved fresh alternatives. After refusal, GPT, Fable, and
Sonnet on OpenHands mostly published to a separately au-
thorized target. Machine-checked proofs show whole-candidate
selection, trace safety for mediated atomic sinks, and exact
single-use transfer. With honest issuers, unique candidate IDs,
and a premise required by policy, every candidate CTA accepts
in the model carries a live grant given at the current version;
slot-by-slot checks do not ensure this.
1. Introduction
An LLM agent often acts on an approval it observed
earlier. While it plans, chooses tools, or delegates, authority
can change and leave the pending action executable. Sup-
pose an agent prepares a deployment and its only approval
is then revoked. The artifact, target, and specification stay
unchanged. A resource-version check passes, and the service
delivers the artifact against the owner’s policy. The task
succeeds, but the effect lacks authority.
Approvals can also fail to cover what the agent executes.
Seventeen fixed advisories from three deployed products
CHK-41bd3e83e6c1f7286977454d
ask
succeeds, but the effect lacks authority.
Approvals can also fail to cover what the agent executes.
Seventeen fixed advisories from three deployed products
document effects outside an approval’s scope without an
intervening change (12), or approvals that survived changes
such as a rewritten script or tightened policy (5). The fixes
check individual facts, most at execution [1]. LangChain and
the OpenHands SDK also execute approved calls without
rereading approval or external state [2], [3] (§5.1). We also
identified authorization issues and reported them privately.
These cases pose one question: does current evidence au-
thorize the exact effect it is about to apply?
We proposecommit-time authorization(CTA): at least
one complete, current justification must authorize the exact
effect at its atomic commit point. A justification contains
a live grant, currentpremises(facts on which authorization
depends), completed dependencies, a binding between the
executed request and the licensed effect, and permission to
use the chosen execution path. A stale justification does not
remove authority supplied by a valid alternative. Conversely,
combining current claims from different, invalid justifica-
tions cannot create an approval that no owner gave (§3).
These conditions often belong to different owners. An
approval service grants permission, a resource service tracks
CHK-e626978d7890c8424403dd77
create an approval that no owner gave (§3).
These conditions often belong to different owners. An
approval service grants permission, a resource service tracks
versions, and an orchestrator records whether a worker or
branch may proceed. Each owner can supply a current fact
without supplying a complete justification for the effect. The
service must establish that the facts belong together and still
authorize the operation it will perform (§3).
Established mechanisms scope grants and lifetimes [4]–
[6], control tools and untrusted data [7], [8], coordinate
release [9]–[13], and bind approvals or recheck authority
when an effect executes [14]–[17]. Integrating these mecha-
nisms requires the application to identify the exact effect, the
facts on which its approval depends, and the owners trusted
to attest those facts. CTA states which claims must hold
together and where the system must enforce that decision. It
also determines when another complete justification remains
sufficient after one loses validity (§7).
COMMITGATEis an admission monitor placed before a
protectedsink, the component that makes the effect durable.
A trusted adapter obtains signed claims from their owners;
the monitor authenticates them and selects one complete
justification. The sink then validates authority atomically
with the effect. When approval and resource state have
CHK-85cac755433e8877d55e3690
authenticates them and selects one complete
justification. The sink then validates authority atomically
with the effect. When approval and resource state have
different owners, the approval service issues an expiring,
single-use reservation for the exact effect, and the sink
consumes this derived grant with its write (§4).
A native sink can perform all of these checks under
the same contract. COMMITGATEsupplies shared selection
logic for services with different policies: their adapters pro-
arXiv:2607.10487v2 [cs.CR] 31 Oct 2026
vide the required evidence and their sinks apply the decision
atomically. This division lets the evaluator remain the same
when the effect, evidence owners, or sink operation changes
(§5.3).
Machine-checked proofs in Lean establish whole-
candidate selection, safety over traces of mediated atomic
commits, and single-use transfer bound to the exact effect.
With honest issuers, unique candidate identifiers, and a
premise required by policy, an accepted candidate carries
a live grant given at the current version; checking each slot
separately does not ensure this (§3, §4.3).
The behavioral studies follow agents through tasks
whose prompt states the authorization rule. Eighteen service
tasks vary which owner’s fact changes and whether the agent
receives a notice or can query status. Without a signal,
CHK-1293eb16614df0c2455f3b71
s the authorization rule. Eighteen service
tasks vary which owner’s fact changes and whether the agent
receives a notice or can query status. Without a signal,
all five models mostly complete with unauthorized effects,
including changes their read tools reveal; Fable’s counts use
answered requests. Timely notices prevent nearly all such
effects for GPT, Fable, and Sonnet, and fewer for Qwen
and Gemma (§5.2).
The OpenHands tasks follow bug fixes through editing,
testing, commit creation, and publication [3]. Resource-only
publication applies all twelve revoked production writes
from GPT, Fable, and Sonnet, whose code passes the tests.
Protected publication applies none. After eleven of twelve
silent protected revocations, these agents publish to sepa-
rately authorized staging. The release instructions name that
fallback, so the task can continue through an effect with its
own grant (§5.2).
The enforcement studies check whether services apply
the declared policy even when the agent submits an unautho-
rized effect. Protected sinks refuse effects that lose authority
after a positive check and preserve valid alternatives. In
LangChain, the adapter refuses 28 writes in 23 trajectories
whose paired native paths apply them without authority; the
model has no turn between the owner change and execution.
Native sinks enforcing the same contract are equally safe.
CHK-70196700217519c0466bf020
ve paths apply them without authority; the
model has no turn between the owner change and execution.
Native sinks enforcing the same contract are equally safe.
One evaluator serves single-service systems, reservations,
Git, and Atomix (§5.3). Compared with a direct authorizer,
COMMITGATEadds 0.17–0.63 ms to serial admission in
mean p50 and less than 1 ms on average to a complete
47–57 ms path on a desktop and cloud VMs (§5.4).
We make three contributions:
•Authorization contract.CTA extends the requirement
for one complete lease [6] with premise, dependency,
and eligibility claims from their owners, and requires
one complete, coherent justification at the atomic sink
(§3).
•Authorization measurement.We ground the problem
in advisories and frameworks, report authorization be-
side success inτ-bench, OpenHands, and LangGraph,
and measure five models’ responses to notices and
status tools (§5.1, §5.2).
•Enforcement and transfer.We integrate COMMIT-
GATEwith unmodified LangChain, reuse its evaluator
across sinks, measure cross-service authority transfer,
and prove the model’s guarantees (§4, §5.3, §5.4).
artifact digestd
approvala 3
prepare
deployment
approval
revoked
artifact staysd
resource check
still passes
deployment
applied
with revoked grant
target and specification
unchanged
endpoint succeeds
CTA does not hold
Figure 1. Revocation with an unchanged resource.
CHK-feb22609049ef9c7d557fab0
es
deployment
applied
with revoked grant
target and specification
unchanged
endpoint succeeds
CTA does not hold
Figure 1. Revocation with an unchanged resource. The artifact, target,
and specification remain unchanged, so the resource check succeeds after
revocation. The deployment succeeds without a live grant.
2. Problem and Threat Model
2.1. Effects, Evidence, and State Owners
Adurable effectchanges externally consequential state:
it updates an account, sends a message, writes a ticket or
repository, deploys an artifact, or changes shared agent state.
Itscommit boundaryis the last point where the system can
withhold it. Aprotected sinkchecks authorization atomically
with that transition. In Figure 1, the approval service revokes
a3, the deployment’s only grant. The artifact owner keeps
the same digest, target, and specification, so the resource-
version check still passes. The two owners’ facts change
independently.
An effect can lack authority even when every presented
claim is current. Aneffect-binding mismatchoccurs when a
request targets ticket 99 but its only complete justification
authorizes ticket 42. The grant can remain live and both
tickets unchanged. Its target binding still excludes ticket 99.
Twelve advisories in §5.1 exhibit this mismatch between an
approval’s scope and the executed effect.
Evidence poolingcombines claims from different justi-
fications.
CHK-94425a381898c28a6348f5fd
e advisories in §5.1 exhibit this mismatch between an
approval’s scope and the executed effect.
Evidence poolingcombines claims from different justi-
fications. Suppose approval 3 was given at ticket version 7.
The ticket advances to version 8, approval 4 is given for that
version and later revoked, and approval 3 remains live. A
check that accepts a live grant and a current premise inde-
pendently can combine approval 3’s grant with approval 4’s
version-8 premise. Both claims are authentic and current,
yet no live approval covers the change at version 8. CTA
rejects the combination because its claims name different
candidates. Approval 3 has a stale premise; approval 4 has
a revoked grant (Propositions 1 and 2).
Authority can also be lost after a valid observation.
Committing afterapproval loss, as in Figure 1, or after an
approved script is rewritten or a symlink retargeted, is a
time-of-check to time-of-use (TOCTOU) failure [18]. CTA
requires a complete, current justification in each case; a valid
alternative remains sufficient (§3).
agent-derived state
effect + identifiers
typed sink adapter
policy + certificates
COMMITGATE
authenticate + select
protected sink
validate + mutate atomically
authoritative state
version, path, use record
issuers trusted by slot
claims or derived grant
trusted computing base
Figure 2. Enforcement path. Model output cannot self-issue evidence.
CHK-a4a61969dbcb4efb53b1e23d
on, path, use record
issuers trusted by slot
claims or derived grant
trusted computing base
Figure 2. Enforcement path. Model output cannot self-issue evidence. COMMITGATEauthenticates and selects a candidate; the sink validates current
authority in the operation that makes the effect durable.
2.2. Threat Model
Adversary and concurrent change.The victim is the
user or service owner whose policy constrains the effect.
The adversary controls page, tool, or worker content that
can induce the agent to propose another effect or present
its candidates. It may delay or reorder a workflow after
the agent observes a valid justification. A user, service, or
concurrent process may revoke approval, change a resource,
retarget an object, or cancel a branch. The adversary benefits
if the action remains executable. Enforcement must also
cover benign concurrency. Pooling requires no forgery: a
component can assemble current claims slot by slot, includ-
ing claims carried through channels the agent influences.
Trusted components.The trusted computing base com-
prises the sink, COMMITGATE, the adapter policy, and the
authoritative issuers of grants, versions, identities, barri-
ers, and branch epochs. The agent, prompts, page text,
tool responses, and worker payloads are untrusted. Trusted
adapters or services obtain claims directly from their issuers.
CHK-07c8a09d3f85d158bd436e64
ochs. The agent, prompts, page text,
tool responses, and worker payloads are untrusted. Trusted
adapters or services obtain claims directly from their issuers.
The agent can carry candidate identifiers but cannot obtain
or alter claims. Issuers must use unique candidate identifiers
and issue claims honestly: each signs at most one claim per
candidate and slot, and each candidate’s premise names the
version current when its grant was given (Proposition 2).
Candidate assemblers must obtain that version from the
grant record. Signatures authenticate claims. The policy
must declare every relevant fact, every protected effect must
pass through the sink, and the sink must enforce the decision
atomically.
Security goal.A protected effect requires at least one
complete, valid candidate at the sink’s atomic commit point;
missing or unavailable evidence can cause a safe abort.
With separate approval and resource owners, a bounded
reservation supplies the grant (§4.2).
Out of scope.The guarantee excludes:
•compromised trusted components, including issuers
that sign dishonestly or reuse candidate identifiers;
•facts the policy omits and effects that bypass the sink;
•completion, recovery, or selection among authorized
effects; delay, revocation, contention, or issuer outages
may abort effects or let reservations expire unused;
•information already disclosed; disclosure at dispatch
CHK-098a41ece5b977ae03f2d23c
s; delay, revocation, contention, or issuer outages
may abort effects or let reservations expire unused;
•information already disclosed; disclosure at dispatch
requires mediation at that boundary [19].
TABLE 1. TYPED EVIDENCE AT A PROTECTED COMMIT BOUNDARY.
Slot Examples Boundary test
Grant approval, consent,
capability, policy
release
issuer trusted for this slot;
live and names the exact
effect
Premise element identity,
version tag, expiry,
worker version
authoritative value matches
the claim
Dependency barrier, predecessor,
callback, worker
completion
dependency is resolved
before commit
Binding effect id, target,
operation, payload
digest
sink request equals the
licensed effect
Eligibility approval epoch, branch
capability, live path
path is not revoked,
canceled, or superseded
3. Commit-Time Authorization (CTA)
3.1. Evidence for One Exact Effect
The protected sink (Figure 2) evaluates a request in
configurationx= (σ,c), whereσis the authoritative state
andc= (id,target,op,digest)is the exact effect presented
for commit. A sink policyΠdeclares which evidence the
class of effect requires. Anevidence slotholds one type of
claim and has a set of trusted issuers, given by the relation
IΠ. Every valid policy requires an authorization grant and an
exact-effect binding, and it assigns issuers only to declared
slots.
Acandidate justificationJ= (g J,PJ,OJ,bJ,eJ),
CHK-34c24bdb98e8073f3fbe93c9
olicy requires an authorization grant and an
exact-effect binding, and it assigns issuers only to declared
slots.
Acandidate justificationJ= (g J,PJ,OJ,bJ,eJ),
orcandidate, contains an authorization grant, operational
premises, dependency obligations, an exact-effect binding,
and path eligibility (Table 1). Each component is a typed
claim or bundle in one policy slot. Acertificateis the
signed object carrying these claims. For example, candi-
dateJ 3 authorizesupdate-ticket-42. Its grant permits
set_statusat approval epoch 3, and its premise names
ticket version 7, at which approval 3 was given. Its binding
names the effect id, target, operation, and digest. Its de-
pendency requires finalized approval; with no separate path
condition,e J3 =⊤. Each service signs its claim together
with the identifier of the candidate for which it was issued.
A policy may use⊤only for an optional premise,
dependency, or eligibility condition.Shape Π(J)requires
every declared slot exactly once,Trusted Π(J)checks the
declared type and authenticates each claim againstI Π, and
Coherent(J)requires every claim to nameJ. A candidate
is valid when all these conditions hold:
ValidΠ(x,J)≡Shape Π(J)∧Trusted Π(J)∧Coherent(J)
∧Live σ(gJ,c)∧Current σ(PJ)
∧Ready σ(OJ)
∧Bound(b J,c)∧Eligible σ(eJ).
(1)
For a setCof alternative candidate justifications carried by
the pending effect,
CHK-ad04a47660050d0a79b01d2d
(J)
∧Live σ(gJ,c)∧Current σ(PJ)
∧Ready σ(OJ)
∧Bound(b J,c)∧Eligible σ(eJ).
(1)
For a setCof alternative candidate justifications carried by
the pending effect,
CTAΠ(x,C)≡∃J∈C.Valid Π(x,J).(2)
One complete valid candidate suffices, even when another
has become stale. As with one complete lease [6], the
same candidate must satisfy every declared slot (∃J∀slot).
Checking that each slot has some current claim permits the
pooling of §2. A CTA candidate combines claims from
different owners, soCoherentrequires each claim to name
its candidate, following the principle that a protocol message
names its context [20]. This ties the premise, dependency,
and path to one grant without requiring the grant issuer to
attest every fact. A grant can instead name the resource
version directly, as in the workload of §5.4.
Authoritative predicates.Trusted components resolve live-
ness, currency, readiness, and eligibility fromσat commit.
The grant issuer attests which effect a grant covers: a grant
is live forconly if it names the whole effect. The binding
issuer attests that the request isc, and the sink ensures thatc
names the object it mutates. A standing rule such as Allow
Always meets the grant clause when its issuer derives a
claim for each exact effect from a recorded scope covering
the operation’s full input. Facts stated by the request, such
CHK-a132f1920b0cbcdc98f726eb
grant clause when its issuer derives a
claim for each exact effect from a recorded scope covering
the operation’s full input. Facts stated by the request, such
as its target, arguments, or approved object, belong to the
binding. External facts assumed by the decision, such as file
content or a path’s resolution, are premises.
LetSelect Π(x,C)return the first valid candidate in the
order the trusted adapter chooses, or⊥when none exists; the
order does not affect safety but determines which candidate
a commit records and, for a consumable grant, consumes.
Lemma 1 (Whole-candidate selection).IfSelect Π(x,C) =
J, thenJ∈C,Valid Π(x,J), and every claim ofJnames
it.
The proof searches the candidate list for a witness to
Equation 2. When all claims were issued and candidate
identifiers are unique, Lean also proves that every claim
ofJcomes fromJ’s own issuance.
3.2. Temporal Authority Divergence
Letx d = (σd,cd)be the configuration when the request
is derived andx c = (σc,cc)the configuration at commit.
A justification that was valid at derivation can lose validity
before commit. We call thistemporal authority divergence:
TDivΠ(xd,xc,C)≡∃J∈C.Valid Π(xd,J)
∧¬Valid Π(xc,J). (3)
The same justification can lose validity because state
changes (σd̸=σ c), the proposed effect changes (c d̸=c c),
or both. If candidate A becomes stale while B still authorizes
CHK-0057f9c8c18849a72a1b7aa2
ation can lose validity because state
changes (σd̸=σ c), the proposed effect changes (c d̸=c c),
or both. If candidate A becomes stale while B still authorizes
the same effect, divergence occurs and CTA holds. Loss of
all commit-time authorization is stronger:
LostCTAΠ(xd,xc,C)≡CTA Π(xd,C)∧¬CTA Π(xc,C).
(4)
Lemma 2 (CTAloss entails temporal divergence).
LostCTAΠ(xd,xc,C)impliesTDiv Π(xd,xc,C); the con-
verse does not hold.
Lean checks the implication and a surviving alternative
that disproves the converse. An effect that never had a valid
justification can also violate CTA without divergence.
3.3. What Earlier Checks Leave Unresolved
Letc t be the effectupdate-ticket-42ofJ 3, let
x0 = (σ 0,ct)be the configuration certified byJ 3, and
letx 1 = (σ 1,ct)differ only because approval 3 has been
superseded; the ticket remains at version 7. Letc 99 instead
target ticket 99 while the authoritative state remainsσ 0, and
letC 3 ={J 3}. Last, letx p = (σp,ct)hold ticket version 8,
live approval 3, and revoked approval 4;J ′
4 is issued for
approval 4 at version 8,C p ={J 3,J′
4}, andJ p isJ 3 with
J′
4’s premise in place of its own.
Proposition 1 (Boundary insufficiency).The executable
model checks
IfMatchσ1(ct,7) =true∧¬CTA Π(x1,C 3),
SelectΠ(x0,C 3) =J 3,
SelectΠ(x1,C 3) =⊥,
TDivΠ((σ0,ct),(σ 0,c 99),C 3),
SelectΠ(xp,Cp) =Select Π(xp,{Jp}) =⊥.
CHK-0101fd2b548eb2bdb247ef50
del checks
IfMatchσ1(ct,7) =true∧¬CTA Π(x1,C 3),
SelectΠ(x0,C 3) =J 3,
SelectΠ(x1,C 3) =⊥,
TDivΠ((σ0,ct),(σ 0,c 99),C 3),
SelectΠ(xp,Cp) =Select Π(xp,{Jp}) =⊥.
The resource check passes after approval is superseded
(line 1), while selection changes fromJ 3 to refusal (lines 2–
3). Changing only the target to ticket 99 also invalidatesJ 3
(line 4). In line 5,J 3 has a stale premise andJ ′
4 a revoked
grant. The pooled candidateJp has authentic, current claims,
and its grant and binding namec t; onlyCoherentrejects it.
Resource equality, prior admission, and individually current
claims therefore do not establish CTA.
An immutable ledgerLrecords the version at which
each grant was given. TheversionedrelationAuthV L(σ,c)
holds when some grant forcis live inσand was given at the
current version ofc’s target. An issuance history ishonest
when each candidate’s premise names the version at which
its grant was given. Aslot-wisecheck omitsCoherentand
checks each slot independently. A policy issoundfor an
authorization relation when every valid candidate satisfies
that relation.
TABLE 2. POLICY MANIFEST:OWNERSHIP AND ENFORCEMENT OF EACH BOUNDARY FIELD.
Contract item Authoritative owner Enforcement consequence
Grant user or policy service authenticate the grant claim and check that it is live and names the whole
effect
CHK-3b8a0a1bedf1f66f764a6a13
item Authoritative owner Enforcement consequence
Grant user or policy service authenticate the grant claim and check that it is live and names the whole
effect
Premises resource owner resolve current versions, document identity, or worker epochs
Binding runtime, resource owner, or
orchestrator
compare effect id, target, operation, and digest with the effect
Dependencies, eligibility approval service or orchestrator resolve worker completion and live branch capability
Atomic operation resource service recheck candidates or consume a derived grant in the write’s lock or
conditional request
Audit record monitor and sink record certificate ids, monitor and sink decisions, and committed target
TABLE 3. ADAPTER OBLIGATIONS AND ATOMIC OPERATIONS.
System Authoritative issuers Exact binding Atomic sink operation
Browser approval service; mediated browser
runtime
document epoch, node/entity identity,
operation, payload digest
validate identity and mutate the bound entity
under the service lock
Tool/API approval service; ticket service ticket id, version, approval epoch,
operation, payload digest
one owner: validate claims; separate owners:
consume a derived reservation with the write
Multi-agent policy service; orchestrator worker and branch epochs, target,
operation, artifact digest
validate branch capability and worker readiness
while consuming the effect
CHK-065e29f52387e975a902f062
y service; orchestrator worker and branch epochs, target,
operation, artifact digest
validate branch capability and worker readiness
while consuming the effect
Proposition 2 (Versioned grants).In the checked model, let
Πrequire a premise, and let every claim ofJcome from
an honest issuance history with unique candidate iden-
tifiers. Then (i)Valid Π(x,J)impliesAuthV L(σ,c), and
(ii)Πis thus sound forAuthV L on issued candidates.
With approval 3 given at version 7 and approval 4 at
version 8, (iii)J p passes the slot-wise check atx p, its
claims come from the honest issuance ofJ 3 andJ′
4 under
distinct identifiers, and¬AuthV L(σp,ct); and (iv) inσ′
p,
which isσ p with approval 4 live,AuthV L(σ′
p,ct)holds,
yetSelect Π((σ′
p,ct),{Jp}) =⊥and selection overJ p
followed byC p returnsJ ′
4.
The slot-wise check is unsound forAuthV L even when
each claim was honestly issued (iii). Both issuance hypothe-
ses matter: reusing an identifier or pairing approval 3’s grant
with a version-8 premise produces a valid candidate for an
unauthorized effect. Coherence can reject a mixed candidate
even when the effect has authority, but selection still accepts
the live grant’s own complete candidate (iv).
4. COMMITGATEDesign
The agent proposes an effect and carries candidate iden-
tifiers through pending actions, worker messages, and staged
writes (Figure 2).CHK-183459fdb38997fe078ae3f2
v).
4. COMMITGATEDesign
The agent proposes an effect and carries candidate iden-
tifiers through pending actions, worker messages, and staged
writes (Figure 2). A trusted adapter supplies the policy and
claims from their owners (Table 1).
4.1. Selection and Atomic Enforcement
Selection.For each candidate, COMMITGATE❶verifies the
schema,❷authenticates claims,❸resolves current state,
and❹checks effect binding. It selects at most one complete
candidate. If none passes, absent declared evidence produces
amissing-evidence abort; complete but stale, mismatched,
unresolved, or ineligible evidence produces aguarded abort.
ProcedureAdmit Π(c,C)
Input:exact effectc; ordered candidate setC; policyΠ
Result:boundary outcome or atomic sink result
1m←(C=∅)// missing evidence seen
2for eachJ∈C, in candidate orderdo
3if¬Shape Π(J)thenm←true;continue
4ˆx←(Resolve Π(J,c),c)
5ifValid Π(ˆx,J)then
6returnSinkCommit Π(c,C,J)
7ifmthen returnMISSING_EVIDENCE
8returnGUARDED_ABORT
Figure 3. Admission algorithm. Lines 1–3 detect missing declared evidence,
lines 2–5 select a complete candidate under Equation 1, and in line 6 the
sink repeats selection overC, or consumes a reservation issued fromJ,
atomically with the effect.
This initial check, orpreflight, remains provisional: state
may change before the sink call (apost-preflight race), or a
reservation may expire or be consumed.
CHK-3d8aa4522c18b078a3a25c77
This initial check, orpreflight, remains provisional: state
may change before the sink call (apost-preflight race), or a
reservation may expire or be consumed.
Atomic enforcement.The sink validates authority atomi-
cally with the effect (Figure 3, line 6). One state owner can
use a lock, compare-and-swap, or native conditional request
(Table 2); adapters bind the object and operation to that
check (Table 3). Safety requires:
Assumption 1 (Evidence integrity).PolicyΠdeclares every
authorization-relevant slot, requires grant and binding
evidence, accepts each claim type only from an issuer
trusted for its slot, and binds the effect the sink executes;
each issuer signs at most one claim per candidate and
slot.
Assumption 2 (Mediation and atomicity).Every protected
effect passes through the sink, and validation or derived-
grant consumption is atomic with the mutation.
WriteS
commit(c,C)
−−−−−−−→Π S′ for a protected commit transi-
tion whose pre-state containsx= (σ,c).
TABLE 4. PRIMARY EVALUATION DESIGN. EACH STUDY HAS ITS OWN EXECUTION UNIT AND SOURCE OF AUTHORIZATION DECISIONS.
Study Executions Authorization decision RQ
Fixed advisories 17 advisories from three agent products vendor advisory text at the primary source RQ1
Originalτ-bench tasks 3 tasks×5 conditions×5 models=75 grant state at each mutation; official scorer RQ1
CHK-11d02b39599057828b3f0dfa
roducts vendor advisory text at the primary source RQ1
Originalτ-bench tasks 3 tasks×5 conditions×5 models=75 grant state at each mutation; official scorer RQ1
Controlled agent study 54 tasks×5 conditions×5 models=1,350 validation flag, shown to the model RQ2
Service-agent study 18 tasks×16 conditions×5 models=1,440 owner records; the oracle reads no model text RQ2
OpenHands coding tasks 2 tasks×4 conditions×2 repetitions×5 models=80 release-owner grant and atomic Git publication RQ2
Authoritative systems 3 systems×8 cases×4 defenses=96 authenticated claims and state at the atomic sink RQ3
Single-service panel 18 executions×5 defenses×5 models=450 claims and state at ticket and branch sinks RQ3
Cross-service panels 5 matched 60-run panels=300 ticket sink, with a separate approval service RQ3
Atomix composition 5 conditions×2 routes×2 configurations=20 atomic SQL sink and independent relational labels RQ3
LangChain approval path scripted 25; model-driven 120, plus 25 paired native
trajectories
owner logs; oracle written without COMMITGATERQ3
Reservation workloads desktop: 7,200 latency, 34,400 contention offers; VMs: 72
serial, 36 disjoint and 72 shared contention cells
owner transactions and client timing RQ4
Proposition 3 (Commit safety).In the checked model,
S
commit(c,C)
−−−−−−−→Π S′ =⇒ ∃J∈C.Valid Π(x,J).
The sink must find a valid candidate in its pre-state;
CHK-5e37f244fd4b36844583becf
RQ4
Proposition 3 (Commit safety).In the checked model,
S
commit(c,C)
−−−−−−−→Π S′ =⇒ ∃J∈C.Valid Π(x,J).
The sink must find a valid candidate in its pre-state;
preflight alone is insufficient. Theorem 2 extends this result
to traces.
Our three authoritative sinks repeat selection under their
commit lock. The Atomix SQLite sink revalidates the se-
lected candidate in its write transaction. The Git sink checks
the grant ref and the target’s old value in one ref transaction;
it relies on COMMITGATEfor shape, authentication, coher-
ence, and binding, which do not depend on state. When a
sink delegates these checks, COMMITGATEis necessary for
safety. A sink that performs them all itself gains candidate
ordering, diagnosis of missing or stale evidence, and early
refusal from the monitor.
4.2. Cross-Service Authority Transfer
A local write cannot keep another service’s approval
observation current. Anexact-effect reservationqtransfers
bounded authority to the resource sink. The approval service
checks the source candidateJselected by COMMITGATE,
then issuesqas a derived grant. It bindsqtoJ’s grant, policy
version, exact effectc, resource version, expiryτ, and a fresh
single-use identifier (nonce)n. The sink authenticates and
consumesqatomically with the mutation.
The checked model gives the approval service and sink
separate states and clocks.Tied issuancerequires a premise
CHK-77e3d52ccaa36b7fa3c7c8e3
tes and
consumesqatomically with the mutation.
The checked model gives the approval service and sink
separate states and clocks.Tied issuancerequires a premise
slot and takes the reservation’s resource version fromJ’s
premise and its policy version from the source policy. Write
q=IssueT(A,J,c,n,τ)for issuance in approval stateA
with worldσA, andConsume(S,q,c ′) =S′ for consumption
in sink stateS.
Theorem 1 (Tied reservation).In the checked model, letq=
IssueT(A,J,c,n,τ). Then (i)Valid Π((σA,c),J), andq
namesJ’s grant,c, andn. If alsoConsume(S,q,c ′) =
S′, then (ii)c ′ =c, and every later consumption with
noncenis denied; (iii) the target and version ofSare
those ofJ’s premise, andSaccepts the source policy’s
version; and (iv) if each clock is withinϵof a common
time, consumption occurs at mostτ+ 2ϵafter issuance.
Consumption satisfies CTA under a derived policy:q
supplies the grant, and the sink checks the premise and
binding. Source clauses may have become stale by up to
τ+2ϵ, analogous to weak stale-safety [5]. Like a lease [21],
qcan survive source revocation until expiry, as a Lean
trace demonstrates. Immediate revocation requires revocable
reservations or a coordinated commit. Dependencies and
path eligibility are checked at issuance; their later loss does
not revokeq. If the resource returns to an earlier version
number, the nonce still prevents a second use.
CHK-363690d3450968de4fd7460d
bility are checked at issuance; their later loss does
not revokeq. If the resource returns to an earlier version
number, the nonce still prevents a second use.
Our two cross-service prototypes provide this derived-
policy guarantee. Neither meets the honest-issuance hy-
pothesis of Proposition 2 and the issued-candidate part of
Theorem 2. In the cross-service panels, the premise names
the version observed by the agent, which the runs fix at
the approval’s version. The reservation workloads (Table 4)
instead name the version in the grant. That implementa-
tion checks validity and expiry under the sink’s write lock
and persists nonce consumption with the mutation. It uses
a monotonic clock on one host and chrony-synchronized
clocks across two VMs.
4.3. Machine-Checked Model and Proofs
Lean 4 [22] checks the model and proofs (§C). Under a
fixed policyΠ, the environment may revoke grants, advance
versions, cancel paths, withdraw dependencies, or replace
the world between sink steps. The protected apply step re-
ceives the presented candidates and reruns selection against
the current world in the same indivisible step, recording the
worldσ r, effectc r, candidatesC r, and selected candidate.
Theorem 2 (Trace commit safety).In the checked model,
run a trace from a state with an empty commit log in
which no write bypasses the sink and every commit
is one atomic step.
CHK-130dba67951ee5b50eab471f
commit safety).In the checked model,
run a trace from a state with an empty commit log in
which no write bypasses the sink and every commit
is one atomic step. Then every commit recordrin
the resulting log satisfiesCTA Π((σr,cr),Cr), and its
recorded candidate isSelect Π((σr,cr),Cr). IfΠis sound
forAuth, thenAuth(σ r,cr)for every suchr. IfΠ
requires a premise and every presented candidate comes
from an honest issuance history with unique identifiers,
thenAuthV L(σr,cr)for every suchr.
The last part requires soundness on issued candidates
(Proposition 2). The ticket policy is unsound over arbitrary
certificates: a reused identifier can make a pooled candidate
valid. A trace presentingJ p andC p inσ p meets the theo-
rem’s hypotheses, and the sink applies nothing.
Counterexamples establish the role of the hypotheses.
Applying an earlier selection after revocation, or writing
outside the sink, permits a commit without CTA. An in-
complete policy permits a forbidden effect even at an atomic
sink. Conversely, when approval 3 is revoked and approval 4
remains live, a sink checking only the forwarded candidate
refuses, while a sink that repeats selection commits. The
selecting sink commits whenever CTA holds at that step.
Applications requiring single use must declare a consum-
able source grant; CTA itself does not consume source
grants [23], [24].
CHK-7a3f3c7fcc268e711f5dbf35
never CTA holds at that step.
Applications requiring single use must declare a consum-
able source grant; CTA itself does not consume source
grants [23], [24].
Scope of the proofs.The proofs assume mediation, atom-
icity, policy soundness, and clock bounds. For issued can-
didates, they also assume honest issuers, unique identifiers,
and claim provenance, which represents signature unforge-
ability. The grant ledger is a parameter, andAuthV L covers
grant liveness and version currency only. The definitions
build in one claim per declared slot, slot-scoped issuer
trust, authenticity as a flag, indivisible sink steps, and a
nonce record that only grows. Outside the model lie policy
completeness for other relations, refinement by the Python
services, nonce-record retention, crash recovery, and policy
changes.
5. Evaluation
The evaluation asks four questions: do approvals and
task success imply authorization (RQ1); how do agents
respond to changed authority (RQ2); which checks enforce
it, and can one evaluator serve different policies (RQ3);
and what does cross-service transfer cost under expiry and
contention (RQ4)? Table 4 identifies the execution units and
sources of authorization decisions.
Outcomes and protocol.Each execution records task suc-
cess and authorization separately. Anauthorized comple-
tionsucceeds with CTA; anunauthorized commitapplies
an effect without it.
CHK-4fa5f3ad69da979b1de070df
ch execution records task suc-
cess and authorization separately. Anauthorized comple-
tionsucceeds with CTA; anunauthorized commitapplies
an effect without it. Withholding the effect yields asafe
non-completion, or amissing-evidence abortwhen declared
evidence is absent. An uninterpretable endpoint or decision
is aninfrastructure failure. Counts retain failures and mal-
formed model output; operational studies distinguish offers
from bursts. Deterministic cases run once per defense from
fresh state and exact-effect evidence, with interventions after
request derivation or between preflight and the sink call.
Cases and expected outcomes for the LangChain, CON-
TINUITY , and shared-target extensions were specified and
hashed before execution.
Systems and models.Every model study uses Qwen2.5-
7B-Instruct (Qwen), served locally, and Gemma 4 31B
(Gemma), hosted, both at temperature zero; and GPT-5.6
TABLE 5. FIXED ADVISORIES IN WHICH AN APPROVAL DID NOT COVER
THE EXECUTED EFFECT;IN THE FIRST FIVE,SOMETHING CHANGED IN
BETWEEN. IDS:FIRST BLOCK OF THEGHSAIDENTIFIER. CL.:THE
CTACLAUSE THAT THE EXECUTED EFFECT ESCAPED(GGRANT, P
PREMISE, BBINDING).
Advisory Approved Executed Cl.
Cursor 24mc MCP server entry its command, edited later B
OpenClaw 8g75sh ./script.shrewritten script content P
OpenClaw q399 a command another binary on a
changedPATH
P
CHK-1bbd3eaad6858da05b342458
mc MCP server entry its command, edited later B
OpenClaw 8g75sh ./script.shrewritten script content P
OpenClaw q399 a command another binary on a
changedPATH
P
OpenClaw mwcg a working directory the retargeted symlink P
OpenClaw wj55 a queued node action it, after policy tightening G
Cursor r22h a command shown its hidden arguments B
OpenClaw h3f9 allowlisted command a different argument vector B
OpenClaw hwpq a displayed command another binary B
OpenClaw 74gc one exact command same binary, other
arguments
B
OpenClaw 6j27 a wrapped command another inner command B
OpenClaw 3mq7 a command in one
directory
it, in another directory B
OpenClaw 7jfq a file transfer it, on another node B
OpenClaw 6x2m a run on one node the run on another node B
OpenClaw 6rcp the displayed
command
arguments the display
omitted
B
OpenClaw hjvp a request it, with a changed
environment
B
Claude Code pq7j a plugin at a pinned
commit
a same-named branch tip B
Claude Code q5hj a trusted folder another folder’s hooks B
Sol (GPT), Claude Fable 5 (Fable), and Claude Sonnet 5.5
(Sonnet), accessed through their providers’ APIs at medium
reasoning effort. All passed a format diagnostic tailored to
the study.
Anthropic’s API refused 109 of Fable’s 270 controlled
executions, 42 of 90 single-service executions, and 107 of
288 service trajectories under its cyber category, which also
covers benign security work [25].
CHK-0a4b059bb4f4b8b3ec0232ab
olled
executions, 42 of 90 single-service executions, and 107 of
288 service trajectories under its cyber category, which also
covers benign security work [25]. It refused none elsewhere,
and no Sonnet study trajectory was refused. Refusals varied
by task and sometimes followed a protected refusal. Tables
mark Fable’s answered-only counts; assigned recovery co-
horts retain provider refusals (§D).
5.1. RQ1: Do Approvals and Success Imply Autho-
rization?
Fixed advisories.Seventeen advisories meet our rules, fixed
before reading (Table 5): the vendor advisory or CVE record
must name a fixed version, an approval, allowlist entry,
or operator policy, and a durable effect outside its scope.
The rules exclude command-parsing errors, forged or self-
granted approvals, and effects executed without an approval.
Four further advisories admit a contestable reading and
are excluded. Twelve included cases require no intervening
change: the product executes an effect beyond what the
approval names, displays, or records. In five, the approval
survives a change to a script,PATH, symlink, configuration
entry, or policy. Vendors assign CWE-367 to four of these
five and none of the twelve. Each fix checks one fact, most
TABLE 6. ORIGINALτ-BENCH TASKS:OFFICIAL
SUCCESSES/UNAUTHORIZED EFFECTS OF THREE TRAJECTORIES PER
CONDITION AND ACTING MODEL. –: QWEN NEVER QUERIED STATUS,
CHK-5f16ad570adabe7526d54e25
ost
TABLE 6. ORIGINALτ-BENCH TASKS:OFFICIAL
SUCCESSES/UNAUTHORIZED EFFECTS OF THREE TRAJECTORIES PER
CONDITION AND ACTING MODEL. –: QWEN NEVER QUERIED STATUS,
SO THE REVOCATION NEVER REACHED IT.
Condition Qwen Gemma GPT Fable Sonnet
Clean, unprotected 0/0 3/0 3/0 2/0 3/0
Clean, protected 1/0 3/0 3/0 3/0 3/0
Late revocation, unprotected 1/1 3/3 3/3 3/3 3/3
Late revocation, protected 0/0 0/0 0/0 0/0 0/0
Visible revocation, unprotected – 0/0 0/0 0/0 0/0
at execution (§D) [1]. A Jenkins Pipeline regression also
rebuilt an approved script after revocation [26].
Approval in agent frameworks.LangChain’s human-in-
the-loop middleware (1.4.4) matchesapproverecords to
pending calls by position; OpenHands SDK (1.47.0) exe-
cutes every pending action once confirmed [2], [3]. Neither
rereads approval policy or external state when the tool
runs. OpenAI Agents SDK (0.23.1) looks up an execution-
time decision bound to the call identifier and argument
fingerprint [27]. Claude Code documents a recheck of path
resolution when opening a file [28]. Each addresses one
clause on a particular tool path. Codex’s documentation
does not state what a one-time approval binds [29]. During
this analysis, we identified authorization issues and reported
them privately to the relevant maintainers.
Utility scoring.Three originalτ-bench [30] tasks—address
CHK-37ec84babca6404bde8f1c5e
analysis, we identified authorization issues and reported
them privately to the relevant maintainers.
Utility scoring.Three originalτ-bench [30] tasks—address
change, return, and cancellation—retain their tools, conver-
sation logic, and official scorer. Each model acts, with GPT
simulating the customer. We add a revocable account-grant
policy outside the retail database and a status tool.Late revo-
cationoccurs immediately before the first mutation;visible
revocationoccurs at the first status query, which returns a
notice. Protected dispatch checks the grant atomically with
the mutation.
All three unprotected late-revocation trajectories of
Gemma, GPT, Fable, and Sonnet apply unauthorized effects
that the official scorer credits in full (Table 6). Qwen rarely
completes a clean task; it applies one revoked change, also
credited. The scorer compares only the database, so these
successes receive the same credit as authorized ones. Pro-
tected dispatch blocks every revoked effect by construction.
Every model that receives the visible notice withholds the
change.
5.2. RQ2: How Do Agents Respond When Author-
ity Changes?
Owner changes during a task.The service study tests
whether agents notice changed authority and whether a
notice or status tool changes their actions (Table 7). Eighteen
tasks map the controlled catalog to durable writes on local
CHK-deb44f2ec61a5bceb454e5a7
ice changed authority and whether a
notice or status tool changes their actions (Table 7). Eighteen
tasks map the controlled catalog to durable writes on local
services, with two tasks per workflow family and kind of
changed fact. A LangGraph agent reads, prepares, and writes
through standard tool calls. Its system prompt permits a
change only while approval and the conditions under which
it was given still hold.
TABLE 7. SERVICE-AGENT STUDY,UNPROTECTED ARM:
UNAUTHORIZED COMPLETIONS OF36TRAJECTORIES WITH AN OWNER
CHANGE(WILSON INTERVALS IN§D); Q:STATUS QUERIES AFTER IT;
PAIRS:SILENT THEN NOTICE,ONnPAIRS QUALIFYING UNDER A RULE
FIXED BEFORE THE RUNS; CLEAN:COMPLETIONS OF72. FABLE:
ANSWERED TRAJECTORIES.
Model Silent Notice Status Q PairsnClean
Qwen 26 15 26 0 14→3 22 55
Gemma 34 10 32 6 32→8 32 70
GPT 25 1 2 34 17→0 20 72
Fable 17/22 0/23 17/27 13/27 15→0 19 46/46
Sonnet 30 0 22 12 29→0 34 72
When the first preparation or write returns, the owner
withdraws approval or changes a premise version, readiness,
page-element binding, or run or branch state. The agent
receives no signal (silent), receives a factual notice with
the preparation result (notice), or has a status tool available
throughout (status). Each task runs clean with and without
the status tool, then under two changes with each signal,
on an unprotected path and a protected path that revalidates
CHK-69d5220c5db5cf9f37ed0e16
). Each task runs clean with and without
the status tool, then under two changes with each signal,
on an unprotected path and a protected path that revalidates
under its lock: 288 trajectories per model. An oracle reads
only owner and sink logs to label each applied effect at its
commit instant.
What agents commit after a change.Without a signal, ev-
ery model mostly completes through an unauthorized effect
(Table 7; Fable counts answered trajectories). Read and wait
tools reveal premise, readiness, and binding changes. Of the
14 changes these tools can reveal, unauthorized completions
occur in 11 (Qwen), 13 (Gemma), 8 (GPT), 9 (Sonnet), and
6 of 11 answered cases (Fable). The tools cannot reveal grant
or path changes, after which completion is unauthorized by
construction.
The notice condition leaves at most one unautho-
rized completion for GPT, Fable, and Sonnet, and reduces
Gemma’s from 34 to 10. Twelve of Qwen’s 15 unauthorized
completions issue the write together with preparation, before
a notice can arrive. A rule fixed before execution selects
matched pairs with the same task and change, identical
responses before the change, and a notice before any write
reaches the service. Unauthorized completion falls for every
model on these pairs (exact McNemar tests,p<0.004). The
decrease also holds when grouped by task, accounting for
CHK-55597c9cbaa3731c7fbac1d2
rvice. Unauthorized completion falls for every
model on these pairs (exact McNemar tests,p<0.004). The
decrease also holds when grouped by task, accounting for
dependence between pairs (sign tests,p≤0.039; §D).
With a status tool, GPT queries after the change in 34/36
trajectories and its unauthorized completions fall from 25 to
2. Sonnet’s fall from 30 to 22. The remaining models query
in at most half of their trajectories and change little. Every
model except Qwen completes nearly all clean trajectories,
and the protected sink refuses none of those clean writes.
The protected path has no unauthorized effect by con-
struction: sink and oracle apply the same rule. Of 108 pro-
tected change trajectories, 42 permit recovery by renewing a
premise, completing a dependency, or correcting a binding.
The other 66 withdraw grant or path authority without
replacement. Authorized recovery occurs in 9 (Qwen), 27
(Gemma), 30 (GPT), 16 (Sonnet), and 29 (Fable) of the 42
OpenHands agent Release service
Tests its fix commit; requests production preparation Reads live production approval
Intervention: revokes approval before the response
Receives the earlier live approval observation Returns the request and earlier live observation
Requests publication of the same commit to production Admission refuses:approval_revoked; no effect
CHK-fbff218f223e6eba7b09116a
bservation Returns the request and earlier live observation
Requests publication of the same commit to production Admission refuses:approval_revoked; no effect
Queries current status Production approval revoked; staging grant live
Prepares and publishes the commit to staging Publishes to staging under its separate grant
Figure 4. Recorded OpenHands recovery under silent revocation (top to bottom). Preparation returns an approval observation read before revocation. A later
generation requests production publication, which admission refuses. The agent then publishes to staging under a separate grant, as the release instructions
direct. Production remains unchanged.
TABLE 8. OPENHANDS TRAJECTORIES,FOUR PER MODEL AND
CONDITION. P/S:AUTHORIZED PRODUCTION/STAGING; W:REFUSAL
WITHOUT PUBLICATION; U:UNAUTHORIZED PRODUCTION
PUBLICATION; X:NO PUBLICATION AFTER AN AGENT ERROR,THE
REQUEST LIMIT,OR FAILED VERIFICATION.
Condition Qwen Gemma GPT Fable Sonnet
Clean, protected 4X 1P/3X 4P 4P 4P
Silent revocation, protected 4X 1S/3X 3S/1W 4S 4S
Visible revocation, protected 4X 4X 4S 4S 4S
Silent revocation, resource only 4X 4X 4U 4U 4U
assigned cases. Fable’s denominator retains its 13 provider
refusals (§D). The recovery counts measure whether an
agent finds a permitted way forward after the change; the
66 terminal cases instead require it to stop.
CHK-a4b049599fa626eb7427ab0d
r
refusals (§D). The recovery counts measure whether an
agent finds a permitted way forward after the change; the
66 terminal cases instead require it to stop.
OpenHands coding tasks.Two tasks fixing historical Re-
quests bugs follow the agent through editing, testing, com-
mitting, and publication (Table 8). The agent runs on the
unmodified OpenHands SDK. Our release service owns
production and staging grants and a bare Git repository
outside the agent’s sandbox. Protected publication uses
COMMITGATEand a Git ref transaction that checks the
grant revision; resource-only publication omits that grant
check.
Each model executes both tasks twice under four con-
ditions:❶clean,❷silent revocation after approval is read,
❸visible revocation at the same point, and❹silent revo-
cation with only resource consistency enforced. The second
task uses OpenHands delegation. Release instructions name
a status command and direct the agent to separately ap-
proved staging if production approval is lost. Staging is a
different effect whose grant cannot authorize production.
Publication and recovery.For GPT, Fable, and Sonnet,
resource-only publication applies all 12 revoked production
writes, as expected without a grant check. Protected pub-
lication permits all 12 clean writes and no revoked write.
After silent protected revocation, these agents publish to
CHK-199b0563a76dc04a84da801e
ted without a grant check. Protected pub-
lication permits all 12 clean writes and no revoked write.
After silent protected revocation, these agents publish to
staging in 11 trajectories and stop in one (Figure 4). None
queries status before the first publication attempt. Every
candidate and applied commit from these models passes
the tests, including the unauthorized publications. Qwen and
TABLE 9. CONTROLLED STUDY:EXECUTIONS THE MODEL COMMITS;
EACH COMMITTED FLAGGED ONE IS UNAUTHORIZED. FABLE’S
EXCLUDE87FLAGGED AND21CONTROL EXECUTIONS ITS PROVIDER
REFUSED.
Model
Flagged executions
committed
Clean controls
committed
Qwen 207/215 54/54
Gemma 0/215 25/54
GPT 4/215 0/54
Fable 8/128 26/33
Sonnet 0/215 22/54
Gemma publish in 2 of 32 trajectories; 23 end in an agent
error, including 22 that reach the execution limit. Their
incomplete workflows provide little evidence about recovery
after refusal.
Stale records shown to the model.A controlled study iso-
lates a narrower decision: commit or abort after an explicit
invalidation flag, with no opportunity to revalidate. It runs
54 synthetic browser, tool/state, and multi-agent tasks in
LangGraph, once clean and under four perturbations. The
goal and payload shape stay fixed while expiry, version
advance, retargeting, reordering, a stale cached view, or
branch cancellation invalidates a required fact (§D). Before
CHK-e2dbc58e61539b95a898ed90
d shape stay fixed while expiry, version
advance, retargeting, reordering, a stale cached view, or
branch cancellation invalidates a required fact (§D). Before
its final generation, the model receives the environment’s
validation result and returnssafe_commitorabort. The
environment flags 215 of 216 perturbed executions.
Qwen commits 207 flagged executions (Table 9); its
endpoint success of 262/270 therefore exceeds authorized
completion of 55/270. The other models rarely commit
flagged records but also abort harmless controls. GPT aborts
all 54 controls, citing revalidation that the study does not
permit. These results measure decisions under the restricted
interface, leaving recovery during a task untested.
5.3. RQ3: Which Checks Enforce Authorization?
Checks under one owner.Three deterministic systems
own browser, ticket, and branch-epoch state (Table 3); their
issuers sign grants and validity claims (§E). Each runs four
authorized and four unauthorized cases from identical state
TABLE 10. DEFENSE RESULTS OVER THREE AUTHORITATIVE SYSTEMS,THE SAME WHETHER PROTECTED PATHS CHECK GRANTS BY EPOCH OR BY
THE FULL PREDICATE OFEQUATION1. A/U/S/M:AUTHORIZED COMPLETION,UNAUTHORIZED COMMIT,SAFE NON-COMPLETION,
MISSING-EVIDENCE ABORT.
Case Expected Unguarded Recheck
Native conditional
sink
COMMITGATE
+same sink
Clean authorized 3A 3A 3A 3A
Benign concurrent authorized 3A 3A 3A 3A
CHK-e8c117ba619206686fb6dee1
ENCE ABORT.
Case Expected Unguarded Recheck
Native conditional
sink
COMMITGATE
+same sink
Clean authorized 3A 3A 3A 3A
Benign concurrent authorized 3A 3A 3A 3A
Alternative grant authorized 3A 3A 3A 3A
Stale unrelated authorized 3A 3A 3A 3A
Direct invalidation unauthorized 3U 1U/2S 3S 3S
Post-preflight race unauthorized 3U 3U 3S 3S
Forged claim unauthorized 3U 3U 3S 3S
Missing declared slot unauthorized 3U 2U/1S 3S 3M
All 24 per defense — 12A/12U 12A/9U/3S 12A/12S 12A/9S/3M
TABLE 11. CROSS-SERVICE RESULTS: 20CASE–DEFENSE CELLS,EACH WITH THE SAME OUTCOME IN ALL15EXECUTIONS(THREE PER MODEL),
ALSO WHEN GRANTS ARE CHECKED BY THE FULL PREDICATE OFEQUATION1. A/U/S:AUTHORIZED COMPLETION,UNAUTHORIZED COMMIT,SAFE
NON-COMPLETION.
Case UnguardedIf-MatchClient recheck
Non-atomic
staged recheck COMMITGATE+reservation
Clean A A A A A
Approval-only invalidation U U S S S
Post-preflight race U U U U S
Fresh alternative grant A A A A A
under four defenses:❶unguarded execution,❷a final-
resource recheck,❸a native conditional sink checking the
full contract, and❹COMMITGATEfollowed by that sink.
Expected outcomes are fixed beforehand; monitor and sink
decide separately.
Across the 96 executions, both protected paths reject
every unauthorized commit and preserve all 12 authorized
cases per defense (Table 10). The resource recheck stops
two invalidating cases and one missing-slot case, leaving
CHK-87b7c45ed9fef989781ff553
orized commit and preserve all 12 authorized
cases per defense (Table 10). The resource recheck stops
two invalidating cases and one missing-slot case, leaving
nine unauthorized commits: an ineligible branch, forged
or incomplete evidence, and every post-preflight race. The
protected sinks reject those races under their lock despite
positive preflight decisions. For missing evidence, COMMIT-
GATEalso identifies the absent slot.
Separate approval and resource owners.A four-node
LangGraph workflow queries approval and ticket services,
asks a model to derive tool arguments, and sends them to
the ticket sink. Each model generates the pending action
three times in each of 20 case–defense cells. The environ-
ment then changes approval while ticket version 7, target,
operation, and payload remain fixed. All 300 requests reach
the sink, with the same outcome in every execution of each
cell (Table 11).
If-Match[31] checks only the resource version atom-
ically, permitting both approval-only invalidation and post-
preflight races. Client and staged rechecks read both services
without coordination: they reject grants already superseded
but permit those revoked afterward. On the reservation path,
COMMITGATErefuses superseded grants at preflight, and
the approval service refuses issuance after later revocation.
Every defense commits the clean case and the fresh alter-
CHK-4d3bbf58e7b8c00eae3d7ace
ses superseded grants at preflight, and
the approval service refuses issuance after later revocation.
Every defense commits the clean case and the fresh alter-
native, preserving the effect authorized by the latter.
LangChain approval middleware.The adapter uses
LangChain 1.4.4’s documentedwrap_tool_callhook
to check evidence before tool execution. A ticket service
in a separate process checks it again in its write transac-
tion. LangChain’s human-in-the-loop middleware runs un-
changed. Twelve scripted cases run once per arm, plus one
control (25 executions); an oracle labels writes from owner
logs alone. Native execution applies all 14 writes, includ-
ing eight without authority. Protected execution refuses six
attempts before the tool and three at the sink, including a
withdrawal after the first check (§D.2).
Every write covered by a current exact approval applies,
including a reviewer’s edited call and a second approver’s
approval after the first withdraws. Oracle and sink agree
on every attempt. A constructed case pools two approvals’
current claims as in §2. The adapter rejects the differing
candidate identifiers; the evaluator with that check removed
applies the effect. The integration adds 187 lines, with
coherence checked by a 7-line evaluator subclass.
Models choosing tools.Five models use LangChain’s
create_agentto choose tools for five ticket tasks under
CHK-fdc5230380822d8dc517b9ce
ith
coherence checked by a 7-line evaluator subclass.
Models choosing tools.Five models use LangChain’s
create_agentto choose tools for five ticket tasks under
scripted approver and owner events (24 trajectories per
model). The adapter and sink mediate all 131 attempted
writes, including a tool outside the approval configuration.
They apply all 62 writes with a current exact approval and
refuse the other 69. After a refusal for which authorized
recovery is possible, Qwen repeats the write and completes
in three of five cases. Each other model reads first in five of
six cases and completes in four or five. Under the declared
policy, which binds approval to the whole resource version,
changing an unread field causes four Qwen refusals and
three for each other model.
A paired extension executes five readable owner-change
cases natively for each model: 25 trajectories, of which 23
reach the intervention. All 28 writes presented at those ap-
proval interrupts apply without authority; the adapter refuses
all 28 in the matched protected cases. LangChain shows state
when the model requests the write, accepts approval later,
and executes on resume without rechecking. The model has
no turn between the change and execution. After protected
refusal, all 20 hosted-model trajectories read first; they later
apply 19 authorized writes and none unauthorized.
CHK-aa102a892519782cf9dbad3c
en the change and execution. After protected
refusal, all 20 hosted-model trajectories read first; they later
apply 19 authorized writes and none unauthorized.
A separate case needs no injected change. All five mod-
els group two writes approved at version 7 into one message.
The first write advances the version, invalidating the second.
Native execution applies that second write in all five cases;
protected execution refuses it in all five. GPT and Gemma
then read and write under fresh approval; Fable resends and
obtains fresh approval; Sonnet ends after reading. Qwen
groups calls again without completing the second write. Au-
thorization holds at the sink in these recorded continuations.
Other frameworks and transports.LangGraph 1.2.10 also
preserves approval resolved throughinterruptwithout
expiry or withdrawal. A sink that consumes the exact-effect
grant refuses the approved append after withdrawal. In a
single-service panel of 90 LangGraph executions per model,
unguarded paths commit unauthorized effects and paths with
an atomic final check commit none (§D). Scripted HTTP
and Chrome checks show the same distinction. In both
service panels, the model transcribes a prepared effect before
the intervention; the case and defense then determine the
outcome of this fixed action.
Clause checks with the sink fixed.The same atomic op-
CHK-84ad9fc9dc0d1cb5d8f30dca
red effect before
the intervention; the case and defense then determine the
outcome of this fixed action.
Clause checks with the sink fixed.The same atomic op-
eration can enforce different evidence requirements (§D.2).
Removing coherence from the LangChain evaluator admits
the pooled candidate; restoring it prevents that write from
reaching the sink. In all three services, grants naming only
an epoch let both protected paths apply another effect’s
grant. Signing the whole effect into the grant, a 30-line
adapter change, rejects all six such candidates. Grant-only
and binding-only candidates cause missing-evidence aborts;
a complete candidate applies, and a sibling-effect certificate
is refused.
Claims scoped to the effect’s own facts preserve all
nine benign cases that service-wide counters refuse. Signing
candidate identity adds 88 lines across adapters, evaluator,
and reservation path. Correct binding also depends on the
adapter: an adapter naming another effect withholds a jus-
tified write that the native sink applies.
One evaluator for different policies.The Git pol-
icy requires grant, resource-premise, and binding claims;
Atomix/SQLite requires grant and binding. Adding a re-
view slot and issuer invalidates the old candidate, while a
complete replacement passes the unchanged evaluator and
sink (§D.2). The 227-line evaluator module is byte-identical
CHK-d6b10b1ababedebb4a4eca19
uer invalidates the old candidate, while a
complete replacement passes the unchanged evaluator and
sink (§D.2). The 227-line evaluator module is byte-identical
across three single-service systems, the reservation path, Git,
and SQLite. Each single-service adapter adds 90–101 lines
to a shared base. OpenHands and Atomix run unmodified.
Composition with Atomix.Atomix [11] coordinates effect
release and delegates semantic validation to the application.
TABLE 12. ATOMIX PUBLICATION OUTCOMES;EACH ENTRY IS TWO
IDENTICAL EXECUTIONS,THROUGHC O M M I TANDF L U S H_R E A D Y.
THE PROTECTED CONFIGURATION ADDSCOMMITGATE AND ATOMIC
AUTHORITY VALIDATION TO THE SAME RUNTIME ANDSQLITE SINK.
Condition Resource only Protected
Current approval Authorized Authorized
Expired approval Unauthorized Preflight refusal
Revoked before preflight Unauthorized Preflight refusal
Revoked after preflight Unauthorized Sink refusal
Surviving alternative Authorized Authorized
TABLE 13. MEAN P50DIFFERENCE, COMMITGATE MINUS DIRECT,IN
MS,OVER SIX ORDER-BALANCED REPETITIONS PER WINDOW.
COMMITGATE’S COMPLETE-PATH P50,MEDIAN OF REPETITIONS:
DESKTOP47.31–47.98,ONEVM 53.19–54.23,TWOVMS
56.34–56.93MS.
Setting Stage 10 s 1 s 100 ms
Desktop Admission 0.26 0.17 0.24
Consumption 0.31 0.01−0.03
Complete path 0.94 0.15 0.13
One VM Admission 0.63 0.51 0.51
Consumption 0.15 0.18 0.19
Complete path 0.90 0.92 0.79
CHK-18f989d5a2e31ec9ae452bb5
0.26 0.17 0.24
Consumption 0.31 0.01−0.03
Complete path 0.94 0.15 0.13
One VM Admission 0.63 0.51 0.51
Consumption 0.15 0.18 0.19
Complete path 0.90 0.92 0.79
Two VMs Admission 0.36 0.57 0.43
Consumption−0.120.21−0.05
Complete path 0.18 0.88 0.41
We compare resource checks without grant validation with
COMMITGATEand atomic authority validation in the same
runtime. Both configurations register resource and approval
scopes, retain Atomix’s release checks, and execute call-
backs in a SQLite transaction checking request identity, re-
source version, and path. Five initially authorized conditions
vary grant lifetime, check timing, and alternatives through
both release routes and configurations: 20 executions, la-
beled by independent SQL queries (Table 12).
Every callback satisfies Atomix’s release dependencies.
Resource checks permit ten publications, six unauthorized.
The protected composition preserves the four authorized
publications and refuses six, including two at the sink after a
positive preflight. Atomix establishes readiness for release;
the sink establishes authority in the write transaction. Twelve
further cases on the same SQLite sink give identical out-
comes with a direct authorizer and COMMITGATE: three
publications, eight rejections, and one abort.
5.4. RQ4: What Does Authority Transfer Cost?
Reservation workloads.We measure admission, reservation
CHK-1008b990266972ad1d283698
GATE: three
publications, eight rejections, and one abort.
5.4. RQ4: What Does Authority Transfer Cost?
Reservation workloads.We measure admission, reservation
issuance, and consumption (Table 13) in two long-lived
services with separate SQLite databases. They run over
loopback on a desktop (§D.1), then on separate cloud VMs
in one zone. A control collocates both services on a VM
of the same type. The direct authorizer and COMMITGATE
receive identical evidence and use the same policy, transfer
semantics, and atomic consumption; only the latter uses
typed certificates. Client timing includes HTTP, queueing,
TABLE 14. COMPLETED EFFECTS, %OF1,600OFFERS PER CELL(100
BURSTS OF16). DESKTOP:THREADED CLIENT,DIRECT(D)AND
COMMITGATE(G). VMCOLUMNS: GWITH ONE CLIENT PROCESS PER
WORKER,MEAN OF SIX REPETITIONS;SHARED-TARGETDALSO GIVES
6.25%THROUGHOUT. –:NOT MEASURED.
Desktop shared Desktop disjoint VM disjoint VM shared
Window D G D G 1 2 1 2
10 ms 0 0 0 0 – – – –
100 ms 0.13 0 0 0.13 95.50 96.75 6.25 6.25
300 ms – – – – 99.95 100 – –
1 s 6.25 6.25 98.56 98.69 100 100 6.25 6.25
10 s 6.25 6.25 100 100 – – 6.25 6.25
accounting writes, owner persistence, and admission. Cloud
workloads use one client process per worker.
Latency.Six serial repetitions per window alternate arm
order by block. COMMITGATEadmission is slower in every
window and block across all settings. The mean p50 differ-
CHK-f9f94d0764cfb32b697be4e1
x serial repetitions per window alternate arm
order by block. COMMITGATEadmission is slower in every
window and block across all settings. The mean p50 differ-
ence is 0.17–0.63 ms; differences by block range from 0.09
to 0.74 ms, and one repetition reaches 1.27 ms. Identical
consumption code differs by 0.15–0.19 ms between arms
on one VM, indicating an arm bias of that size in the
cloud comparison. On the desktop, the admission difference
exceeds the consumption difference only at 1 s and 100 ms.
Complete-path mean differences between arms remain
below 1 ms, although a single desktop run with the direct
arm first differs by 10.99 ms (§D.1). Separating services
across two VMs adds 2.4–3.0 ms.
Expiry and contention.Desktop contention covers six
workloads: serial offers, single-worker bursts, and four- or
sixteen-worker bursts on shared or disjoint targets. Two arms
and four expiry windows give 48 configurations and 34,400
measured offers, each making three HTTP calls. Each con-
figuration runs once, direct arm first, so arm differences can-
not be attributed to the authorizer. With sixteen workers and
a 10-s window, all disjoint offers complete but only 6.25%
of shared-target offers do (25% with four workers). The first
write advances the shared version; the others remain bound
to its old value. Longer windows reduce expiry losses but
CHK-0cdb951ee0bfe6dfb6b0cf52
fers do (25% with four workers). The first
write advances the shared version; the others remain bound
to its old value. Longer windows reduce expiry losses but
cannot restore an obsolete version, and they prolong the
derived grant’s authority.
With sixteen workers in one client process, almost no
offer completes within 100 ms, even on disjoint targets.
The median client delay from issuance to consumption is
342 ms, compared with server round trips of about 41
and 32 ms. One process per worker reduces that delay to
about 21 ms. On disjoint targets, 95.50% of offers complete
within 100 ms on one VM and 96.75% across two. At
300 ms, every repetition completes at least 99.69%, with
no unauthorized effect. Clock probes estimate an inter-VM
offset below 0.85 ms; the longest issuance-to-consumption
interval is 361 ms, atτ= 1s.
Shared-target contention with sixteen client processes
adds 72 order-balanced cells and 115,200 measured offers
(Table 14). For every topology, arm, and window, each of
600 bursts commits one offer and the other 9,000 offers
abort on the version check. No burst loses its winner to
expiry, even at 100 ms, and no result is unknown or unau-
thorized. Atτ= 1s across two VMs, consumption returns
in 25.89 ms for version aborts and 28.96 ms for commits,
compared with 25.72 and 27.95 ms under direct authoriza-
tion.
CHK-7706e9c69468c84f9d89a3e0
= 1s across two VMs, consumption returns
in 25.89 ms for version aborts and 28.96 ms for commits,
compared with 25.72 and 27.95 ms under direct authoriza-
tion. The last of sixteen responses arrives at 260.46 ms after
burst release at p50 and 413.74 ms at p95 (direct: 258.75 and
377.50 ms), each the median of six per-repetition quantiles.
Every observed issuance-to-commit interval among com-
pleted offers meetsτ+ ˆϵ par. The maximum is 101.69 ms
atτ= 10s, with an estimated inter-host timing margin
ˆϵpar = 1.63ms.
6. Discussion
Information and recovery.Notices and consulted status
tools helped agents follow the authorization rule. Revocation
can follow their last observation, so the service must still
check authority at commit. Recovery requires an authorized
route; terminal grant or eligibility changes require stopping.
Reporting authorization beside utility exposes unauthorized
success and the cost of safe refusal.
Qwen and Gemma often reached execution limits before
OpenHands publication, including in clean controls. An
absent publication cannot establish that an agent recognized
revocation. Model size and family are not isolated from tool
format, context settings, or serving configuration. Fable’s
provider refusals varied by task and usually preceded prepa-
ration, including in clean runs. Its answered trajectories are
therefore a selected subset.
CHK-cc71f5a48f712250664a166c
Fable’s
provider refusals varied by task and usually preceded prepa-
ration, including in clean runs. Its answered trajectories are
therefore a selected subset. Assigned recovery cohorts retain
refusals, and all cohorts retain effects applied before a later
refusal.
Policy and implementation.Omitted dependencies can
admit effects outside the intended policy; unrelated re-
quirements can reject valid ones (Assumption 1). Cedar
reproduced all 30 synthetic decisions under our policies and
candidate boundaries (§D.1); host code must still resolve
claims and the sink must enforce them.
Evidence and scope.The advisory, retail, scripted, and
transport studies estimate no general failure rate. Thirteen
of 17 advisories concern one product, the clause assign-
ments are ours, and pooling appears only in constructed
cases. Neither scripted repetitions nor model executions
with different seeds are independent samples; no model is
fully deterministic at our settings. The controlled response
namesafe_commitmay influence decisions. The service
study runs each of 18 synthetic tasks once per condition;
OpenHands does not isolate delegation. OpenHands and
retail use our authorization policies. Service labels come
from owner state, but sink and oracle can share policy or
serialization errors.
Every cross-service panel revocation precedes reserva-
tion issuance.
CHK-ce0378424018a8ba701f762f
abels come
from owner state, but sink and oracle can share policy or
serialization errors.
Every cross-service panel revocation precedes reserva-
tion issuance. Revocation during a reservation’s lifetime is
tested only at deterministic logical ticks. The sink checks
version before sampling expiry, so a version abort does
not establish whether the reservation was still live; phys-
ical commit can finish just after expiry. Cross-zone timing,
sustained contention, denial of service, issuer outages, and
distributed recovery remain untested.
TABLE 15. CLOSEST MECHANISMS,GROUPED BY CONTRACT. CURRENT EFFECT AUTHORITY:A VALID SOURCE OR DERIVED GRANT UNDER ITS
LIFETIME AND REVOCATION SEMANTICS;COMPLETE EVIDENCE ALTERNATIVES:ONE JUSTIFICATION SATISFIES EVERY CONDITION,WITHOUT
POOLING.✓:EXPLICIT OBLIGATION;◦:RELATED MECHANISM OR APPLICATION RESPONSIBILITY; –:NOT STATED.
Contract Mechanisms
Current effect
authority
Exact-effect
binding
Complete evidence
alternatives
Policy-rule alternatives Cedar, Progent [7], [32]◦ ◦✓
Tool and data-flow controls CaMeL [8]◦ ◦ ◦
Request-bound authority SUDP, CapLease, SecureClaw, CXI [33]–[36]✓ ✓–
Authorization continuity Live effect-scoped leases [6]✓◦✓
Transaction settlement Atomix [11]◦ ◦–
Task validation and release Cordon [12]✓ ✓–
Policy/effect coordination PSS / MasuGate [13]✓ ✓–
Use-time approval binding Loopjacking, BSC-R [14], [17]✓ ✓–
CHK-341942e1a7c4b48c6effce39
◦ ◦–
Task validation and release Cordon [12]✓ ✓–
Policy/effect coordination PSS / MasuGate [13]✓ ✓–
Use-time approval binding Loopjacking, BSC-R [14], [17]✓ ✓–
Single-witness contracts CONTINUITY , AID-Guard, ADR 0030 [15], [16], [24]✓ ✓◦
Approved-object integrity Consent Integrity, ReSA [37], [38] –✓–
Control-primitive barriers Stop Means Stop [39]◦ ◦–
Commit-time authorization (CTA) COMMITGATE+ atomic sink✓ ✓ ✓
7. Related Work
Authorization contracts.Stale-safe properties bound at-
tribute staleness [5]; UCON re-evaluates rights during
use [40]. Proof-carrying authentication [41] and recency log-
ics [42], [43] check authority proofs and credential recency
at decision time; consumable credentials become unavailable
everywhere once used [23]. Cedar [32] and Progent [7]
allow a request only when one rule holds in full and no deny
rule matches. Request-bound grants, proofs, and capabilities
bind authority to operations [33]–[36]. Table 15 compares
their contracts.
Closest contracts.Zhang and Zhang [6] require one live
lease, scoped by resource and effect type, to cover the
full effect set; leases cannot be combined and a surviving
alternative suffices. CTA adds premise, dependency, and
eligibility claims from their owners, coherent within that
witness (Proposition 2). CONTINUITY rechecks revoca-
tion of an exact-action permit at the sink, after admission
CHK-954f7c16ba55fd4768c91038
claims from their owners, coherent within that
witness (Proposition 2). CONTINUITY rechecks revoca-
tion of an exact-action permit at the sink, after admission
and within its lifetime [15]; its unmodified implementa-
tion matches the tested contract cases (§F). ADR 0030
atomically checks and consumes a one-time, action-bound
approval [24]. AID-Guard requires provider enforcement
of an approved version, ETag, or lock precondition, and
rejects root revocation before its authorization transaction;
its atomic profile joins that transaction with the provider
effect [16]. BSC-R binds revocation, context root, and ex-
ecution subject at commit [17]. These systems check one
witness or lineage per action; CTA also selects among
complete candidates without pooling their owners’ claims.
BSC-R cites CTA and reports 44.531% invalid commits
for its third-party “CommitGuard-faithful” reimplementation
and 0% for CONTINUITY on the latter’s attack suite. That
projection uses a different policy and sink; the suite includes
additional provenance and transformation invariants [17].
Approvals and commit boundaries in agents.Loopjacking
binds a human approval to the operation evaluated at use and
checks it there [14]; Consent Integrity binds the approval
dialog to the exact action [37]; ReSA analyzes approval con-
sumers that reconstruct the approved object [38]; closure-
CHK-f3f581ce451a9933239897e4
]; Consent Integrity binds the approval
dialog to the exact action [37]; ReSA analyzes approval con-
sumers that reconstruct the approved object [38]; closure-
bound approval covers transitive effects of an approved
command [44]; and Stop Means Stop measures approval
gates and cancellation [39].
Coordination and the final effect.Atomix [11] coordinates
settlement with application-supplied semantic validation,
and Cordon [12] validates lineage, authority, and approval
in task validation. PSS [13] coordinates policy state and
effects through provider transactions or reservations; as on
our reservation path, a transferred grant may outlive source
revocation. Lilienthal and Hong [9] and Jiang et al. [10]
address changing resource or page state, which our approval-
only cases hold fixed; a binding mismatch violates CTA
with no race. Wu et al. [45] study authority–execution
gaps, Mohammadi et al. [19] effects visible at dispatch, and
agent benchmarks evaluate outputs, traces, or application
state [30], [46]–[48].
8. Conclusion
An agent can complete a task through an effect its
approval never covered or no longer authorizes, as fixed
advisories document. After silent owner changes, all five
models mostly completed service tasks through unautho-
rized effects, with Fable measured over answered requests.
Notices helped agents follow the rule; protected refusals
CHK-77fb523eb98c374dd922862d
y completed service tasks through unautho-
rized effects, with Fable measured over answered requests.
Notices helped agents follow the rule; protected refusals
could lead to a separately authorized route.
CTA requires one complete, current justification for the
exact effect at commit. COMMITGATEauthenticates and
selects that justification; the sink enforces it atomically.
Protected paths enforced the declared policy and preserved
valid alternatives in the evaluated LangChain, OpenHands,
service, and Atomix cases. Serial admission added at most
0.63 ms in mean p50 over direct authorization. Machine-
checked proofs establish whole-candidate selection, trace
safety for mediated atomic sinks, and exact single-use trans-
fer in the stated model. Agent systems should establish
authority at commit and report authorization beside task
success.
References
[1] GitHub Security Advisories, “Repository advisories for Cursor, Open-
Claw, and Claude Code,” https://github.com/advisories, accessed Oc-
tober 11 and 14, 2026.
[2] LangChain, “Human-in-the-loop middleware, langchain 1.4.4,” https:
//github.com/langchain-ai/langchain, 2026, accessed October 11,
2026.
[3] X. Wanget al., “OpenHands: An open platform for AI software de-
velopers as generalist agents,” inProc. 13th International Conference
on Learning Representations (ICLR), 2025.
[4] R. Spencer, S. Smalley, P. A. Loscocco, M.
CHK-a61b825a43800a504794dbc6
-
velopers as generalist agents,” inProc. 13th International Conference
on Learning Representations (ICLR), 2025.
[4] R. Spencer, S. Smalley, P. A. Loscocco, M. Hibler, D. G. Andersen,
and J. Lepreau, “The Flask security architecture: System support
for diverse security policies,” in8th USENIX Security Symposium
(USENIX Security 99), 1999.
[5] R. Krishnan, J. Niu, R. S. Sandhu, and W. H. Winsborough, “Stale-
safe security properties for group-based secure information sharing,”
inProc. 6th ACM Workshop on Formal Methods in Security Engi-
neering, 2008, pp. 53–62.
[6] Z. Zhang and X. Zhang, “Are you still the agent I authorized?
Earned authority under a fixed ceiling for evolving agents,” 2026,
arXiv:2607.23586.
[7] T. Shiet al., “Progent: Securing AI agents with privilege control,”
2026, arXiv:2504.11703v3.
[8] E. Debenedettiet al., “Defeating prompt injections by design,” 2025,
arXiv:2503.18813.
[9] D. Lilienthal and S. Hong, “Mind the gap: Time-of-check to time-of-
use vulnerabilities in LLM-enabled agents,” 2025, arXiv:2508.17155.
[10] L. Jiang, Z. Liu, H. Luo, and Z. Lin, “Atomicity for agents: Exposing,
exploiting, and mitigating TOCTOU vulnerabilities in browser-use
agents,” 2026, arXiv:2603.00476.
[11] B. Mohammadi, N. Potamitis, L. H. Klein, A. Arora, and L. Bind-
schaedler, “Atomix: Timely, transactional tool use for reliable agentic
workflows,” 2026, arXiv:2602.14849.
CHK-5c6d4baaba5cdbdeb298df6c
, N. Potamitis, L. H. Klein, A. Arora, and L. Bind-
schaedler, “Atomix: Timely, transactional tool use for reliable agentic
workflows,” 2026, arXiv:2602.14849.
[12] Z. Chenet al., “Cordon: Semantic transactions for tool-using LLM
agents,” 2026, arXiv:2606.17573.
[13] Y . Peng and X. Wu, “Stateful governance for concurrent agentic
systems,” 2026, arXiv:2608.02764v2.
[14] A. Arun Kumar, “Loopjacking: Hijacking human-in-the-loop ap-
proval,” 2026, arXiv:2609.21081.
[15] C. Zheng and G. Yang, “CONTINUITY: Security-context contracts
for composable LLM agent controls,” 2026, arXiv:2609.05269.
[16] Y . Tong, L. Dai, and S. Guo, “AID-Guard: Stateful authorization for
delegated agent effects,” 2026, arXiv:2608.21159.
[17] W. Shu, “Boundary-state control for tool-using language-model
agents: Commit-time consistency under state drift,” 2026,
arXiv:2609.37475.
[18] D. Tsafrir, T. Hertz, D. A. Wagner, and D. D. Silva, “Portably solving
file races with hardness amplification,”ACM Transactions on Storage,
vol. 4, no. 3, pp. 1–30, 2008.
[19] B. Mohammadi, L. H. Klein, A. Arora, and L. Bindschaedler, “Ghost
tool calls: Issue-time privacy for speculative agent tools,” 2026,
arXiv:2606.02483.
[20] M. Abadi and R. M. Needham, “Prudent engineering practice for
cryptographic protocols,”IEEE Transactions on Software Engineer-
ing, vol. 22, no. 1, pp. 6–15, 1996.
[21] C. G. Gray and D. R.
CHK-6ba38fbd646c0fe9c0217994
Prudent engineering practice for
cryptographic protocols,”IEEE Transactions on Software Engineer-
ing, vol. 22, no. 1, pp. 6–15, 1996.
[21] C. G. Gray and D. R. Cheriton, “Leases: An efficient fault-tolerant
mechanism for distributed file cache consistency,” inProc. 12th ACM
Symposium on Operating Systems Principles, 1989, pp. 202–210.
[22] L. de Moura and S. Ullrich, “The Lean 4 theorem prover and
programming language,” inAutomated Deduction – CADE 28, ser.
Lecture Notes in Computer Science, vol. 12699, 2021, pp. 625–635.
[23] K. D. Bowers, L. Bauer, D. Garg, F. Pfenning, and M. K. Reiter,
“Consumable credentials in linear-logic-based access-control sys-
tems,” inProc. Network and Distributed System Security Symposium
(NDSS), 2007.
[24] Microsoft, “Agent governance toolkit, ADR 0030: Use an action-
bound, fail-closed approval protocol,” https://github.com/microsoft/
agent-governance-toolkit, 2026, accepted September 13, 2026; ac-
cessed October 11, 2026.
[25] Anthropic, “Claude API documentation: Refusals and
fallback,” https://platform.claude.com/docs/en/build-with-claude/
refusals-and-fallback, 2026, accessed October 13, 2026.
[26] Jenkins Security Team, “Jenkins security advisory 2024-11-13:
Rebuilding a run with revoked script approval allowed by
pipeline: Groovy plugin,” https://www.jenkins.io/security/advisory/
2024-11-13/#SECURITY-3362, 2024, SECURITY-3362 / CVE-
CHK-ee4356ff22fae4fff3e756a4
th revoked script approval allowed by
pipeline: Groovy plugin,” https://www.jenkins.io/security/advisory/
2024-11-13/#SECURITY-3362, 2024, SECURITY-3362 / CVE-
2024-52550; accessed October 8, 2026.
[27] OpenAI, “OpenAI Agents SDK for Python, 0.23.1: Human-in-
the-loop,” https://github.com/openai/openai-agents-python, 2026, ac-
cessed October 11, 2026.
[28] Anthropic, “Claude Code documentation: Permissions and tool er-
rors,” https://code.claude.com/docs/en/permissions, 2026, accessed
October 11, 2026.
[29] OpenAI, “Codex documentation: Approvals and rules,” https://learn.
chatgpt.com/docs/agent-configuration/rules, 2026, accessed October
11, 2026.
[30] S. Yao, N. Shinn, P. Razavi, and K. R. Narasimhan, “τ-bench: A
benchmark for tool-agent-user interaction in real-world domains,”
inProc. 13th International Conference on Learning Representations
(ICLR), 2025.
[31] R. T. Fielding, M. Nottingham, and J. Reschke, “HTTP seman-
tics,” RFC 9110, Section 13.1.1, 2022, https://www.rfc-editor.org/rfc/
rfc9110.html, accessed October 14, 2026.
[32] J. W. Cutleret al., “Cedar: A new language for expressive, fast,
safe, and analyzable authorization,”Proceedings of the ACM on
Programming Languages, vol. 8, no. OOPSLA1, pp. 118:1–118:28,
2024.
[33] X. Yu, H. Geng, X. Zeng, and W. Knottenbelt, “SUDP: Secret-use
delegation protocol for agentic systems,” 2026, arXiv:2604.24920.
[34] J. Xu, L.
CHK-ccfcd6c26895761e28fe33ba
8:28,
2024.
[33] X. Yu, H. Geng, X. Zeng, and W. Knottenbelt, “SUDP: Secret-use
delegation protocol for agentic systems,” 2026, arXiv:2604.24920.
[34] J. Xu, L. Fan, Z. Wang, X. Li, and H. Liu, “Beyond single-use tokens:
Durable authorization state for replay-resistant LLM agent actions,”
2026, arXiv:2608.01710.
[35] Y . Ma and S. Schmid, “SecureClaw: Clawing back control of LLM
agents,” 2026, arXiv:2606.09549.
[36] I. Santos-Grueiro, “Context-to-execution integrity for LLM agents,”
2026, arXiv:2607.06000.
[37] X. Weng, “What you approve is what executes: Consent integrity for
black-box LLM agents,” 2026, arXiv:2606.02668.
[38] J. Zhu, Z. Liu, S. Fan, J. Chen, and Q. He, “From approval to execu-
tion: Reconstruction-aware repair analysis for LLM-agent software,”
2026, arXiv:2609.26529.
[39] S. Khan, “Stop means stop: Measuring and repairing the enforcement
gap in agent-framework control primitives,” 2026, arXiv:2607.14166.
[40] J. Park and R. S. Sandhu, “The UCON ABC usage control model,”
ACM Transactions on Information and System Security, vol. 7, no. 1,
pp. 128–174, 2004.
[41] A. W. Appel and E. W. Felten, “Proof-carrying authentication,”
inProc. 6th ACM Conference on Computer and Communications
Security, 1999, pp. 52–62.
[42] S. G. Stubblebine, “Recent-secure authentication: Enforcing revoca-
tion in distributed systems,” inProc. IEEE Symposium on Security
CHK-13837c973ba0e479199591e2
ity, 1999, pp. 52–62.
[42] S. G. Stubblebine, “Recent-secure authentication: Enforcing revoca-
tion in distributed systems,” inProc. IEEE Symposium on Security
and Privacy, 1995, pp. 224–235.
[43] S. G. Stubblebine and R. N. Wright, “An authentication logic sup-
porting synchronization, revocation, and recency,” inProc. 3rd ACM
Conference on Computer and Communications Security, 1996, pp.
95–105.
[44] J. Zhanget al., “Agent approval laundering: Transitive effects beyond
the approved invocation,” 2026, arXiv:2609.28586.
[45] B. Wu, Q. Liu, A. Bibi, I. King, and S. Lyu, “The authorization-
execution gap is a major safety and security problem in open-world
agents,” 2026, arXiv:2605.11003.
[46] S. Zhouet al., “WebArena: A realistic web environment for build-
ing autonomous agents,” inProc. 12th International Conference on
Learning Representations (ICLR), 2024.
[47] H. Trivediet al., “AppWorld: A controllable world of apps and people
for benchmarking interactive coding agents,” inProc. 62nd Annual
Meeting of the Association for Computational Linguistics (ACL),
2024, pp. 16 022–16 076.
[48] E. Debenedetti, J. Zhang, M. Balunovi ´c, L. Beurer-Kellner, M. Fis-
cher, and F. Tramèr, “AgentDojo: A dynamic environment to evaluate
prompt injection attacks and defenses for LLM agents,” inAdvances
in Neural Information Processing Systems 37, 2024, pp. 82 895–
82 920.
Appendix A.
CHK-67845231cadf1fc5cb7842da
o evaluate
prompt injection attacks and defenses for LLM agents,” inAdvances
in Neural Information Processing Systems 37, 2024, pp. 82 895–
82 920.
Appendix A.
Ethics Considerations
This work examines whether an agent’s actions remain
authorized when they execute. The experiments use syn-
thetic tasks and data, public software releases, and isolated
local or cloud environments under our control. Hosted model
APIs are used for inference. We conducted no experiments
on human subjects and did not target other users’ accounts
or production deployments.
The main dual-use risk is that the examples could help
identify similar authorization failures in deployed agents.
We limit the public artifact to the experiments, records,
and defensive implementations needed to reproduce the
released evaluation. Private reports, credentials, and identi-
fying deployment details are excluded. We privately reported
the authorization issues identified during this work to the
relevant maintainers before submission. The reports remain
private.
Appendix B.
Open Science
The artifact is available at: https:
//anonymous.4open.science/r/commit-time-authorization/.
artifact_manifest.jsonindexes specifications,
records, COMMITGATE, Lean, related work, and tests;
RESULTS.mdmaps claims to records. With Python 3.10+
and the pinned Lean toolchain,make reproduce-full
CHK-9203e5d0eb9889012c383221
ions,
records, COMMITGATE, Lean, related work, and tests;
RESULTS.mdmaps claims to records. With Python 3.10+
and the pinned Lean toolchain,make reproduce-full
rebuilds counts, reruns deterministic services, checks model
records, and builds proofs;make reproduce-alladds
LangGraph replays. With pinned Python 3.13+ environ-
ments,make reproduce-sp27also checks OpenHands,
Atomix, retail, LangChain, and operational studies. Sepa-
rate commands rerun Atomix, test recorded Git commits,
and fetch pinned CONTINUITY for runtime checks; its
clone is excluded. The OpenHands package records its ma-
cOS arm64 SDK environment. Records include all reported
executions, operational warmups and offers, and ids and
source hashes for 270 primary executions and 262 com-
mits. Inspected WebArena, AgentDojo,τ-bench, and App-
World evaluators are pinned. OpenHands records include
model conversations, SDK events, service decisions, and
Git objects. Public projections remove identity and service
tokens; non-secret configuration retains models, settings,
retries, prompts, and dependencies. Findings reproduce from
records without provider access.
Appendix C.
Machine-Checked Model
Lean 4 checks the model and boundary claims of §3–
§4. Structures representσ,c,Π, andJ; predicates imple-
mentValid,CTA,TDiv, andLostCTA, with rejection ex-
actly when CTA fails. The model includes sink transitions,
CHK-67c9637194ca331c0edcf819
tructures representσ,c,Π, andJ; predicates imple-
mentValid,CTA,TDiv, andLostCTA, with rejection ex-
actly when CTA fails. The model includes sink transitions,
forwarding and selecting traces, two-state leases with tied
issuance, the grant ledger, and cross-service cases. Induction
proves selection over candidates and safety over events;
single use follows from a growing nonce record. The issued-
trace part of Theorem 2 requires every logged candidate
to have been presented, hence issued. Binding the version
advanced by a write prevents immediate repetition.
Statements and audit.The inventory lists all 139 project
theorems: 31 paper statements with exact elaborated types
recorded in the artifact, including shared-state and single-
certificate counterparts of Theorems 1 and 2; 20 counterex-
amples that mark the limit of a check or hypothesis; and
88 supporting lemmas. The audit checks proof complete-
ness and matches Lean’s axiom report, onlypropext, to
the inventory. Lean checks labels from 60 recorded Qwen
executions, one per case, defense, and repetition, with one
outcome in each of 20 cells, against the cross-service shared-
state reservation model. These executions do not instantiate
the two-state model of Theorem 1.
Limits of the model.Issuer honesty, unique identifiers, and
claim provenance are hypotheses (§3), and Lean does not
CHK-412508cc584bcf6d0925c795
stantiate
the two-state model of Theorem 1.
Limits of the model.Issuer honesty, unique identifiers, and
claim provenance are hypotheses (§3), and Lean does not
show that an approval service records the ledger correctly.
SinceAuthV L compares version numbers, it presumes that
no resource returns to an earlier one. Reservation time
uses inclusive discrete ticks, while operational consumption
uses an exclusive nanosecond bound at its locked clock
sample; no clock refinement or physical-persistence dead-
line is proved. Lean does not prove semantic provenance,
cryptographic implementations, agent intent, issue-time con-
fidentiality, distributed rollback, or crash recovery.
Appendix D.
Evaluation Details
Controlled tasks.The 54 controlled tasks span three fam-
ilies of six categories with three tasks each, chosen be-
forehand to vary how evidence for authority reaches an
effect: browser tasks draw on WebArena, WorkArena, and
TABLE 16. SERVICE-AGENT OUTCOMES,UNPROTECTED ARM WITH AN
OWNER CHANGE:UNAUTHORIZED EFFECT WITH TASK COMPLETED
(UC)OR NOT(UN),AUTHORIZED COMPLETION(A),NEITHER(W),OF
36TRAJECTORIES(FABLE: 22, 23, 27ANSWERED). UNTRIGGERED
CHANGES(QWEN2, 2, 6; GEMMA2, 2, 0)COUNT ASW. BRACKETS:
WILSON95%INTERVAL OF THEUCSHARE(%),TRAJECTORIES TAKEN
AS INDEPENDENT.
Model Silent Notice Status
Qwen 26/1/0/9 [56, 84] 15/1/2/18 [27, 58] 26/0/1/9 [56, 84]
CHK-8a0cf664ab1301e5e79e4c30
S:
WILSON95%INTERVAL OF THEUCSHARE(%),TRAJECTORIES TAKEN
AS INDEPENDENT.
Model Silent Notice Status
Qwen 26/1/0/9 [56, 84] 15/1/2/18 [27, 58] 26/0/1/9 [56, 84]
Gemma 34/0/0/2 [82, 98] 10/0/6/20 [16, 44] 32/1/0/3 [75, 96]
GPT 25/1/3/7 [53, 82] 1/0/11/24 [0, 14] 2/0/9/25 [2, 18]
Fable 17/1/4/0 [57, 90] 0/0/10/13 [0, 14] 17/1/3/6 [44, 78]
Sonnet 30/2/2/2 [68, 92] 0/0/8/28 [0, 10] 22/2/2/10 [45, 75]
OSWorld, tool/state tasks on AppWorld,τ-bench, and Open-
Hands, and multi-agent tasks cover routing, memory, veri-
fication, review, policy, and speculative branches. They are
synthetic analogues, not a prevalence sample.
Advisory fixes.In 14 of the fixes in Table 17, the fact
checked is the grant’s currency or scope or a field of the
executed request, which every CTA policy requires: CTA
authorizes the exact effect, the full input of the durable
operation, and how coarse a policy’s grants are is part of
what the policy declares. In three, it is a premise that the
policy must declare. In seven with B in Table 5, the fix
widens what a persisted decision records or the approver
sees, placing the fact in the grant’s scope; CTA requires
both. In wj55, the fix checks the policy when the gateway
delivers the queued action; the durable operation is its later
execution on the node. An LLM agent independently coded
twelve advisories and the inclusion of all 21 from the rules
CHK-814c1b6b9a8fb9e61b261ab2
action; the durable operation is its later
execution on the node. An LLM agent independently coded
twelve advisories and the inclusion of all 21 from the rules
and sources alone; it agreed with our codes on 11 of 12
slots (binding rather than grant scope for the 24mc fix), all
12 requirement codes, and 18 of 21 inclusion decisions.
Service-agent study.Of the 18 task ideas mapped to durable
writes, one that cannot run safely is replaced by the nearest
write on that asset. Owners keep typed records of approvals,
resource versions, readiness, page-element bindings, and
run or branch state; utility comes from the final state
alone, and the agent makes at most 16 model requests.
Table 16 gives every outcome of the unprotected arm. A
post hoc audit identifies 42 recovery opportunities from the
specified scenario types, retaining untriggered changes and
provider refusals. Fable’s 29 answered cases all recover; its
13 refusals include nine before and four after the change.
Across all 108 protected change cases, 63 are answered and
29 complete. Under the pair rule of §5.2, 22 (Qwen), 32
(Gemma), 20 (GPT), 19 (Fable), and 34 (Sonnet) of the 36
planned pairs qualify. GPT’s 16 excluded pairs differ before
the change, 15 in their tool calls; Qwen’s exclusions include
trajectories that wrote with the preparation, and 16 of Fable’s
17 contain a refused trajectory. Without the replaced task,
CHK-1ad27e646d2237f2961a6493
ol calls; Qwen’s exclusions include
trajectories that wrote with the preparation, and 16 of Fable’s
17 contain a refused trajectory. Without the replaced task,
Qwen keeps 20 pairs, with unauthorized completions falling
from 13 to 3.
Provider refusals.Fable’s provider refuses every trajectory
of three service tasks and none of six others. Clean and
changed trajectories have similar refusal counts (26/72 and
TABLE 17. WHAT EACH FIX INTABLE5CHECKS AND THECTACLAIM
THAT EXPRESSES IT; GGRANT, PPREMISE, BBINDING. R:EVERYCTA
POLICY FOR THE EFFECT REQUIRES THE FACT,WITHcTHE FULL INPUT
OF THE DURABLE OPERATION; D:THE POLICY MUST DECLARE IT;≈:
ANOTHER FACT OR AN EARLIER STEP.
Id Fixed Fix checks CTA claim Req.
24mc 1.3 new approval when the
entry changes
G scope: command
and arguments (≈)
R
8g75 2026.3.8 script matches the
approval snapshot
P: script digest D
q399 2026.3.1PATHtoken resolves to
the approved binary
P:PATHresolution D
mwcg 2026.2.25 working directory is not
a symlink
P: cwd target (≈) D
wj55 2026.3.22 policy at delivery allows
the queued action
G currency: policy
at execution (≈)
R
r22h 1.3 install dialog shows the
arguments
G scope: arguments
shown
R
h3f9 2026.2.14 executed argv matches
the evaluated command
B: argv R
hwpq 2026.2.25 approval matches the
exact executed argv
B: argv R
74gc 2026.8.1 Allow Always grant
keeps the arguments
G scope: arguments R
CHK-a50b75f0cfe4c6f1bc27c8a3
d command
B: argv R
hwpq 2026.2.25 approval matches the
exact executed argv
B: argv R
74gc 2026.8.1 Allow Always grant
keeps the arguments
G scope: arguments R
6j27 2026.2.22 grant keeps the inner
executable
G scope: inner
executable
R
3mq7 2026.8.1 reusable approval bound
to the cwd
G scope: cwd R
7jfq 2026.8.1 standing grant bound to
its node
G scope: target node R
6x2m 2026.2.23 approving node matches
invoking node
B: target node R
6rcp 2026.2.24 approval text shows the
full argv
G scope: argv
shown
R
hjvp 2026.2.26 approval bound to argv,
cwd, env digest
B: env, with argv
and cwd
R
pq7j 2.1.179 checked-out commit
equals the pinned hash
B: commit hash R
q5hj 2.1.84 trust lookup validates
the worktree link
B: trusted folder (≈) R
Not counted, contestable (4):group undetermined; no durable effect named
(I4, I5); no approver named (I3); not a tool effect (I5).
81/216). Of 107 refusals, 65 occur at the first request;
90 precede the preparation trigger, 16 follow an applied
change, and one follows preparation in a clean control.
Seven follow a protected write refusal at preflight (two at
the next request), yielding 21 refusals in the protected silent
condition against 14 unprotected. Observed unauthorized
completions over all 36 prescribed unprotected cases are 18,
0, and 17 (silent, notice, status), retaining one commit before
CHK-e52297b4b14bfd8c5051d645
unprotected. Observed unauthorized
completions over all 36 prescribed unprotected cases are 18,
0, and 17 (silent, notice, status), retaining one commit before
a later provider refusal beyond the answered-only counts in
Table 7. Controlled refusals exclude 87 flagged executions,
21 controls, and the one perturbed execution without a flag;
the single-service panel’s 42 refusals all concern the multi-
agent surface, leaving 48 answered executions mostly on
tool/API.
Model diagnostics.In LangChain, Sonnet’s first two di-
agnostics were inconclusive because its provider refused a
read; a third, using a ticket read, passed. No Sonnet study
trajectory was refused.
OpenHands task cohort.Fixed offline tests fail on each
base revision and pass on its published fix; production
TABLE 18. CONTROLLED STUDY WITHQWEN,BY FAMILY.
UNAUTHORIZED COMMITS FOLLOW THE ENVIRONMENT’S
INVALIDATION FLAG,WHICH CLEAN CONTROLS NEVER CARRY.
Family
Endpoint
success
Authorized
completion
Unauthorized
commit
Safe non-
completion
Infra.
failure
Browser 89/90 19/90 70/90 1/90 0/90
Tool/state 83/90 18/90 65/90 7/90 0/90
Multi-agent 90/90 18/90 72/90 0/90 0/90
All 262/270 55/270 207/270 8/270 0/270
TABLE 19. SINGLE DESKTOP RESERVATION RUN,IN MS: 200SERIAL
OPERATIONS PER ARM, 10-S RESERVATION,DIRECT ARM FIRST;
ADMISSION FROM SIX LATER ORDER-BALANCED REPETITIONS,SO THE
STAGES DO NOT SUM TO THE COMPLETE PATH.
CHK-28e074152553c6f911d773fb
ERIAL
OPERATIONS PER ARM, 10-S RESERVATION,DIRECT ARM FIRST;
ADMISSION FROM SIX LATER ORDER-BALANCED REPETITIONS,SO THE
STAGES DO NOT SUM TO THE COMPLETE PATH.
Direct authorization COMMITGATE
Stage p50 p95 p50 p95
Admission 4.83 5.67 5.09 5.81
Issuance 25.81 35.42 29.72 84.37
Consumption 29.28 44.90 32.60 82.68
Complete path 62.02 89.94 73.01 171.17
publication binds the exact commit and expected target
revision. Each model runs eight direct and eight delegated
trajectories. The 48 of GPT, Fable, and Sonnet contain 51
publication events: 12 authorized production, 27 authorized
staging, and 12 unauthorized production; four unsafe trajec-
tories also publish to staging later, and Table 8 reports their
unauthorized outcome. All these conversations finish, and
fixed tests verify candidate code and applied commits.
Execution sets.Each model has 90 LangGraph executions
through ticket and branch sinks, 18 per defense. Every
defense preserves six authorized effects. Unguarded and
resource-recheck paths apply twelve and nine unauthorized
effects; the three atomic paths apply none. These results hold
for Qwen, Gemma, GPT, and Sonnet, and cell by cell for
Fable’s 48 answered executions. By invalidated fact, Qwen’s
207 unauthorized controlled commits (Table 18) split into
stale grants or premises (105), readiness (51), binding (18),
and eligibility (33), and the 12 of GPT and Fable into
CHK-23948ec8918e7866a544aeae
d controlled commits (Table 18) split into
stale grants or premises (105), readiness (51), binding (18),
and eligibility (33), and the 12 of GPT and Fable into
stale grants or premises (4), readiness (6), and binding (2).
No model output in the cross-service panel is repaired or
excluded, and replaying trace-derived certificates through
COMMITGATEchecks compatibility, not an independent
decision.
D.1. Admission and Policy Evaluation
Reservation workloads.Desktop services use an Apple
M1 Pro, macOS, Python 3.14.7, SQLite 3.53.4, and file-
backed W AL databases with synchronous FULL. Three
n2-standard-4VMs (4 vCPU, 16 GB) host client,
approval, and resource services in one zone with the same
versions and chrony; the control collocates services on one
VM. Serial runs balance arm and topology order over three
blocks per topology. Disjoint contention runs 100 measured
bursts of sixteen processes per cell. The shared-target ex-
tension balances arm order, topology, and window rotation
in six blocks in another zone, with its own collocated con-
trol. Desktop contention yields 11,524 completions, 15,090
expiries, and 7,786 version conflicts. Table 19 divides its
single run by stage. Two VMs add 2.37, 2.98, and 2.35 ms
to COMMITGATE’s serial p50 at 10 s, 1 s, and 100 ms.
Local admission microbenchmark.Over 500 decisions
per configuration, median verification grows from 15.417 to
CHK-416dd75084ec7f35919a4900
COMMITGATE’s serial p50 at 10 s, 1 s, and 100 ms.
Local admission microbenchmark.Over 500 decisions
per configuration, median verification grows from 15.417 to
265.105µs for flat certificates with three to 66 claims and
from 15.875 to 266.750µs for chained ones, with 2,123 to
3,435 bytes of traced allocation over 50 decisions, excluding
HTTP, storage, state resolution, and contention.
Mechanism versions.Published code runs unchanged:
LangChain 1.4.4’s approval middleware, OpenHands
SDK 1.47.0 confirmation, LangGraph 1.2.10’s
interrupt, Cedar 4.13.0, CONTINUITY , and
Atomix at61e411be. The Jenkins vendor regression
admits a rebuild after withdrawal in workflow-
cps3990.vd281dd77a_388and refuses it in
3993.v3e20a_37282f8. Both current and restored
approval controls succeed. Production source is unchanged.
Encoding CTA in Cedar.One Cedar 4.13.0 policy [32]
requires every declared slot, trusted issuers, and exact-effect
binding within one candidate; host code checks signatures,
resolves currentness, and selects the first permitted candi-
date. All 30 synthetic cases match COMMITGATE, including
fresh alternatives and a review-slot extension. No sink runs:
atomic enforcement and integration effort are unmeasured.
D.2. Supplementary Checks
LangChain approval path.The eight unprotected unautho-
rized writes follow withdrawal (three cases), policy change,
CHK-1b53793760d05301808743a6
t are unmeasured.
D.2. Supplementary Checks
LangChain approval path.The eight unprotected unautho-
rized writes follow withdrawal (three cases), policy change,
ticket change (two), an unapproved tool targeting another
ticket, or direct dispatch. The adapter refuses six attempts,
including two pooled attempts after one retry; the sink re-
fuses post-check withdrawal, the unapproved tool’s binding
mismatch, and direct dispatch.
LangGraph runs ten framework cases, three sink cases,
and two concurrency arms: withdrawal outside the graph
leaves an approved append executable; the sink refuses it,
while an earlier checkpoint asks again. It refuses reuse under
another certificate id and permits one concurrent presenta-
tion. With the lock, withdrawal between check and append
waits; without it, append follows withdrawal.
Transport checks.In 24 loopback HTTP executions of
clean, invalidating, and post-preflight cases for ticket and
branch services, unguarded execution leaves four unautho-
rized commits, resource recheck three, and native condi-
tional write and COMMITGATEnone. In a two-path Play-
wright check through system Chrome, unguarded execution
changes the retargeted account while displaying “Change
saved,” and the protected path withholds the effect.
Deterministic studies.Each deterministic case runs once,
without a model. Binding cases present a complete sibling-
CHK-3082910c70c4cba1b3e90f4f
nd the protected path withholds the effect.
Deterministic studies.Each deterministic case runs once,
without a model. Binding cases present a complete sibling-
effect candidate or another effect’s grant; partial cases
present grant-only and binding-only candidates, and positive
TABLE 20. COMMIT-TIME OBLIGATIONS AND SUPPORTING CASES.
Case Required decision Evidence
Revoked approval, unchanged resource Reject: resource equality does not supply a current grant Cross-service panel
Stale A, complete current B Accept B: divergence of A does not remove all authorization Service and Atomix panels
Missing required evidence Withhold: no complete candidate satisfies the declared policy Service panel; schema-extension test
Revocation after positive preflight Reject at the atomic sink: earlier admission remains provisional Service and Atomix panels
TABLE 21. CASES EXECUTED ON ALL THREE SYSTEMS UNDER ALL
FOUR DEFENSES.
Case Status Property exercised
Clean valid clean completion
Benign concurrent valid a counter no check reads changes
Alternative grant valid one current justification suffices
Stale unrelated valid the same unread counter changes
Invalidating invalid target, version, approval, or path drift
Post-preflight race invalid atomic sink coupling
Forged claim invalid issuer authentication
Missing declared slot invalid required evidence is absent
controls a complete candidate.
CHK-e875fceabb2aaccaddebca6d
invalid atomic sink coupling
Forged claim invalid issuer authentication
Missing declared slot invalid required evidence is absent
controls a complete candidate. Amergedcandidate joins
partial candidates for an authorized effect; apooledone
joins current claims from two invalidated candidates. Epoch-
only grants admit foreign grants; omitting candidate names
admits merged and pooled candidates. Signing the effect
id and payload digest into grants refuses all six foreign-
grant candidates, four with the requested target and oper-
ation. Signing candidate identity (22 adapter, 7 evaluator,
59 reservation-path lines) refuses merged and pooled candi-
dates, which unguarded and resource-recheck paths apply;
the approval service refuses reservation issuance from a
merged candidate. Cross-service lookup finds no candidate
for ticket 42 in the binding case, so preflight refuses it. A
reservation issued at tick 10 expires at 12; source revocation
at 11 still permits consumption through 12, while tick 13
and repeat presentation are refused.
The specificity panel crosses three systems, four de-
fenses, two claim scopes, one clean, two invalidating, and
three benign cases: superseding another effect’s approval,
one of two alternatives, or changing unrelated resource state.
Both protected paths complete all nine benign cases with
effect-scoped claims and none with service-wide counters,
CHK-23b2b0e238552e8e00fb2668
tives, or changing unrelated resource state.
Both protected paths complete all nine benign cases with
effect-scoped claims and none with service-wide counters,
refusing all six invalidating cases in both scopes. Whole-
resourceIf-Matchloses the ticket-comment case; this
panel includes no other contract implementation.
Appendix E.
Adapter and Sink Contracts
Authoritative systems.The deterministic services label ef-
fects independently of model output: the browser records
the mutated account and document epoch despite selector
retargeting; the ticket sink resolves version and approval;
the branch sink checks the completed worker’s publication
capability. Table 21 lists cases; Table 20 maps them to
obligations. Defenses start from identical state and evidence;
TABLE 22. CLOSEST PUBLISHED CONTRACTS. R:REFUSED; A:
ACCEPTED; APP:APPLICATION RESPONSIBILITY; –:NOT STATED.
CONTINUITYVERDICTS ARE ALSO EXECUTED;LETTERS REFER TO
§F.
Case [6] [15] [24] [16] g [17] CTA
Grant revoked; resource fixed R R R R R R
Grant for another effect R a R R R R R
Live grant; premise changed – b Ac App R – R
Pooled candidate – b –e – – – R
Surviving alternative A A f – – – A
Post-check revocation – R R R R R
Source revoked in reservation – R c – – – A d
predeclared labels are never supplied to sinks. All three
preflights pass when the monitor’s resolver falsely reports
CHK-057ccb8b7b898a2857f3cf41
ce revoked in reservation – R c – – – A d
predeclared labels are never supplied to sinks. All three
preflights pass when the monitor’s resolver falsely reports
current evidence; the oracle labels every applied effect unau-
thorized.
Integrating a protected effect.The adapter author fixes
cand its atomic commit operation (Table 2), then assigns
each slot a type, authoritative issuer, and resolver from tool
schemas, approval manifests, or orchestrator state. Missing
slots invalidate candidates, including after policy extension.
Omitted dependencies escape enforcement; needless slots
cause benign aborts. The negative control detects verdict
reuse; shared-policy errors remain undetected. Tests check
derived-grant replay, expiry, wrong effects, and validation
atomic with mutation during races.
Appendix F.
Closest Published Contracts
All 15 CONTINUITY cases, including four con-
trols, match predeclared outcomes at unmodified commit
59cfe609(Table 22). (a) A lease scopes resources and
effect types, without distinguishing same-type effects on
one resource; (b) leases are not combined but carry no
premises [6]. (c) CONTINUITY rechecks source revoca-
tion; a version-7 permit executes on ticket version 8 [15].
(d) A derived grant remains valid until expiry, at most
τ+ 2ϵafter issuance (Theorem 1). (e) Root-grant binding
prevents object mixing across candidates; approval 3’s own
CHK-8adf076824af9c84040facaf
ed grant remains valid until expiry, at most
τ+ 2ϵafter issuance (Theorem 1). (e) Root-grant binding
prevents object mixing across candidates; approval 3’s own
version-7 bundle executes at version 8. (f) The caller selects
one permit per call; the live permit commits once after
the stale permit’s refusal. (g) AID-Guard’s atomic provider
profile; submitted-attempt authorization linearizes before the
provider effect [16]. Applications supply oracles and com-
plete views [6], mediation and provider transactions [15],
and facts outside approval binding [24].