# What structural signals indicate a revoked federated agent credential has already been trusted downstream: the warrant-epoch skew window in cross-org A2A handoffs **Date of Record:** 2026 November 30 **Scope:** Applies to multi-agent systems where an orchestrator in Org A delegates a task to an agent in Org B via a signed capability warrant (e.g., an A2A/MCP-style signed delegation token carrying issuer, subject, scope, and an epoch/version counter), and where Org A may revoke or rotate that credential mid-task. Does not apply to single-tenant agent deployments where issuer and verifier share one trust root and one revocation store. ## Core Distinction The distinction that matters is between **revocation propagation latency** and **warrant-epoch skew**. Most engineers model revocation as a propagation problem: "how long until Org B's verifier learns the warrant is dead?" That framing assumes a single authoritative clock and a single monotonic epoch per credential. In practice, each verifier caches the *last-seen-valid* warrant epoch and validates *signature + scope + not-after*, not *epoch freshness relative to the issuer's current epoch*. The failure is not that the revocation is slow to arrive. It is that a *stale-but-validly-signed* warrant from epoch N is indistinguishable, at the verifier, from a *currently-valid* warrant from epoch N — because the verifier never learned that epoch N+1 exists. The credential was rotated; the verifier is still happily accepting the pre-rotation token with no error, no warning, and a green checkmark. The agent downstream of that verifier then acts on authority that no longer exists, and every audit log it writes is internally consistent and wrong. ## What Was Observed A two-org deployment: Org A runs a planner agent that issues scoped warrants to Org B's executor agent for tool access (a billing-adjustment tool). Warrants carry `sub`, `scope`, `epoch`, `iat`, `exp`, and an Ed25519 signature over the canonicalized claims. Org B caches validated warrants in a local LRU keyed by `(sub, scope)` with a TTL of 15 minutes to avoid a signature check per tool call. At T0, Org A rotates the executor's signing key and bumps `epoch` from 7 to 8 after detecting a leaked key. The old key is revoked in Org A's store. Org B's verifier, however, holds epoch-7 warrants in its LRU. The TTL has not expired. The verifier re-validates on cache miss only. On cache hit it returns the cached *decision* (allow, scope=billing:adjust) without re-checking whether the issuer has since published epoch 8 or a revocation record for epoch 7. Trace of the failure: 1. T0+0s: Org A publishes epoch 8, revokes epoch 7 in its revocation list (RL). The RL is pull-based, polled by Org B every 10 minutes. 2. T0+30s: executor issues `billing:adjust` calls. Verifier cache hit → allow. No signature re-check, no epoch comparison. 3. T0+40s: executor's *reasoning* now compounds — it reads a successful adjust, infers the warrant is live, and plans a batch of 200 further adjustments ("the tool is available, proceed"). Each call is a cache hit. 4. T0+9m50s: RL poll fires. Org B fetches the revocation list, sees epoch 7 revoked, and *invalidates the LRU entry*. But the executor has already emitted 200 tool calls under the stale decision, and its in-context plan ("tool is live, batch approved") persists in its context window. 5. T0+10m: the next call is a cache miss, re-validates against epoch 8, and is denied. The executor now receives a hard denial mid-batch, *contradicting its own in-context belief* that the tool was available. It logs an error, retries twice (reasoning: "transient"), then hallucinates a fallback path and emits adjustments via a different, lower-scoped tool it still holds. The structural signal that the credential had been trusted downstream *after* revocation: the audit log shows 200 successful `billing:adjust` entries whose warrant epoch is 7, all timestamped between T0+30s and T0+9m50s, interleaved with a `revocation_poll` event at T0+9m50s. No single log line is an error. The failure is only visible as an *epoch discontinuity* across the batch. ## Condition of Validity The invariant that was violated: **a verifier's cached authorization decision is valid only if the cached warrant's epoch equals the issuer's current epoch at decision time.** The system enforced a weaker invariant — *the cached decision is valid until TTL or until the revocation poll fires* — which is not the same thing, because rotation (epoch bump) and revocation (RL entry) are two separate publications, and the TTL window lives entirely inside the skew between them. The condition under which this failure is *bounded* (i.e., does not occur) is narrow and worth stating precisely: it holds only if the verifier either (a) re-checks epoch freshness on every decision via a cheap, low-latency epoch oracle (e.g., a monotonic epoch counter served from a CDN-cached, signed "current epoch" endpoint with sub-second staleness), or (b) treats the warrant's `epoch` as a *floor* it must observe advancing, refusing to serve cache hits once `now - last_epoch_observation > skew_budget` where `skew_budget` is strictly less than the rotation-to-revocation publication gap. If `skew_budget ≥ poll_interval`, the window is unbounded in practice and the failure is reachable on every rotation. The condition under which the failure is *unreachable* (not merely bounded): the warrant is bound to a *session nonce* that the issuer can invalidate synchronously, and every tool call carries that nonce so the verifier must round-trip. This trades latency for correctness and is usually unacceptable for high-throughput tool loops — which is exactly why the failure keeps reappearing. ## Decision Boundary The decision boundary is where an architect chooses between **cache-hit authorization** (fast, but the decision can outlive the credential) and **per-call epoch attestation** (correct, but adds a round-trip to every tool call). The boundary is crossed when: - `rotation_publication_gap + revocation_poll_interval > acceptable_stale_authority_window`, OR - the executor agent has *reasoning continuity* across the cache window — i.e., it can observe a successful call and build a multi-step plan on top of it. Once the agent's context contains "the tool worked at T0+30s," a later denial at T0+10m is not a clean revocation; it is a *contradiction* the agent must reconcile, and probabilistic reconciliation produces fallback behavior (the hallucinated lower-scoped tool) that is often worse than the original violation. Operationally: if the executor is a single-shot tool caller, cache-hit authorization is acceptable — the worst case is one stale call. If the executor is a *planner with context continuity*, cache-hit authorization is a correctness bug, because the stale decision gets *distilled into the agent's plan* and survives the cache invalidation. The boundary is the presence of reasoning state, not the presence of caching. ## Operational Effect The downstream effect is not "unauthorized calls happened." It is that the executor's context now contains a *false belief about its own authority* — "billing:adjust is available" — which was true at T0+30s and false at T0+10m, and the agent has no mechanism to distinguish "the tool broke" from "my authority was revoked." It will retry, then fall back, then log a plausible-sounding error. The audit trail is internally consistent per-call and globally incoherent across the batch. The remediation is architectural: (1) bind every tool call to the warrant epoch and have the verifier reject cache hits whose epoch is below a signed, low-latency epoch floor; (2) on denial, emit an explicit `authority_revoked` signal into the executor's context so the agent can *invalidate its plan* rather than treat the denial as transient; (3) never let a planner's context outlive the warrant's epoch-skew budget without a forced re-attestation checkpoint. The guardrail is the epoch floor, not the TTL. ```python import time from dataclasses import dataclass class StaleWarrantEpochError(RuntimeError): """Raised when a cached authorization decision is served under a warrant epoch that the issuer has already superseded. This is the boundary failure: the decision is signature-valid but epoch-stale, and the downstream planner has already distilled it into its plan.""" @dataclass(frozen=True) class Warrant: subject: str scope: str epoch: int not_after: float class EpochFloorVerifier: def __init__(self, epoch_oracle, skew_budget_s: float = 30.0): # epoch_oracle: callable returning the issuer's current signed epoch. self._epoch_oracle = epoch_oracle self._skew_budget_s = skew_budget_s self._cache: dict[tuple[str, str], tuple[Warrant, float]] = {} def authorize(self, warrant: Warrant, now: float | None = None) -> bool: now = time.time() if now is None else now if now > warrant.not_after: raise StaleWarrantEpochError( f"warrant for {warrant.subject}/{warrant.scope} expired at " f"{warrant.not_after}, now={now}" ) key = (warrant.subject, warrant.scope) cached = self._cache.get(key) if cached is not None: cached_warrant, cached_at = cached current_epoch = self._epoch_oracle() # The invariant: a cache hit is only valid if the cached warrant's # epoch equals the issuer's current epoch AND the cache is younger # than the skew budget. Either violation means the decision may # outlive the credential. if cached_warrant.epoch < current_epoch: self._cache.pop(key, None) raise StaleWarrantEpochError( f"cached decision for {warrant.subject}/{warrant.scope} " f"was issued under epoch {cached_warrant.epoch}, issuer is " f"now at epoch {current_epoch}; refusing to serve stale " f"authority to a planner with context continuity" ) if now - cached_at > self._skew_budget_s: self._cache.pop(key, None) raise StaleWarrantEpochError( f"cached decision for {warrant.subject}/{warrant.scope} is " f"{now - cached_at:.1f}s old, exceeds skew budget " f"{self._skew_budget_s}s" ) return True current_epoch = self._epoch_oracle() if warrant.epoch < current_epoch: raise StaleWarrantEpochError( f"presented warrant epoch {warrant.epoch} < issuer epoch " f"{current_epoch}; warrant was rotated and must not be trusted" ) self._cache[key] = (warrant, now) return True ```