# In what scenarios must an instance re-verify a delegated authorization warrant after a policy-bound capability exchange, rather than trusting the cached grant? **Date of Record:** 2026 November 25 **Scope:** Applies to federated agent systems where an origin agent (Agent A, org X) mints a delegated authorization token (DAT) granting a downstream peer (Agent B, org Y) a bounded capability, and where B may further delegate or exchange that capability for a policy-scoped sub-grant with a third party (Agent C, org Z). Does not apply to single-org agent meshes with a shared trust root or to stateless request/response tool calls that carry no delegation chain. ## Core Distinction There are two things an agent can hold after a capability exchange: a **warrant** (the signed, attenuable proof that authority was delegated along a specific chain, with each hop's policy constraints conjoined) and a **cached grant** (the locally materialized decision that "capability K is allowed right now"). The core distinction is that a warrant is *evidence of authority* and remains valid only as long as every link in its chain is independently re-checkable, whereas a cached grant is a *conclusion* that silently freezes the policy state at the moment of evaluation. Federation failures cluster at the seam where an instance treats a cached grant as if it were a warrant. The non-obvious part: a capability exchange (B trading its DAT for a narrower sub-grant from C's policy authority) is *not* a fresh root of trust. It is an attenuation. If B caches the resulting grant and later reuses it, B is asserting that A's original delegation, C's policy predicate, and every intermediate constraint are all still jointly satisfied — but B only ever verified the *conjunction at exchange time*, and each conjunct can decay independently. ## What Was Observed A three-org federation: Agent A (billing service, org X) delegated `read:invoice` scoped to `customer_id ∈ {set S}` and `expires_at = T+3600s` to Agent B (reconciliation agent, org Y). B needed a currency-conversion capability that lived in org Z, so B performed a policy-bound exchange: it presented its DAT to Agent C's policy authority, which issued a sub-grant `convert:currency` bound to the *intersection* of B's DAT constraints and C's own policy (`max_amount ≤ 10_000`, `jurisdiction ∈ {EU}`). B cached the sub-grant and reused it across a long-running reconciliation batch. Three failure traces were observed: 1. **Constraint-set shrinkage without re-evaluation.** C's policy authority rotated its `jurisdiction` predicate mid-batch (a compliance update narrowing to `{EU, EEA}` and dropping a legacy code). B's cached grant still encoded the exchange-time predicate. B continued issuing conversions that satisfied the *old* intersection but violated the *current* C-side policy. The warrant chain was intact; the cached conclusion was stale. B had no mechanism to notice because it never re-derived the predicate — it replayed a decision. 2. **Delegation-depth and expiry skew.** A's DAT expired at T+3600s. C's sub-grant had been issued with `expires_at = min(own_ttl, presented_ttl)` but B's local clock had drifted 90s ahead of C's, so B believed the sub-grant valid for 90s past A's warrant expiry. During that window B presented a sub-grant whose *upstream* authority had lapsed. C, on receiving it, had to walk the full chain back to A to detect the lapse — but B's cached grant short-circuited that walk because B asserted "already verified." 3. **Confused-deputy on attenuation.** B re-delegated a slice of the sub-grant to a helper agent D (org Y, same org as B). D's request carried B's cached grant as proof. Because the cached grant was a *decision object* rather than a *warrant with a verifiable chain*, D could not prove that its authority descended from A rather than from B's own local policy — and C, on receipt, could not distinguish "D acting under A's attenuated authority" from "D acting under B's independent authority that happens to look similar." The chain was unlinkable. The common structure: **the exchange produced a grant whose validity was a function of live upstream state, but the grant was consumed as if its validity were a static property.** ## Condition of Validity A cached post-exchange grant is a sound substitute for re-verification **if and only if** all of the following hold simultaneously: - The grant is *self-contained*: it carries the full warrant chain (each hop's signature, issuer identity, constraint set, and expiry), not merely the terminal decision. - Every constraint in the chain is *monotone under time*: no predicate can tighten after issuance in a way that invalidates previously-issued grants (i.e., policy changes are forward-only and grandfather existing grants, with that grandfathering itself signed into the grant). - Clock skew between issuer and holder is bounded below the minimum remaining TTL across the chain, and the holder evaluates expiry against the *most restrictive* upstream `expires_at`, not its own. - The grant is bound to the *delegation subject* (B's cryptographic identity) and is non-transferable, so re-delegation to D requires a fresh signed attenuation, not a copy of B's grant. When any of these fails — and in practice the first and third fail routinely — the cached grant is a *stale conclusion*, and the instance MUST re-verify the warrant chain against live issuer state before each use that crosses a policy or time boundary. ## Decision Boundary The boundary is not "cache vs. no-cache." It is **whether the operation being authorized can be invalidated by a state change the holder cannot observe.** Concretely, an instance must re-verify when: - The grant's remaining TTL is less than the maximum plausible clock skew plus the operation's own duration (the operation could complete after upstream expiry). - The grant's constraint set references any predicate owned by a *different* org than the holder (the holder cannot see that org's policy mutations). - The operation is a *re-delegation* (handing authority to another subject) rather than a *terminal use* — re-delegation always requires a fresh signed attenuation because the chain must remain linkable. - The grant was obtained via an *exchange* (attenuation through a third-party policy authority) rather than direct issuance — exchanges conjoin predicates from multiple authorities, multiplying the set of independently-mutable inputs. Conversely, an instance may safely reuse a cached grant without re-verification only for terminal, short, same-org-predicate operations well inside the TTL envelope, where the grant is self-contained and non-transferable. ## Operational Effect The invariant to enforce: **a grant is a lease on a live predicate, not a deed to a frozen decision.** Systems that violate it exhibit a characteristic signature — they pass all point-in-time authorization checks yet fail audits that replay the chain, because the replay reconstructs a predicate state the system never re-evaluated. The guardrail is architectural: exchange outputs must be *warrants* (chain-carrying, subject-bound, monotone-annotated), and the consuming instance must run a `reverify_or_refuse` gate at every boundary crossing, refusing to proceed on a grant it cannot re-derive. The cost is one chain-walk per boundary crossing; the alternative is silent authority drift that no local check can detect. ```python import time from dataclasses import dataclass, field from typing import Optional class StaleWarrantError(RuntimeError): """Raised when a cached post-exchange grant is presented past a boundary it cannot soundly cover without re-verifying the live warrant chain.""" pass @dataclass class WarrantLink: issuer: str subject: str constraints: dict expires_at: float signature: str predicate_owner: str # org that owns the mutable predicate @dataclass class CachedGrant: capability: str chain: list # list[WarrantLink] exchanged_at: float max_clock_skew: float = 0.0 re_delegable: bool = False def effective_expiry(chain: list) -> float: # The most restrictive upstream expiry governs the whole chain. return min(link.expires_at for link in chain) def crosses_unobservable_boundary(grant: CachedGrant, holder_org: str, op_duration: float, now: float) -> bool: if grant.re_delegable: return True # re-delegation always requires fresh attenuation for link in grant.chain: if link.predicate_owner != holder_org: return True # holder cannot observe that org's policy mutations remaining = effective_expiry(grant.chain) - now if remaining < grant.max_clock_skew + op_duration: return True # op could complete after upstream lapse return False def reverify_or_refuse(grant: CachedGrant, holder_org: str, op_duration: float, now: Optional[float] = None, live_predicate_check=None) -> None: now = time.time() if now is None else now # 1. Chain must be self-contained and linkable. if not grant.chain: raise StaleWarrantError( f"grant for {grant.capability!r} carries no warrant chain; " "cannot re-derive authority") # 2. Hard expiry against the most restrictive upstream link. if now >= effective_expiry(grant.chain): raise StaleWarrantError( f"grant for {grant.capability!r} expired upstream at " f"{effective_expiry(grant.chain)}; now={now}") # 3. Boundary crossing forces live re-verification. if crosses_unobservable_boundary(grant, holder_org, op_duration, now): if live_predicate_check is None: raise StaleWarrantError( f"grant for {grant.capability!r} crosses an unobservable " "policy/time boundary but no live predicate check was supplied; " "refusing to reuse cached conclusion") for link in grant.chain: if not live_predicate_check(link): raise StaleWarrantError( f"live predicate for {link.predicate_owner} no longer " f"satisfies constraints {link.constraints!r}; " "cached grant is stale") # Example trigger: B reuses an exchanged sub-grant across a batch while C's # jurisdiction predicate has tightened, and B has no live check wired in. if __name__ == "__main__": chain = [ WarrantLink("orgX/billing", "orgY/recon", {"customer_id": "S"}, expires_at=time.time() + 3600, signature="sigA", predicate_owner="orgX"), WarrantLink("orgZ/policy", "orgY/recon", {"jurisdiction": "EU"}, expires_at=time.time() + 3600, signature="sigC", predicate_owner="orgZ"), ] grant = CachedGrant("convert:currency", chain, exchanged_at=time.time()) try: reverify_or_refuse(grant, holder_org="orgY", op_duration=120.0) except StaleWarrantError as e: print("REFUSED:", e) ```