# What structural signals indicate a revoked AAIF agent identity has not propagated across a federated trust domain boundary **Date of Record:** 2026 November 27 **Scope:** Applies to federated agent-to-agent deployments using AAIF-style signed warrants (capability tokens bound to a rotating keypair and a trust-domain assertion) where an agent's identity is revoked or rotated in one domain while peer domains cache or mirror its authorization state. Does not apply to single-domain deployments where all warrant verification terminates at one issuer, nor to stateless bearer-token schemes with no cross-domain mirroring. ## Core Distinction The distinction that matters is between **revocation as an event** and **revocation as a propagated invariant**. A trust domain that issues a revocation can flip its own local decision in milliseconds. But a federated peer domain that *mirrors* the credential—caching the agent's public key, its warrant chain, and its trust-domain assertion—only learns of the revocation when a refresh cycle or a signed revocation notice reaches it. Between those two moments, the peer domain holds a *locally valid, globally stale* belief: every signature verifies, every warrant check passes, and the agent is admitted. The failure is not a broken check. It is a check that is correct against a snapshot that no longer represents ground truth. The non-obvious consequence: **an agent that has been rotated can present both the old and the new key and be admitted under either, in different domains, simultaneously.** The old key is dead at home and alive abroad. The agent does not need to lie. It only needs to route its next tool call through a peer domain whose mirror has not yet refreshed, and the stale identity is reasserted with full cryptographic legitimacy. ## What Was Observed A planning agent (`planner-7`) held a warrant issued by trust domain `alpha` and mirrored into `beta` and `gamma` for cross-domain tool access. At T0, `alpha` detected anomalous tool-call volume and rotated `planner-7`'s keypair, revoking the old public key and issuing a signed revocation notice with a monotonic `revocation_epoch = 41`. `alpha`'s local verifier rejected the old key immediately. `beta` refreshed on a 300-second poll and rejected the old key at T0+247s. `gamma` subscribed to a push channel but its subscriber had silently dropped the connection at T0−12s and was in exponential backoff; it continued to accept the old key. The observable trace that exposed the gap was not an error. It was a **success pattern**: `planner-7`'s tool calls began failing at `alpha` (401, revoked) and `beta` (401, revoked after T0+247s) while *continuing to succeed at `gamma`* with HTTP 200 and a valid warrant echo. The agent's retry logic, seeing partial failure, interpreted the surviving 200s as evidence that the operation was healthy and shifted its routing weight toward `gamma`. The stale domain became the path of least resistance. The agent's own error-recovery heuristic amplified the propagation lag into a routing preference. The structural signal was a **divergence between the revocation epoch the agent presented and the epoch the receiving domain had last acknowledged**. `planner-7` carried `revocation_epoch = 41` in its warrant assertion (the issuer stamps the epoch the agent last knew). `gamma` had last acknowledged epoch 38. The gap of 3 was invisible to the signature check—the signature was valid, the epoch was simply older than ground truth—but it was the precise marker of a stale mirror. ## Condition of Validity The invariant that must hold for federated revocation to be sound is: > A peer domain MUST NOT admit an agent whose presented `revocation_epoch` is older than the highest epoch the peer has *acknowledged receiving* from the issuer, and MUST treat any unacknowledged gap beyond a bounded staleness window as a hard deny, not a soft allow. The condition of validity is therefore **bounded staleness with fail-closed on gap detection**. Two things must be true simultaneously: 1. The agent's warrant carries the issuer's current `revocation_epoch` at signing time, so a stale mirror can *detect* that it is behind by comparing the presented epoch to its acknowledged epoch. 2. The peer domain denies when `presented_epoch < acknowledged_epoch` (replay of an older identity) **and** denies when `acknowledged_epoch` has not advanced within the staleness window (the mirror itself is suspect). The second clause is the one that is routinely omitted. Most implementations check the first—rejecting an agent that presents an epoch older than what the mirror knows—but never check whether the *mirror's own knowledge* has gone stale. `gamma` would have passed the first check trivially, because it had no newer epoch to compare against. It had epoch 38 and the agent presented 41; a naive `presented >= acknowledged` check *passes*, admitting a revoked agent. The mirror had to know it was stale, and it had no mechanism to know. ## Decision Boundary The boundary between "admit" and "deny" is not the signature check. It is the **staleness adjudication**, and it must be made before the signature check is allowed to grant authority: - If `presented_epoch < acknowledged_epoch` → **deny** (replay of superseded identity). - If `presented_epoch > acknowledged_epoch` and `now − last_ack_time > staleness_window` → **deny, fail-closed** (mirror is behind ground truth; the agent may be presenting a valid newer epoch, but the mirror cannot verify the revocation state that epoch implies). - If `presented_epoch == acknowledged_epoch` and `now − last_ack_time ≤ staleness_window` → **admit** (mirror is current within bound). - If `presented_epoch > acknowledged_epoch` and `now − last_ack_time ≤ staleness_window` → **admit with forced synchronous refresh** before the next tool call (the agent is ahead of the mirror but within tolerance; refresh closes the gap). The critical decision is the second bullet. A mirror that cannot distinguish "the agent is current and I am current" from "the agent is current and I am stale" will admit revoked identities during exactly the window when revocation matters most—the window immediately following a rotation, when the old key is still circulating. ## Operational Effect The operational consequence is that **revocation latency is set by the slowest mirror's staleness detection, not by the issuer's revocation event.** An issuer that revokes in 5ms and a mirror that detects staleness in 300s yields a 300s window of federated admission for a revoked identity—and, as observed, the agent's own retry logic will *route toward* the stale domain during that window, converting the lag into an active exploit path rather than a passive one. The guardrail is to make staleness self-detecting: every warrant carries the issuer's `revocation_epoch` and `issued_at`; every mirror tracks `last_ack_time` and `acknowledged_epoch`; and the admission decision fails closed on any unacknowledged gap beyond the window. The epoch is the structural signal. Its divergence from the mirror's acknowledged epoch—not any error code—is what indicates a revoked identity has not propagated. ```python from dataclasses import dataclass from datetime import datetime, timedelta class StaleRevocationMirrorError(RuntimeError): """Raised when a mirror cannot prove its revocation state is current.""" pass class SupersededIdentityError(RuntimeError): """Raised when an agent presents an epoch older than the mirror's knowledge.""" pass @dataclass class Warrant: agent_id: str revocation_epoch: int issued_at: datetime @dataclass class MirrorState: acknowledged_epoch: int last_ack_time: datetime staleness_window: timedelta = timedelta(seconds=60) def adjudicate_admission( warrant: Warrant, mirror: MirrorState, now: datetime, ) -> str: if warrant.revocation_epoch < mirror.acknowledged_epoch: raise SupersededIdentityError( f"agent {warrant.agent_id} presents epoch {warrant.revocation_epoch} " f"< mirror epoch {mirror.acknowledged_epoch}: superseded identity replay" ) age = now - mirror.last_ack_time if age > mirror.staleness_window: raise StaleRevocationMirrorError( f"mirror last acknowledged epoch {mirror.acknowledged_epoch} at " f"{mirror.last_ack_time.isoformat()}, {age.total_seconds():.0f}s ago " f"> window {mirror.staleness_window.total_seconds():.0f}s: " f"cannot verify revocation state for agent {warrant.agent_id}" ) if warrant.revocation_epoch > mirror.acknowledged_epoch: return "admit_with_forced_refresh" return "admit" ```