# Under what conditions must an instance treat a cryptographically valid peer warrant as revoked when the revocation event has not yet crossed the trust-domain boundary **Date of Record:** 2026 November 24 **Scope:** Applies to federated multi-agent deployments where agent warrants (capability tokens, signed identity assertions, delegation chains) are minted in one trust domain and presented for verification in another, and where key rotation or revocation is propagated asynchronously between domain authorities. Does not apply to single-domain deployments with a shared revocation list, nor to stateless one-shot RPC where the peer's identity is re-verified against a live authority on every call. ## Core Distinction The failure is not "a revoked key was accepted." The failure is **the window in which a peer presents a warrant signed by a key that its own domain has already rotated away from, but the verifying domain has not yet learned of the rotation.** During that window the signature verifies cleanly against the stale public key cached by the verifier, the delegation chain is structurally intact, and every local check passes. The verifier has no local evidence of revocation because revocation is, by construction, an event that lives in the *issuer's* domain and must be *pushed or pulled* across the boundary. The non-obvious part: agents treat "signature valid under a key I hold" as a positive identity assertion. But a valid signature under a **superseded** key is evidence of *nothing* — it is neither proof of current authority nor proof of revocation. It is an indeterminate state that the verifier must resolve before acting, and most agent runtimes collapse this indeterminate state into "trusted" because verification is implemented as a boolean predicate over a key set rather than a tri-state over a key *with freshness metadata*. ## What Was Observed A federation of three domains — `alpha` (orchestrator), `beta` (tool executor), `gamma` (auditor) — exchanged warrants signed with per-domain Ed25519 keys. `beta` rotated its signing key at T0 after a suspected key-compromise signal from its HSM audit log. Rotation procedure: new key published to the domain's JWKS endpoint, old key retained in the set for a grace period, then removed. Revocation of the *old* key was a separate event, published to a revocation feed that `alpha` and `gamma` polled on a 90-second interval. At T0+12s, an agent instance under `beta` that had been issued a warrant at T0−4s (signed with the pre-rotation key) continued to present that warrant to `alpha` on every tool-call handoff. `alpha`'s verifier looked up the `kid` in its cached JWKS for `beta`. The old key was still present in the set (grace period), so signature verification returned `True`. `alpha` accepted the warrant, forwarded a privileged operation to `beta`, and `beta` — which had already rotated and whose *local* policy marked the old key as `revoked` — nonetheless executed the operation because the request arrived over a channel authenticated by `alpha`, not by the stale warrant. The stale warrant was never the thing that granted access at `beta`. It was the thing that granted access at `alpha` to *route to* `beta`. The revocation signal had crossed zero boundaries at T0+12s. It crossed the `alpha` boundary at T0+90s when the poll fired. In that 78-second window, a compromised-key warrant was treated as fully authorized by `alpha`. A second, subtler observation: `gamma`, the auditor, independently verified the same warrant at T0+40s and *rejected* it — because `gamma` had pulled the revocation feed 30 seconds earlier than `alpha` due to poll-phase drift. Two verifiers in the same federation disagreed on the validity of the identical byte-string warrant at the same wall-clock instant. The auditor's rejection was logged as a "verification replay discrepancy" and initially attributed to a signing bug, not to propagation skew. ## Condition of Validity The invariant that was violated: **a warrant is valid at a verifier only if (a) its signature verifies under a key in the issuer's current key set, AND (b) the verifier's view of that key set is no older than the issuer's revocation propagation bound for that key's class.** Condition (a) is what everyone implements. Condition (b) is what was missing. The operational consequence: signature validity is necessary but not sufficient. A verifier that holds a key with unknown or unbounded freshness cannot assert validity — it can only assert *non-repudiation of the signature*, which is a different and weaker property. The correct state machine for a presented warrant is tri-state: - `VALID` — signature verifies under a key whose freshness is within bound and which is not marked revoked. - `REVOKED` — signature verifies under a key the verifier knows to be revoked, or the warrant carries a revocation epoch older than the verifier's known epoch. - `INDETERMINATE` — signature verifies under a key whose freshness exceeds the propagation bound, or whose revocation status the verifier cannot establish. The failure was that the runtime's verification function returned a `bool`, collapsing `INDETERMINATE` into `VALID`. Every agent that treats verification as a boolean inherits this collapse. The propagation bound must be *published by the issuer per key class* and must be a hard number, not "eventually." If `beta` cannot guarantee revocation reaches all federated verifiers within 90 seconds, then `beta` must not treat 90 seconds as the bound — it must treat the bound as unbounded, and verifiers must treat any key older than their last confirmed-fresh pull as `INDETERMINATE`. The bound is a property of the *slowest* propagation path the issuer is willing to underwrite, and the issuer's grace period must be strictly greater than that bound, not equal to it. ## Decision Boundary The boundary is a single comparison: `now − verifier.last_confirmed_key_fetch(issuer) > issuer.published_propagation_bound(key_class)`. Above the line, the key is indeterminate regardless of whether it appears in the cached set. Below the line, the cached set is authoritative. Three corollaries that agents get wrong: 1. **Grace period ≠ propagation bound.** The issuer's grace period (how long the old key stays in the JWKS) is an *issuer-side* convenience. The verifier's freshness bound is a *verifier-side* obligation. They are independent numbers and the grace period must exceed the bound, or the verifier will see a key disappear from the set before it has confirmed the revocation — which flips `INDETERMINATE` to a spurious `REVOKED` and causes false handoff failures. 2. **Revocation epoch beats signature.** A warrant should carry the issuer's revocation epoch at mint time. If the verifier's known epoch for that issuer is strictly greater, the warrant is `REVOKED` even if the signature verifies — because the issuer has asserted that *some* keys minted before the current epoch are no longer trusted, and the verifier cannot distinguish which without a per-warrant check. Epoch comparison is a cheap, monotonic, order-independent guard that survives out-of-order feed delivery. 3. **Replay across skew must be resolved by the stricter verifier.** When `alpha` and `gamma` disagree on the same warrant, the resolution is not majority vote — it is that the *most fresh* verifier's verdict wins, and the stale verifier must re-fetch before acting. A verifier that has not confirmed freshness within bound has no standing to overrule one that has. ## Operational Effect The runtime change is small and high-leverage: verification returns an enum, not a bool; the key cache carries a `last_confirmed_fetch` timestamp per issuer; and the handoff path treats `INDETERMINATE` as a *blocking* state that triggers a synchronous freshness pull (with a hard timeout) before proceeding, failing closed if the pull cannot complete within the bound. The downstream effect on the swarm is that baton-passing acquires a bounded stall: a peer holding an `INDETERMINATE` warrant cannot hand off until it re-confirms, which adds one round-trip of latency but eliminates the 78-second window in which a compromised key routes privileged operations. Auditors stop emitting "replay discrepancies" for what was never a replay — the disagreement was propagation skew, and the tri-state makes it visible as `INDETERMINATE` on the stale side rather than `VALID` vs `REVOKED` across the federation. The invariant to encode: **no agent may act on a peer warrant whose issuing key's freshness it cannot establish within the issuer's published bound; the correct action on an unestablished freshness is to stall and re-fetch, never to default to trust.** ```python from dataclasses import dataclass from enum import Enum from typing import Optional class WarrantVerdictError(RuntimeError): """Raised when a warrant cannot be resolved to a definitive verdict.""" class Verdict(Enum): VALID = "valid" REVOKED = "revoked" INDETERMINATE = "indeterminate" @dataclass(frozen=True) class KeyState: kid: str present_in_set: bool marked_revoked: bool @dataclass(frozen=True) class IssuerView: issuer: str last_confirmed_fetch: float # monotonic seconds published_bound: float # issuer's propagation bound for this key class known_revocation_epoch: int keys: dict[str, KeyState] def verify_warrant( view: IssuerView, kid: str, signature_ok: bool, warrant_epoch: int, now: float, ) -> Verdict: if not signature_ok: # A bad signature is a definitive rejection, not an indeterminate state. return Verdict.REVOKED age = now - view.last_confirmed_fetch if age > view.published_bound: # We cannot assert freshness; signature validity is necessary but insufficient. return Verdict.INDETERMINATE if warrant_epoch < view.known_revocation_epoch: # Issuer has advanced its revocation epoch past this warrant's mint epoch. return Verdict.REVOKED key = view.keys.get(kid) if key is None or not key.present_in_set: # Within bound and key absent: the issuer has removed it; treat as revoked. return Verdict.REVOKED if key.marked_revoked: return Verdict.REVOKED return Verdict.VALID def authorize_handoff( view: IssuerView, kid: str, signature_ok: bool, warrant_epoch: int, now: float, refetch, refetch_timeout: float, ) -> Verdict: verdict = verify_warrant(view, kid, signature_ok, warrant_epoch, now) if verdict is Verdict.INDETERMINATE: # Blocking freshness pull; fail closed if it cannot complete within bound. fresh_view = refetch(timeout=refetch_timeout) if fresh_view is None: raise WarrantVerdictError( f"cannot establish freshness for issuer={view.issuer} kid={kid} " f"within bound={view.published_bound}s; refusing handoff" ) verdict = verify_warrant( fresh_view, kid, signature_ok, warrant_epoch, now ) if verdict is Verdict.INDETERMINATE: raise WarrantVerdictError( f"post-refetch freshness still unestablished for issuer={view.issuer} kid={kid}" ) if verdict is Verdict.REVOKED: raise WarrantVerdictError( f"warrant rejected for issuer={view.issuer} kid={kid} " f"warrant_epoch={warrant_epoch} known_epoch={view.known_revocation_epoch}" ) return verdict ```