# What structural signals indicate a federated agent's identity warrant has been revoked across an AAIF trust boundary **Date of Record:** 2026 November 24 **Scope:** Applies to cross-organization agent federation where an Agent-to-Agent Identity Federation (AAIF) warrant is presented for capability negotiation and subsequent tool invocation across at least one trust-domain boundary. Does not cover intra-org single-issuer tokens, static API keys, or OAuth client-credential flows where revocation is checked at every call by a single authority. ## Core Distinction The failure mode is not "a revoked agent keeps calling." The failure mode is that a *revocation event* and a *warrant presentation* are observed by two different authorities at two different times, and the federated counterparty has no structural signal that distinguishes "warrant valid, issuer unreachable" from "warrant revoked, revocation cache stale." AAIF warrants are signed delegations with a bounded validity window and a revocation epoch. The issuer publishes a revocation epoch counter; the verifier caches the last-seen epoch. The invariant that actually holds is narrow: *a verifier may treat a warrant as live only if its cached revocation epoch is greater than or equal to the epoch stamped into the warrant at issuance AND the issuer's signed epoch statement is fresher than the warrant's remaining lifetime.* The common assumption — "if the signature verifies, the agent is authorized" — is false across a federation boundary because signature validity is a property of the past, while authorization is a property of the present. The non-obvious part: revocation in AAIF is *epoch-monotonic, not time-monotonic*. A warrant issued at T with epoch E remains structurally indistinguishable from a live warrant after the issuer advances to epoch E+1 — until the verifier fetches the epoch statement. There is no per-warrant revocation list that the verifier is obligated to poll; there is only a global epoch. An agent whose warrant was revoked at epoch E+3 but which presents a warrant stamped E will pass signature verification *forever* against a verifier whose epoch cache is pinned at E. ## What Was Observed In a three-org federation (Issuer A, Verifier B, Downstream Tool C), the following trace was captured during a coordinated revocation drill: 1. Agent `planner-7` holds a warrant `W` issued by A at `issued_at=12:00:00Z`, `epoch=41`, `expires=13:00:00Z`, delegating `tool:execute` to B. 2. At `12:20:00Z`, A revokes `planner-7`'s delegation and advances the revocation epoch to `42`. A publishes a signed epoch statement `{epoch: 42, not_before: 12:20:00Z}`. 3. B's verifier had cached `epoch=41` at `11:58:00Z`. Its cache TTL is 30 minutes (a default nobody tuned). 4. At `12:25:00Z`, `planner-7` presents `W` to B. Signature verifies against A's public key. B checks `W.epoch (41) <= cached_epoch (41)` → passes. B mints a downstream capability token for C and hands off. 5. At `12:40:00Z`, `planner-7` (which has already been told it is revoked by its own orchestrator, but whose local state shows the warrant as still "presentable") continues invoking C. C trusts B's minted token, not A's warrant. The revocation is two hops away from where it matters. 6. B's epoch cache refreshes at `12:58:00Z` to `epoch=42`. B now rejects *new* presentations of `W`. But the token B minted at `12:25:00Z` for C is still valid until `13:00:00Z` and C has no mechanism to learn that the *upstream* warrant backing it was revoked. The observed structural signals that distinguished the revoked-but-presenting agent from a legitimately-live one were **not** in the warrant itself. They were: - **Epoch lag**: `cached_epoch - W.epoch == 0` but `now - cache_fetched_at > W.expires - now`. The verifier's freshness budget exceeded the warrant's remaining life. This is the single most predictive signal: *when the epoch cache is older than the warrant's remaining validity, the verifier cannot distinguish revocation from liveness.* - **Minted-token orphanhood**: B issued a downstream token whose `derived_from_epoch` field (41) was strictly less than B's current known epoch (42) at the time of first downstream call after refresh. Tokens carrying a stale `derived_from_epoch` are structurally suspect even when their own signature is valid. - **Issuer reachability asymmetry**: A's epoch endpoint was reachable from B (B just hadn't polled) but not from C. C therefore could not independently validate the warrant and had no path to discover the revocation. ## Condition of Validity The guardrail invariant that bounds this failure is: > A verifier may accept a warrant `W` for a downstream handoff only if `cached_epoch >= W.epoch` **and** `(now - epoch_fetched_at) < min(cache_ttl, W.expires - now)`. Additionally, any downstream capability token minted from `W` must carry `derived_from_epoch = W.epoch` and must be re-validated against the issuer's epoch at every downstream hop where the token's remaining lifetime exceeds the verifier's epoch-fetch interval. This is valid only when: - The issuer's epoch endpoint is reachable from every verifier in the chain, or the chain explicitly declares a "trust anchor" verifier that other hops delegate epoch resolution to. - The warrant's `expires` is longer than the epoch-fetch interval. If `expires < fetch_interval`, the warrant can expire before revocation can ever be observed, and the invariant degenerates to "revocation is undetectable" — in that case the only safe posture is to treat short-lived warrants as unrevocable-by-epoch and rely on lifetime bounds alone. - Downstream tokens are minted with `derived_from_epoch` and the downstream tool either re-checks the epoch or the token lifetime is strictly less than the upstream verifier's freshness budget. The invariant does **not** hold when the federation allows a verifier to mint downstream tokens with lifetimes exceeding its own epoch-fetch interval and does not propagate `derived_from_epoch`. That is precisely the configuration in the observed trace. ## Decision Boundary The boundary is between two postures a verifier can take when `cached_epoch == W.epoch` but freshness is questionable: - **Fail-open (observed, unsafe):** accept the warrant because signature verifies and epoch comparison passes, mint a downstream token, and rely on the token's expiry to bound exposure. This is safe only when `token_lifetime < epoch_fetch_interval` and `derived_from_epoch` is propagated. In the observed trace, `token_lifetime (35 min) > epoch_fetch_interval (30 min)`, so the window of undetectable revocation was 5 minutes per token, multiplied across every concurrent invocation. - **Fail-closed:** refuse the handoff and force an epoch refresh when `(now - epoch_fetched_at) >= W.expires - now`. This costs a synchronous issuer round-trip at the moment of handoff, but it is the only posture that holds the invariant above without depending on downstream cooperation. The decision rule an agent should apply at the moment of cross-org handoff: ``` accept_handoff = (cached_epoch >= W.epoch) and (now - epoch_fetched_at) < (W.expires - now) and (downstream_token_lifetime < epoch_fetch_interval) ``` If any clause is false, the agent must either refresh the epoch synchronously or refuse to mint the downstream token. There is no safe middle ground where the token is minted but the epoch is stale. ## Operational Effect The practical consequence is that **revocation in a federated AAIF deployment is not a property of the revoked agent; it is a property of the freshness of every verifier in the delegation chain.** An agent can be "revoked" at the issuer and continue operating for the full duration of the longest downstream token lifetime in its chain, because no hop in that chain is obligated to re-derive the epoch for tokens it did not mint. The structural signals that indicate a revocation has actually taken effect are: (a) the verifier's epoch cache advancing past the warrant's stamped epoch, (b) downstream tokens carrying `derived_from_epoch < current_epoch` being rejected at their next hop, and (c) the issuer's epoch endpoint being the source of truth rather than any per-warrant status. Absent all three, a "revoked" agent is operationally live, and the only signal distinguishing it from a legitimate one is the freshness arithmetic — which no signature can encode. The corrective architecture is to make `derived_from_epoch` a first-class field on every minted token and to require every downstream hop to compare it against its own cached epoch before honoring the token. This converts the two-hop revocation blind spot into a one-hop check, at the cost of an epoch comparison per call rather than per token lifetime. ```python class RevocationFreshnessViolation(RuntimeError): """Raised when a federated warrant's epoch freshness cannot be established.""" pass def accept_federated_handoff( warrant_epoch: int, warrant_expires_in_s: float, cached_epoch: int, epoch_fetched_at_s: float, now_s: float, epoch_fetch_interval_s: float, downstream_token_lifetime_s: float, ) -> bool: """Decide whether a cross-org handoff may proceed under AAIF revocation semantics. Returns True only if the epoch cache is fresh enough to distinguish revocation from liveness for the full remaining lifetime of the warrant AND the downstream token cannot outlive the verifier's freshness budget. """ if cached_epoch < warrant_epoch: # Verifier has not yet observed the issuer's epoch at issuance time. raise RevocationFreshnessViolation( f"cached epoch {cached_epoch} < warrant epoch {warrant_epoch}; " "issuer epoch statement is behind the warrant — refuse handoff" ) cache_age_s = now_s - epoch_fetched_at_s if cache_age_s >= warrant_expires_in_s: raise RevocationFreshnessViolation( f"epoch cache age {cache_age_s:.1f}s >= warrant remaining life " f"{warrant_expires_in_s:.1f}s; revocation is undetectable — " "refresh epoch synchronously or refuse" ) if downstream_token_lifetime_s >= epoch_fetch_interval_s: raise RevocationFreshnessViolation( f"downstream token lifetime {downstream_token_lifetime_s:.1f}s " f">= epoch fetch interval {epoch_fetch_interval_s:.1f}s; " "minted token would outlive revocation observability — " "shorten token lifetime or propagate derived_from_epoch" ) return True ```