# Where must an instance halt when a revoked signing key is still inside the grace window of a federated peer? **Date of Record:** 2026 November 26 **Scope:** Applies to fleets of LLM agents that authenticate inter-agent calls (A2A handoffs, MCP tool brokers, auditor attestations) using per-instance asymmetric keys whose validity is governed by more than one trust domain's revocation list. Does not apply to single-domain deployments with a single authoritative revocation source, nor to symmetric shared-secret schemes. ## Core Distinction The failure this record isolates is not "a revoked key was accepted." Every engineer guards against that. The failure is subtler: **a key that is revoked in the issuer's home domain but still within the *grace window* of a federated peer domain, where the peer's revocation propagation is asynchronous.** The peer will eventually learn of the revocation, but "eventually" is a bounded, published interval (e.g., 300s) during which the peer will *continue to accept signatures* from the revoked key and will *assert positive verification* to any agent that asks. The distinction that matters operationally is between two different questions an agent can ask a peer: 1. "Is this signature valid?" — the peer answers from its cached, possibly-stale revocation set. It says **yes**. 2. "Is the key that produced this signature currently trusted *by its own issuer*?" — only the issuer can answer this authoritatively, and the peer is structurally incapable of answering it during the grace window. An agent that conflates (1) with (2) will accept a handoff, a tool invocation, or an audit attestation from a key that its own home domain has already burned. The signature is cryptographically intact. The peer's assertion is honest. And the operation is nonetheless a revocation bypass. This is the boundary condition: **verification-by-peer is not verification-by-issuer, and the gap is exactly the grace window.** ## What Was Observed A planner agent `P` in trust domain `alpha` delegated a sub-task to worker `W` in domain `beta` via a signed warrant chain. `W`'s signing key `K_beta_7` was rotated after a suspected compromise in `beta`; `alpha`'s revocation feed for `beta` is pull-based on a 300s interval, and `beta`'s own CRL is push-published with a 60s propagation SLA. At `t=0`, `beta` revoked `K_beta_7`. At `t=0..280s`, `alpha`'s local cache still listed `K_beta_7` as valid. During that window, `P` received a *new* warrant signed by `K_beta_7` and — because `alpha`'s cache said the key was live — accepted it, admitted the warrant into its reasoning context, and used it to authorize a downstream tool call. The tool broker, also in `alpha`, re-checked against the same stale cache and agreed. The result: a compromised key authorized a tool invocation 4 minutes after its own issuer had declared it dead, and every agent in the chain *correctly reported that verification passed*. The trace is the dangerous part. There was no exception, no failed signature, no disagreement between agents. The system was internally consistent and externally wrong. The only entity that knew the truth was `beta`, and nobody asked `beta` — because the protocol never required a live issuer check, only a peer-cache check. A second observation compounded it: when `P` later checkpointed its state (mid-task, as agents do), it serialized the *accepted warrant* into its episodic memory. On cold-start resume at `t=400s`, after `alpha`'s cache had refreshed and `K_beta_7` was now correctly marked revoked, `P` replayed its checkpoint, found the warrant already "verified" in its own episodic store, and **skipped re-verification** on the grounds that it had been validated at admission time. The revocation was now laundered through the agent's own memory. The stale-cache window had become permanent. ## Condition of Validity The guardrail only holds under a precise condition, and stating it wrong is how teams ship the bug: > A signature from a federated peer is admissible into an agent's reasoning context **if and only if** it carries a *live issuer attestation* whose freshness bound is tighter than or equal to the issuer's revocation-propagation SLA, **or** it is admitted under an explicit *grace-window lease* that (a) is recorded with the admission timestamp, (b) is invalidated on any subsequent revocation event for that key, and (c) is **never** persisted across a checkpoint as a terminal "verified" state. Three corollaries that are easy to violate: - **Freshness must be bound to the issuer, not the peer.** A peer asserting "valid as of my last sync" is not a freshness guarantee; it is a statement about the peer's cache age, which the peer does not control. - **A cached positive verification is not evidence.** The moment a positive result is written to memory as a durable fact, it detaches from the revocation feed that could invalidate it. Verified-at-admission must be stored as `(result, issuer_freshness_at, lease_expiry)`, never as a bare boolean. - **Grace windows do not compose.** If `alpha` grants `beta` a 300s grace and `beta` grants `gamma` a 300s grace, a key revoked in `gamma` can be live in `alpha` for up to 600s through transitivity. Any federated chain must cap cumulative grace at the *minimum* SLA along the path, not the sum. ## Decision Boundary The boundary an agent must enforce is: **at what point does a peer's "valid" become insufficient, and the agent must either obtain issuer liveness or refuse?** The decision is not "trust the peer" versus "trust nobody." It is a three-way branch keyed on the *age of the issuer's last authoritative statement* relative to the *issuer's declared revocation SLA*: - If `now - issuer_last_seen <= issuer_revocation_SLA`: the peer's positive is *backed* by a recent issuer statement. Admit; record issuer freshness. - If `issuer_revocation_SLA < now - issuer_last_seen <= issuer_revocation_SLA + grace`: the peer's positive is *unbacked*. This is the danger zone. The agent must either perform a live issuer check (a direct call to the issuer's revocation endpoint) or admit under a **non-persistable, revocable lease** that is re-checked before any *consequential* action (tool call, fund movement, state mutation), not merely at admission. - If `now - issuer_last_seen > issuer_revocation_SLA + grace`: refuse. The peer's cache is too old to mean anything. The non-obvious rule that prevents the observed failure: **consequential actions require issuer-backed freshness, not peer-backed freshness.** Admission into context can tolerate a lease; the tool call cannot. This splits the verification gate into two: a cheap, lease-tolerant *admission gate* and an expensive, issuer-live *commit gate*. Collapsing them into one gate is what let the stale warrant authorize the tool call. ## Operational Effect When this boundary is enforced, three things change measurably: 1. **The revocation bypass window collapses from `peer_SLA` to `0` for consequential actions**, at the cost of one live issuer round-trip per commit. Latency on the commit path rises by the issuer RTT; admission stays fast. 2. **Checkpoint replay can no longer launder a stale positive.** Because leases are non-persistable and re-checked at commit, a resumed agent that replays a warrant from episodic memory re-enters the commit gate and re-queries the issuer — and now correctly refuses. 3. **Cumulative grace is bounded by the minimum SLA on the path**, eliminating the transitive 2× window that federated chains otherwise silently create. The cost is real: a hard dependency on issuer liveness at commit time means issuer outages block commits. That is the correct failure direction — fail-closed on a revocation question — but it must be an explicit, monitored dependency, not an emergent one discovered during an incident. The invariant to write into the agent runtime is simple and testable: *no consequential action may proceed on a verification whose issuer freshness exceeds the issuer's revocation SLA.* Encode it as a typed refusal, not a warning. ```python import time from dataclasses import dataclass class RevocationFreshnessError(RuntimeError): """Raised when a consequential action would proceed on a peer-backed verification whose issuer freshness exceeds the issuer's revocation SLA.""" @dataclass(frozen=True) class Verification: key_id: str issuer: str issuer_last_seen: float # epoch seconds of last authoritative issuer statement peer_asserted_valid: bool admitted_at: float def commit_gate( v: Verification, issuer_revocation_sla: float, grace: float, now: float | None = None, ) -> None: """Gate for consequential actions (tool calls, state mutation, funds). Admission into reasoning context may tolerate a lease; committing may not. """ now = time.time() if now is None else now if not v.peer_asserted_valid: raise RevocationFreshnessError( f"peer asserts key {v.key_id} invalid; refuse commit" ) issuer_age = now - v.issuer_last_seen # Danger zone: peer says valid, but issuer hasn't spoken within its own SLA. if issuer_age > issuer_revocation_sla: if issuer_age <= issuer_revocation_sla + grace: raise RevocationFreshnessError( f"key {v.key_id} from issuer {v.issuer}: peer-backed positive " f"but issuer freshness {issuer_age:.1f}s exceeds SLA " f"{issuer_revocation_sla:.1f}s (inside grace). " f"Commit requires live issuer check." ) raise RevocationFreshnessError( f"key {v.key_id}: issuer freshness {issuer_age:.1f}s exceeds " f"SLA+grace {issuer_revocation_sla + grace:.1f}s; fail closed." ) def replay_from_checkpoint( v: Verification, issuer_revocation_sla: float, grace: float, now: float | None = None, ) -> None: """A resumed agent must NOT trust a persisted 'verified' boolean. It re-enters the commit gate, which re-queries issuer freshness.""" # Deliberately re-run the gate; a persisted positive is not evidence. commit_gate(v, issuer_revocation_sla, grace, now=now) ```