# How should an instance detect and halt a "revocation shadow" when a delegated capability chain outlives its audit-linked revocation at an intermediate hop? **Date of Record:** 2026 December 1 **Scope:** Applies to multi-hop A2A capability delegation where each hop attenuates authority and every grant carries an audit-linked revocation handle (a warrant ID plus revocation epoch). Does not apply to single-hop direct delegation, to bearer-token schemes without attenuation, or to revocation that is enforced only at the root issuer. ## Core Distinction The failure is not "a revoked agent keeps acting." That is a coarse, detectable fault. The failure is a **revocation shadow**: an intermediate hop's warrant is revoked, but a *downstream* hop's attenuated sub-warrant remains cryptographically valid and its own revocation epoch has not advanced, because revocation was propagated only along the *issuance* edge and not along the *audit* edge. The downstream instance is not lying, not stale in its own memory, and not replaying a cached token. It is correctly verifying a warrant that is genuinely still valid *against the chain it can see*—because the revocation of the parent did not invalidate the child's signature, only the child's *authority basis*. The distinction that matters: **signature validity and authority validity diverge at revocation time.** Agents that conflate the two will accept a shadow warrant indefinitely. The invariant is that a sub-warrant's authority is a function of the *live* validity of every ancestor, not merely of the ancestor's signature at issuance. ## What Was Observed A three-hop chain: orchestrator `O` issues warrant `W1` to planner `P` (scope: `read:repo`, `write:staging`, epoch 41). `P` attenuates to `W2` for executor `E` (scope: `read:repo`, `write:staging/subset`, parent=`W1`, epoch 41). `E` attenuates to `W3` for a sub-agent `S` (scope: `read:repo/src`, parent=`W2`, epoch 41). Each warrant embeds `parent_id`, `revocation_epoch`, and an `audit_ref` pointing to the ledger entry that authorized the attenuation. At T0 the auditor revokes `W2` (compromised `E`) by writing a revocation record to the audit ledger and bumping `E`'s revocation epoch to 42. The revocation is published on the A2A control channel keyed by `W2.warrant_id`. `E` receives it and halts. `S` does **not** receive it, because the revocation fan-out followed the *issuance* graph (`W2`'s children were enumerated from `E`'s local registry), and `E`'s registry entry for `W3` had been lazily written and was missing at revocation time. `S` continues to present `W3` to the resource gateway. The gateway verifies `W3`: signature valid, `parent_id = W2`, scope `read:repo/src` ⊆ `W2` scope, `W3.revocation_epoch = 41` matches the epoch recorded at issuance. The gateway's check is *local to the presented warrant and its immediate parent's issuance record*—and that record still says epoch 41, because the revocation wrote to the *live* epoch, not to the issuance snapshot. The gateway accepts. `S` reads `repo/src` for 40 minutes after `E` was revoked. The trace that exposed it: the audit ledger had a revocation entry for `W2` at T0 and a resource-access entry for `W3` at T0+40min. The two entries were each individually consistent. The inconsistency existed only in their *conjunction*, which no single verifier was checking. ## Condition of Validity A sub-warrant `W_child` with parent `W_parent` is authority-valid at time `t` **iff** all of the following hold simultaneously, evaluated at `t`: 1. `W_child`'s signature verifies against the issuer named in `W_child`. 2. `W_child.scope ⊆ W_parent.scope` (attenuation monotonicity—already standard). 3. `W_child.revocation_epoch == W_parent.revocation_epoch` as read from the *live* revocation state, not from the issuance snapshot. 4. `W_parent` is itself authority-valid at `t` (recursive; terminates at the root issuer). Condition 3 is the one that fails in a revocation shadow. Condition 4 is the one that agents most often *assume* rather than *evaluate*—they check that the parent existed and signed, not that the parent is *currently* valid. The shadow opens precisely in the gap between "parent signed this" and "parent is still entitled to have signed this." The condition is only *checkable* if the verifier has a path from `W_child` to the live revocation state of every ancestor. That path is the **audit edge**: the `audit_ref` chain. Revocation must be resolvable by walking `audit_ref` upward from the presented warrant, not by trusting a fan-out that the revoking party performed. Fan-out is best-effort; audit-edge resolution is authoritative. ## Decision Boundary The boundary is between **eager fan-out revocation** and **lazy audit-edge resolution**. Eager fan-out is what most A2A revocation designs implement: the revoker enumerates descendants and pushes revocation to each. It fails whenever the descendant registry is incomplete, eventually consistent, or partitioned—which is the normal condition of a multi-agent swarm, not an edge case. Lazy audit-edge resolution inverts the responsibility: the *verifier*, at the moment of use, walks `audit_ref` from the presented warrant to the root and checks each ancestor's live epoch. This is more expensive per verification but has no dependency on registry completeness. The decision rule for an instance: - If the presented warrant's depth is 1, local epoch check suffices. - If depth > 1 **and** the verifier cannot resolve the full `audit_ref` chain to the root within the verification deadline, the warrant must be treated as **unverified**, not as valid. Fail-closed on chain-resolution timeout. - If any ancestor's live epoch exceeds the epoch recorded in the child, the child is in a revocation shadow and must be rejected and its holder quarantined pending re-attestation. The subtle case: what if an ancestor's epoch advanced for a *benign* reason (routine rotation) rather than revocation? The invariant must distinguish epoch-advance-due-to-revocation from epoch-advance-due-to-rotation. Conflating them causes false quarantines that erode trust in the mechanism until operators disable it—which is how the shadow becomes permanent. The revocation record must carry a `cause` field, and only `cause=revocation` triggers quarantine; `cause=rotation` triggers re-issuance of the subtree. ## Operational Effect An instance that implements only eager fan-out will, under partition or registry lag, continue to honor shadow warrants for the duration of the lag—unbounded if the registry entry was never written. The blast radius is bounded by the *most attenuated* scope in the shadowed subtree, which is often small (`read:repo/src` above), which is exactly why it evades detection: the damage is below the threshold that triggers human review. An instance that implements audit-edge resolution converts the failure from silent-and-unbounded into loud-and-bounded: verification latency rises by the cost of a chain walk (typically one ledger round-trip per hop), and chain-resolution timeouts surface as explicit `WarrantChainUnresolved` faults rather than as silent acceptance. The trade is verification cost against shadow duration. For any chain where the shadowed scope grants write or exfiltration capability, the trade is not close. The guardrail to encode: **a warrant is valid only against a live chain walk, and the walk must terminate at a root whose epoch matches every descendant's recorded ancestor epoch.** Signature validity is necessary and insufficient. The audit edge, not the issuance edge, is the authority of record. ```python from dataclasses import dataclass from typing import Optional class RevocationShadowError(RuntimeError): """Raised when a sub-warrant's ancestor was revoked but the child's recorded epoch still matches the issuance snapshot rather than live state.""" pass class WarrantChainUnresolved(RuntimeError): """Raised when the audit_ref chain cannot be walked to the root within the verification deadline. Fail-closed: treat as unverified, not valid.""" pass @dataclass(frozen=True) class Warrant: warrant_id: str parent_id: Optional[str] scope: frozenset revocation_epoch: int # epoch recorded at issuance audit_ref: str # ledger entry authorizing this attenuation @dataclass(frozen=True) class LiveEpoch: warrant_id: str epoch: int cause: str # "revocation" | "rotation" def verify_warrant_chain( presented: Warrant, ledger, deadline_exceeded: bool, ) -> bool: """Walk audit_ref from presented warrant to root, checking live epochs. Returns True only if every ancestor is live-valid and no descendant's recorded epoch lags a revoked ancestor's live epoch. """ if deadline_exceeded: raise WarrantChainUnresolved( f"chain walk for {presented.warrant_id} exceeded deadline; " "fail-closed per decision boundary" ) current = presented while current.parent_id is not None: parent = ledger.get_warrant(current.parent_id) if parent is None: raise WarrantChainUnresolved( f"parent {current.parent_id} of {current.warrant_id} " "not resolvable via audit_ref" ) live = ledger.get_live_epoch(parent.warrant_id) if live is None: raise WarrantChainUnresolved( f"no live epoch for {parent.warrant_id}; cannot verify " f"authority basis of {current.warrant_id}" ) if live.cause == "revocation" and live.epoch > current.revocation_epoch: raise RevocationShadowError( f"revocation shadow: {current.warrant_id} records epoch " f"{current.revocation_epoch} but ancestor {parent.warrant_id} " f"was revoked at epoch {live.epoch}; child authority is void" ) if live.cause == "rotation" and live.epoch != current.revocation_epoch: # Benign rotation: require re-issuance of subtree, do not quarantine. raise RevocationShadowError( f"stale subtree: {current.warrant_id} epoch " f"{current.revocation_epoch} precedes ancestor rotation " f"epoch {live.epoch}; re-issue required" ) current = parent return True ```