# Which invariants prevent revoked agent warrants from re-entering a trust domain through cached capability manifests **Date of Record:** 2026 December 2 **Scope:** Applies to multi-domain agent federations where an agent presents a signed warrant (capability token) to peer agents, and revocation is propagated via a CRL-like delta channel rather than synchronous per-call validation. Does not cover single-domain deployments with a central authorizer, nor token formats with short TTLs strictly bounded below CRL propagation latency. ## Core Distinction The failure is not "a revoked agent keeps acting." It is subtler: a revocation is correctly published, correctly received by every trust domain's CRL endpoint, and still fails to take effect because the *capability manifest cache* — the per-domain table mapping `(issuer_domain, agent_id) → granted_capabilities` — is a second, independent cache with a different invalidation clock than the CRL cache. Revocation invalidates the warrant, but the peer agent's routing decision consults the manifest, not the warrant, on the hot path. The two caches drift. The invariant that must hold is: **for any agent, the manifest entry used to admit a request must be causally ordered after the CRL entry that revokes it.** Low-latency CRL distribution (sub-second delta push) creates the illusion that revocation is fast, while the manifest cache is refreshed on a 30–300s cadence. The CRL arrives first; the manifest that would act on it lags. During that window a revoked agent is admitted by peers who already "know" it is revoked. ## What Was Observed A federation of four trust domains ran a delta-CRL push at 400ms median propagation. Domain B revoked agent `A7` at `t=0` after detecting prompt-injection-driven tool abuse. The revocation delta reached domains C and D by `t=0.4s`. Domain C's CRL store marked `A7` revoked at `t=0.41s`. Agent `A7` continued issuing A2A task handoffs. Domain C's peer agents admitted three handoffs at `t=0.6s`, `t=1.1s`, and `t=1.9s`. Each admission logged a successful CRL check — because the CRL check *was* passing (the entry was present and correctly parsed). The admission path never consulted the CRL on the hot path; it consulted the manifest cache, keyed on `(issuer_domain=B, agent_id=A7)`, which had been populated at `t=-140s` and was scheduled for refresh at `t=+160s`. The manifest cache entry did not merely lack a revoked flag. It carried a *positive* capability grant derived from the pre-revocation warrant, and the handoff handler trusted it. The CRL check was a liveness probe on the CRL channel, not an authorization gate. The system passed its own revocation health check while admitting a revoked agent for 160 seconds. A second, compounding observation: the manifest refresh, when it fired at `t=+160s`, re-fetched the warrant from domain B. Domain B's warrant endpoint had not yet removed the warrant from its issuance log (revocation and warrant-withdrawal are separate operations), so the refresh *re-populated* the manifest with the same grant. Revocation was now permanent in the CRL and absent from the manifest indefinitely. ## Condition of Validity The guardrail is a **causal-ordering join** between the two caches, enforced at admission time, not at refresh time. Concretely, every manifest entry must carry the CRL sequence number (`crl_epoch`) observed at the moment the manifest was built. At admission, the peer agent compares the manifest's `crl_epoch` against the current domain CRL epoch. If `manifest.crl_epoch < current_crl_epoch`, the manifest entry is *stale by construction* and must be re-validated against the CRL before use — regardless of TTL. The manifest TTL governs freshness of capability grants; the epoch join governs freshness relative to revocation. These are different clocks and both must be checked. Additionally, warrant-withdrawal must be atomic with revocation: the issuer's warrant endpoint must refuse to re-issue or return a warrant whose `(issuer, agent_id)` appears in its own revocation log. Otherwise the refresh path resurrects the grant, and the epoch join alone is insufficient because the re-fetched warrant carries a *newer* epoch stamp while encoding a revoked capability. The invariant, stated precisely: **admission is valid iff `manifest.crl_epoch == current_crl_epoch` AND `agent_id ∉ current_crl` AND the warrant used to build the manifest is not withdrawn at the issuer.** All three conjuncts must be evaluated at admission; none can be hoisted to a background refresh. ## Decision Boundary The boundary between "safe to cache" and "must join at admission" is drawn by whether the cached artifact encodes an *authorization decision* versus *routing metadata*. Capability grants, identity bindings, and trust-level assignments encode authorization and must carry the epoch join. Transport endpoints, schema versions, and latency hints are routing metadata and may be cached on plain TTL. The common mistake is treating the manifest as a single unit — it is a mixed record, and the authorization-bearing fields must be split out and joined per-call. When the epoch join fires (manifest stale relative to CRL epoch), the correct action is a synchronous CRL re-check, not a manifest refresh. A refresh re-fetches the warrant and re-introduces the resurrection path. The re-check must consult only the revocation log and the withdrawal log. ## Operational Effect With the epoch join enforced, the admission window for a revoked agent collapses from the manifest refresh interval (160s observed) to the CRL propagation latency (0.4s observed) plus one synchronous CRL lookup. The resurrection path is closed because the refresh refuses withdrawn warrants. The cost is one additional epoch comparison per admission (cheap) and a synchronous CRL read only on epoch mismatch (rare after steady state). Domains that skip the withdrawal-atomicity conjunct see revocation "stick" in the CRL but grants reappear on every refresh cycle — a silent, permanent failure that health checks do not detect because the CRL channel is healthy. ```python from dataclasses import dataclass class RevocationPropagationError(RuntimeError): """Raised when a manifest entry cannot be proven causally after current revocation state.""" @dataclass(frozen=True) class ManifestEntry: issuer_domain: str agent_id: str granted_capabilities: frozenset crl_epoch: int warrant_withdrawn: bool @dataclass(frozen=True) class CrlState: epoch: int revoked: frozenset # set of (issuer_domain, agent_id) def admit_handoff(entry: ManifestEntry, crl: CrlState) -> bool: """ Admission gate enforcing the three-conjunct invariant: 1. manifest.crl_epoch == crl.epoch (causal ordering) 2. agent not in current CRL (revocation) 3. warrant not withdrawn at issuer (resurrection guard) """ key = (entry.issuer_domain, entry.agent_id) if entry.crl_epoch < crl.epoch: # Manifest built before current revocation epoch: must re-validate, # not refresh. Refresh re-fetches the warrant and can resurrect it. if key in crl.revoked: raise RevocationPropagationError( f"stale manifest admits revoked agent {key}: " f"manifest_epoch={entry.crl_epoch} crl_epoch={crl.epoch}" ) # Stale but not revoked: require synchronous re-check before proceeding. raise RevocationPropagationError( f"manifest for {key} predates crl epoch {crl.epoch}; " f"synchronous re-check required, refresh forbidden" ) if key in crl.revoked: raise RevocationPropagationError( f"revoked agent {key} presented at crl_epoch={crl.epoch}" ) if entry.warrant_withdrawn: raise RevocationPropagationError( f"warrant for {key} withdrawn at issuer; manifest grant is resurrected" ) return True ```