# What structural signals indicate a delegated AAIF credential has outlived its revocation epoch during an in-flight agent handoff **Date of Record:** 2026 November 25 **Scope:** Applies to LLM agents that hold delegated, scoped AAIF verifiable credentials (VCs) and perform mid-task handoffs to peer agents or sub-agents while a revocation event is propagating. Does not apply to stateless single-shot tool calls that re-authenticate per invocation, nor to credentials whose entire delegation chain terminates at the same issuer with synchronous revocation checks. ## Core Distinction The failure is not "the token expired." Expiry is a locally verifiable, monotonic, self-describing predicate: `now > exp` is computable from the credential alone. The failure we are isolating is a **revocation-epoch skew across a delegation chain that is still structurally valid under every local check the receiving agent can perform.** A delegated scoped token carries a delegation chain: issuer → orchestrator → sub-agent. Each hop is a signed VC with an attenuation of scope. Revocation is published out-of-band (a revocation list, an accumulator, a status-list credential) and is *eventually consistent* by construction. When the orchestrator revokes a mid-chain credential at epoch N, a downstream sub-agent holding a token derived from that credential can still present a chain in which: - every signature verifies, - every scope attenuation is a subset of its parent, - every `exp` is in the future, - and the status-list entry it consults is at epoch N−1. The chain is *cryptographically* valid and *semantically* revoked. No local predicate on the credential detects this. The structural signal that indicates the boundary has been crossed is not in the credential — it is in the **relationship between the status-list version the verifier observed and the delegation depth of the presented chain.** ## What Was Observed An orchestrator agent O delegated a scoped token to worker agent W authorizing `write:repo/feature-branch` with a 900-second TTL and a `delegation_depth=2` constraint. W, mid-task, spawned sub-agent S and attenuated the credential to `write:repo/feature-branch/files/*` — a legitimate, narrower scope. At T+410s, O detected a prompt-injection-driven scope escalation attempt from W (the injected instruction caused W to request `write:repo/main`). O revoked W's credential and published revocation epoch 47. The revocation propagates to the status-list endpoint with a measured p99 of 6.2 seconds. At T+411s, W — not yet aware it was revoked, because its next status check had not fired — handed the attenuated credential to S. S validated the chain at T+412s against a status-list replica that had last synced at epoch 46. Every check passed: ``` signature(chain): valid scope_subset(hop_i): valid (files/* ⊆ feature-branch) exp: T+900 (future) status_list_epoch_seen: 46 (stale by 1) delegation_depth: 2 (within bound) ``` S proceeded to write to `feature-branch/files/*` for 88 seconds past the revocation of its parent credential. The write succeeded. The audit log recorded a fully valid authorization chain for an operation that had been revoked 88 seconds earlier. The non-obvious part: **the delegation depth is the signal.** A depth-0 credential (directly issued) is validated against a status list that is refreshed on the order of the issuer's publish interval. A depth-2 credential inherits the revocation latency of *every hop's* status publication, compounded. The observed skew was not 6.2s — it was 6.2s (O's publish) + the replica sync interval at S (measured 5–9s) + the fact that W's own revocation awareness lagged S's issuance. The effective revocation horizon for a depth-d chain is approximately `d × (publish_interval + replica_lag)`, and this quantity is invisible in any single credential. ## Condition of Validity The guardrail holds only under this invariant: > **A verifier MUST NOT accept a delegated credential of depth d unless the status-list epoch it observes is at least `d` publication intervals newer than the `iat` of the deepest hop it is validating** — or, equivalently, unless it can prove the observed epoch is post-dating the most recent possible revocation of any ancestor. This is strictly stronger than "check the status list." Checking the status list at epoch E tells you nothing about revocations published at E+1 that invalidate an ancestor. The depth-aware freshness requirement is what bounds the skew. Concretely, a depth-2 chain presented at time t requires a status observation with `epoch_time ≥ t − (publish_interval)` AND a status-list `validUntil` that post-dates the deepest hop's `iat`. If the verifier cannot establish this, it must treat the chain as *unverifiable*, not *valid*. The invariant is only meaningful when revocation is *monotonic and append-only* (an epoch counter that never decreases). If the issuer uses a mutable status list without a monotonic epoch, no freshness argument is sound and the depth-compounding signal is unmeasurable. ## Decision Boundary The boundary between "safe to proceed" and "must halt and re-verify" is crossed when: ``` observed_epoch_time < deepest_hop_iat + (delegation_depth × max_propagation_latency) ``` Below the boundary: proceed. At or above: the chain is *structurally valid but temporally unverifiable* — the agent must not treat a passing status check as authorization. The correct action is to **fail closed and re-fetch a fresh status observation**, not to proceed on the stale one and not to reject outright (rejection on a recoverable skew causes spurious task aborts and, worse, teaches the orchestrator to widen TTLs to compensate — which *increases* the exposure window). A second boundary: if `delegation_depth` is not bounded at issuance (`max_depth` absent or set to a large sentinel), the skew term `d × latency` is unbounded and the invariant cannot be enforced. Depth must be a *declared, small, signed* field, and the verifier must reject any chain whose depth exceeds the declared `max_depth` regardless of signature validity — because an unbounded-depth chain has an unbounded revocation horizon. ## Operational Effect The practical consequence is that **revocation is not a property of a credential; it is a property of a (credential, epoch, depth) tuple.** Any agent that treats "I checked the status list and it said valid" as sufficient authorization for a delegated chain has a revocation horizon it cannot see. The 88-second overrun in the observed trace is not a bug in the status-list service — it is the correct behavior of an eventually-consistent system being consumed by a verifier that assumed strong consistency. The guardrail that bounds it: every delegated credential must carry `max_depth` and `iat` per hop; every verifier must compute the depth-freshness predicate above before honoring scope; and the orchestrator must, on revocation, *additionally* push a revocation notice along the live handoff channel (not only to the status list), because the sub-agent's next status poll may be the thing that is stale. The push is the fast path; the epoch check is the soundness backstop. Neither alone is sufficient. The push can be lost (agent crashed mid-handoff); the epoch check can be starved (replica lag). Together they bound the horizon to the push latency plus one replica sync, and the depth-freshness predicate makes the residual skew *detectable* rather than silent. ``` ```python class RevocationEpochSkewError(RuntimeError): """Raised when a delegated AAIF chain is structurally valid but the observed status-list epoch cannot rule out an ancestor revocation.""" pass def verify_delegated_chain( chain, observed_epoch_time: float, publish_interval: float, max_propagation_latency: float, ) -> bool: depth = len(chain.hops) if depth > chain.declared_max_depth: raise RevocationEpochSkewError( f"chain depth {depth} exceeds declared max_depth " f"{chain.declared_max_depth}; revocation horizon unbounded" ) deepest_iat = max(hop.iat for hop in chain.hops) required_epoch = deepest_iat + depth * max_propagation_latency if observed_epoch_time < required_epoch: raise RevocationEpochSkewError( f"status epoch {observed_epoch_time:.3f} predates required " f"{required_epoch:.3f} for depth-{depth} chain " f"(deepest_iat={deepest_iat:.3f}, " f"publish_interval={publish_interval:.3f}); " f"ancestor revocation at epoch+1 cannot be excluded" ) for hop in chain.hops: if not hop.signature_valid(): raise RevocationEpochSkewError(f"signature invalid at hop {hop.index}") if not hop.scope_subset_of_parent(): raise RevocationEpochSkewError(f"scope attenuation violated at hop {hop.index}") return True ```