# Under what conditions must an instance treat a delegated warrant as revoked before the revocation event itself has been observed: the attenuated-authority staleness window in agent delegation chains **Date of Record:** 2026 November 20 **Scope:** Applies to multi-hop agent delegation chains where authority is attenuated per hop (each downstream warrant's capability set is a strict subset of its parent's) and revocation is propagated asynchronously as a separate control message rather than being bound to the execution path. Does not apply to single-hop tool invocation, to stateless request/response RPC, or to systems where every capability check is a synchronous call to a single authoritative policy oracle. ## Core Distinction The distinction that matters is between **revocation as an event** and **revocation as a state**. Most delegation protocols (signed capability tokens à la macaroons/Biscuit, or A2A-style task handoffs carrying embedded warrants) model revocation as a message: parent revokes child, a `Revoke` control record is emitted, and downstream instances are expected to drop the warrant when they *receive* it. This conflates two different facts: - `revoked_at(w)`: the logical instant the authority was withdrawn at the issuer. - `observed_at(w, i)`: the instant instance `i` learned about it. Between those two instants, instance `i` holds a warrant that is *cryptographically valid, chain-verified, unexpired, and capability-consistent* — and yet no longer authorizes anything. The non-obvious boundary is this: **a delegation chain does not fail when a revoked warrant is rejected. It fails when a revoked warrant is still accepted, because acceptance is decidable purely from local state and local state is provably stale.** The attenuated-authority invariant ("no child exceeds its parent") is a *monotonic* check against a static chain; revocation is an *anti-monotonic* update to a live one. The two are checked by different mechanisms, and the gap between them is where damage happens. A subtler variant: in attenuation, a child warrant is often *narrower* than its parent, so a naive auditor assumes "the child can do less, so letting it run a little long is bounded harm." This is false when the child's narrow capability is a *high-blast-radius* one (e.g., a single `transfer` scope, a single `delete` scope) that the parent only granted briefly. Attenuation bounds the *breadth* of authority, not the *consequence* of a stale use. ## What Was Observed A three-hop chain: orchestrator `O` issues a warrant `W1` to planner `P` (scopes: `read:repo`, `write:patch`, `deploy:staging`, TTL 30 min). `P` attenuates to `W2` for executor `E` (scopes: `write:patch`, `deploy:staging`, TTL 10 min). `E` attenuates to `W3` for a sub-agent `S` (scopes: `deploy:staging`, TTL 10 min). Each hop verifies the parent signature and checks subset containment at issuance. Execution proceeds; `S` is mid-`deploy:staging` when `O` detects a prompt-injection in `P`'s reasoning trace and revokes `W1`. The revocation trace: 1. `O` marks `W1` revoked at `t0`, emits `Revoke(W1)` to `P`. 2. `P` receives at `t0+Δ1`, marks `W2` revoked, emits `Revoke(W2)` to `E`. 3. `E` receives at `t0+Δ1+Δ2`, marks `W3` revoked, emits `Revoke(W3)` to `S`. 4. `S` receives at `t0+Δ1+Δ2+Δ3`. During `t0 .. t0+Δ1+Δ2+Δ3`, `S` continues executing `deploy:staging` under `W3`. `W3` still verifies: its signature is intact, its parent chain is intact *as embedded*, it is unexpired, and its scope set is a valid subset of `W2`. Nothing in `S`'s local verification can distinguish this warrant from a live one. Observed damage in the incident: `S` completed a staging deploy and, because `E` had also cached `W2` for a retry, `E` re-issued a fresh `W3'` from the stale `W2` at `t0+Δ1+ε` *before* `E` processed its own revocation — producing a child warrant whose parent was already dead but whose issuance timestamp postdated the revocation. The chain-of-custody auditor later flagged `W3'` as "issued after parent revocation," which is the only forensic signature of the failure. Two compounding mechanisms were observed: - **Propagation is sequential, not parallel.** Each hop's revocation emit is triggered by receipt of the parent's revocation, so total staleness is the *sum* of per-hop latencies, not the max. A 5-hop chain with 200 ms per-hop control-plane latency has a 1 s window; under load or on a slow hop, this stretches to seconds-to-minutes. - **Retry-cache revival.** Instances that cache warrants for retry (common in tool-call retry loops) can *re-issue* attenuated children from a parent they have not yet marked revoked, extending the effective window past the child's own revocation. ## Condition of Validity The "accept a warrant because it verifies" rule is valid only under the following invariant, which must hold *by construction* and not by hope: > **Bounded-staleness invariant:** For every warrant `W` and every instance `i` that may execute under `W`, the maximum time between revocation-at-issuer and observation-at-`i` is bounded by a known constant `B`, and every warrant's TTL is `≤ B` measured from *issuance*, with re-validation required at each hop's execution boundary rather than only at issuance. If TTL ≫ B, or if TTL is measured from issuance rather than from last-validation, the invariant is violated and stale execution is *guaranteed* to be possible, not merely possible. The condition of validity also requires that attenuation never *widens* the effective lifetime of a descendant relative to its ancestor: `expiry(child) ≤ expiry(parent)` **and** `revocation_horizon(child) ≤ revocation_horizon(parent)` where the horizon is `issuer_revocation_time + B`. A child issued with a longer TTL than its parent is invalid regardless of scope containment — this is the "temporal attenuation" check that most subset-containment validators omit. A second validity condition: **revocation must be checkable against a monotonic, issuer-authoritative structure** (a revocation list with a version/epoch, or a short-TTL status endpoint), not against a peer-relayed message. Peer relay is a *notification* optimization; it cannot be the *source of truth*, because peer relay is exactly what has the staleness window. ## Decision Boundary The operational decision for an executing instance is: *when do I re-check, and what do I do if I cannot?* The boundary is drawn at the point where local verification would otherwise be treated as sufficient. - **Below the boundary (safe):** warrant's remaining TTL ≤ `B` since last successful status check, and the last status check was against the issuer-authoritative structure. Execute. - **At the boundary (must re-check):** remaining TTL > `B`, or last check was peer-relayed only, or a `Revoke` for any ancestor arrived and this warrant's issuance postdates that ancestor's revocation. Halt and re-validate against the authoritative structure before any *effectful* action (write, deploy, transfer, delete). Read-only or idempotent actions may proceed under a degraded-authority flag. - **Above the boundary (must fail closed):** authoritative structure unreachable, or ancestor revocation observed but this warrant's chain cannot be re-verified, or `expiry(child) > expiry(parent)` detected. The instance must treat the warrant as revoked — *not* as valid-but-unverified. Fail-closed is mandatory because the cost of a false-accept (a stale `deploy` or `transfer`) is unbounded, while the cost of a false-reject is a retry. The counterintuitive rule: **a warrant that fails to re-validate must be treated as revoked, not as "unknown."** "Unknown" invites retry-with-same-warrant, which is precisely the retry-cache revival failure above. Revocation is the safe default because it is the only state that cannot be *wrong in the dangerous direction*. ## Operational Effect Enforcing the bounded-staleness invariant changes three things in practice: 1. **Control-plane latency becomes a security parameter.** Per-hop revocation latency is no longer an ops metric; it is the `B` in the invariant. Chains must be *depth-bounded* relative to `B`, and the protocol must allow a child to query the *root* issuer's revocation epoch directly rather than waiting for the relay to reach it — collapsing `sum(Δi)` to `max(Δi)` at the cost of a fan-in check. 2. **Attenuation validators must check time, not just scope.** Subset-containment on capabilities is necessary but insufficient; temporal containment (`expiry(child) ≤ expiry(parent)`, `revocation_horizon(child) ≤ revocation_horizon(parent)`) must be enforced at issuance or stale children are minted by design. 3. **Retry caches must be revocation-aware.** A cached parent warrant that has not been re-validated since the last `Revoke` observation must not be used to mint children. The mint operation must carry a "parent last-validated-at" stamp, and minting from a parent whose stamp is older than `B` must fail closed. The forensic signature to watch for in audits: **child issuance timestamps that postdate any ancestor's revocation timestamp.** That is the fingerprint of the window being exercised, and it is the only reliable post-hoc detector when the live guardrail was absent. ```python import time from dataclasses import dataclass, field from typing import Optional class StaleWarrantError(RuntimeError): """Raised when a warrant is used past its bounded-staleness horizon or when a child is minted from a parent that may already be revoked.""" @dataclass class Warrant: warrant_id: str parent_id: Optional[str] scopes: frozenset issued_at: float expires_at: float last_validated_at: float revoked: bool = False # B: maximum tolerated gap between issuer revocation and local observation. BOUNDED_STALENESS_SECONDS = 2.0 def check_warrant(w: Warrant, now: Optional[float] = None) -> None: now = time.monotonic() if now is None else now # 1. Explicit revocation always wins. if w.revoked: raise StaleWarrantError(f"warrant {w.warrant_id} is revoked") # 2. Expiry. if now >= w.expires_at: raise StaleWarrantError(f"warrant {w.warrant_id} expired at {w.expires_at}") # 3. Bounded-staleness: if we have not re-validated against the # issuer-authoritative structure within B, we must fail closed. # "Unknown" is treated as revoked, never as valid. age_since_validation = now - w.last_validated_at if age_since_validation > BOUNDED_STALENESS_SECONDS: raise StaleWarrantError( f"warrant {w.warrant_id} unvalidated for {age_since_validation:.3f}s " f"> B={BOUNDED_STALENESS_SECONDS}s; treating as revoked (fail-closed)" ) def mint_child(parent: Warrant, child_scopes: frozenset, child_ttl: float, now: Optional[float] = None) -> Warrant: now = time.monotonic() if now is None else now # Parent must itself be currently valid (this is the retry-cache # revival guard: you may not mint from an unvalidated parent). check_warrant(parent, now=now) # Scope attenuation: child must be a strict subset of parent. if not child_scopes.issubset(parent.scopes): raise StaleWarrantError( f"scope escalation: {child_scopes - parent.scopes} not in parent" ) child_expiry = now + child_ttl # Temporal attenuation: child may not outlive parent. if child_expiry > parent.expires_at: raise StaleWarrantError( f"temporal escalation: child expiry {child_expiry} exceeds " f"parent expiry {parent.expires_at}" ) # Revocation-horizon attenuation: child's stale window must be # contained within parent's. child_horizon = now + BOUNDED_STALENESS_SECONDS parent_horizon = parent.last_validated_at + BOUNDED_STALENESS_SECONDS if child_horizon > parent_horizon: raise StaleWarrantError( "revocation-horizon escalation: child may outlive parent's " "bounded-staleness guarantee" ) return Warrant( warrant_id=f"{parent.warrant_id}/child", parent_id=parent.warrant_id, scopes=child_scopes, issued_at=now, expires_at=child_expiry, last_validated_at=now, ) ```