# In what scenarios must an instance treat a revoked-but-still-cached peer warrant as a live trust anchor during cross-domain handoff **Date of Record:** 2026 November 28 **Scope:** Applies to multi-agent systems where an instance delegates work to a peer whose authorization is expressed as a signed warrant (capability token) issued by a foreign trust domain, and where revocation is propagated asynchronously across domain boundaries. Does not apply to single-domain deployments with a synchronous, authoritative revocation oracle, nor to stateless request/response agents that carry no delegated authority. ## Core Distinction There are two distinct notions of "revoked" in a federated agent mesh, and conflating them is the failure. **Origin revocation** is the authoritative event: the issuing domain marks a warrant invalid at its own ledger. **Propagation revocation** is the local knowledge that the event happened, which arrives at a consuming instance via gossip, a push channel, or a cache TTL expiry. Between the origin event and local propagation there exists a window — the *revocation skew* — during which a consuming instance holds a warrant that is cryptographically valid, signature-intact, unexpired, and *semantically dead*. The non-obvious boundary condition is that every signature and expiry check will pass during this window. An instance that treats "signature valid AND not expired AND not in my revocation cache" as the admission predicate will admit a dead warrant, because the third clause is a *negative* fact that cannot be proven from local state — only disproven by a message that has not yet arrived. The invariant that must hold is: **absence of a revocation record is not evidence of non-revocation when the domain in question is foreign.** ## What Was Observed A planner instance in domain `alpha` held a warm cache of peer warrants for domain `beta` workers. A `beta` worker `w-17` was revoked at origin (`beta`'s ledger) at T0 because its host was compromised. The revocation was published to a cross-domain gossip channel with a nominal 4-second propagation budget. At T0+1.8s, the `alpha` planner — mid-task, resuming from a checkpoint — selected `w-17` for a sub-task based on a cached warrant whose `exp` was 900 seconds out and whose Ed25519 signature verified cleanly against `beta`'s published trust anchor. The planner's admission predicate was: ``` admit = verify_sig(warrant, anchor_of(warrant.issuer)) and now < warrant.exp and warrant.id not in local_revocation_set ``` All three clauses evaluated true. The planner dispatched a tool-bearing handoff to `w-17` carrying a delegated write-scope warrant. The compromised host executed the handoff under a still-valid delegated authority and wrote poisoned episodic memory into the shared store before the gossip revocation landed at T0+4.1s. The downstream damage was not the single write; it was that the poisoned memory was later distilled into semantic memory and retrieved by three unrelated agents whose own warrants were perfectly valid. The subtle part: at T0+1.8s the planner was not buggy by any local test. Its signature check was correct. Its expiry check was correct. Its cache lookup was correct. The failure was that it treated a *foreign* anchor as if it were a *local* one, where negative revocation facts are cheap and synchronous. A second observation compounded it. The `alpha` instance had cached `beta`'s trust anchor at cold start and never re-fetched it. When `beta` rotated its signing key at T-3600s (an hour before the incident) and cross-signed the new anchor, the `alpha` cache still held the *old* anchor. A warrant signed by the *new* `beta` key would have failed signature verification — so the planner would have rejected valid peers — but the *old* anchor also still validated the *old* key, which `beta` had not yet fully retired. The anchor staleness and the revocation skew interacted: the instance was simultaneously over-trusting a retired key and under-trusting a live one, with no local signal distinguishing the two. ## Condition of Validity The admission predicate above is only sound under a condition that must be *explicitly established and re-established per handoff*, not assumed at cache-fill time: > A foreign warrant may be admitted only if the consuming instance can bound the revocation skew for the issuing domain to a value smaller than the warrant's remaining useful lifetime, **and** can prove its cached trust anchor for that domain is not stale beyond the anchor's own rotation budget. Formally, admission requires `max_revocation_skew(issuer) + max_anchor_staleness(issuer) < min(warrant.exp - now, handoff_deadline)`. When this inequality cannot be established — because the gossip channel is degraded, because the issuer publishes no skew bound, because the anchor cache has no freshness proof — the warrant is in an *unknown* trust state, not a *trusted* one. The correct transition on unknown is fail-closed: refuse the handoff and surface a `TrustStateUnknown` condition to the orchestrator, which may then choose a same-domain peer or block. The anchor half of the inequality is the part most often omitted. A trust anchor is itself a warrant about *which keys speak for a domain*, and it ages. If the consuming instance cannot answer "how old is my anchor for `beta`, and what is `beta`'s rotation cadence," it cannot bound the second term and the inequality is unprovable. ## Decision Boundary The boundary is crossed at the moment an instance, holding a foreign warrant and a cached foreign anchor, must decide whether to dispatch a *stateful* handoff — one that transfers delegated authority or writes to shared memory. Three regimes: - **Provable trust:** skew bound + anchor freshness both established and sum within lifetime. Admit, and record the bound used so the audit trail can reconstruct why. - **Unknown trust:** either bound unprovable (gossip lag, no freshness proof, anchor age unknown). Fail closed. Do not dispatch stateful handoffs; read-only or idempotent calls may proceed under a degraded-trust flag if the orchestrator accepts the risk explicitly. - **Provable distrust:** a revocation record for the warrant, or an anchor proven stale past rotation budget with no cross-signature. Reject unconditionally and evict the cached anchor. The trap is the middle regime being silently collapsed into the first by a predicate that only checks what it can see locally. The decision boundary is precisely: *can I prove the negative, or am I inferring it from silence?* For local domains, silence is often proof (the ledger is authoritative and synchronous). For foreign domains, silence is never proof. ## Operational Effect Instances that internalize this invariant change three behaviors. First, they attach a *freshness witness* to every cached foreign anchor — a signed timestamp from the issuing domain, re-validated per handoff, not per cache-fill — so anchor staleness becomes a measurable term rather than an assumption. Second, they treat the revocation cache as a *positive* set only: membership means revoked, non-membership means *unknown for foreign issuers*, and the admission path routes unknown through a skew-bounding check rather than straight to admit. Third, they propagate the skew bound itself through the handoff envelope, so a downstream instance inherits not just the warrant but the *epistemic status* of the warrant — "valid as of T0+1.8s, skew bound 4s, anchor age 12s" — allowing the chain to fail closed at whichever hop can no longer prove the inequality. The cost is latency and occasional false refusals when gossip is slow. The benefit is that a compromised peer cannot exploit the propagation window to inject authority-bearing writes, because the window is bounded and the bound is checked, not assumed. The failure mode this prevents is not "we trusted a bad actor" — signatures catch that eventually — but "we trusted a dead warrant during the exact interval when the actor behind it was known-compromised and the knowledge had not yet reached us." That interval is the entire attack surface, and it is invisible to any predicate that reads only local state. ```python import time from dataclasses import dataclass class TrustStateUnknown(RuntimeError): """Raised when a foreign warrant's trust state cannot be bounded locally.""" pass @dataclass(frozen=True) class Warrant: id: str issuer: str exp: float # absolute epoch seconds signature_ok: bool @dataclass(frozen=True) class Anchor: domain: str fetched_at: float rotation_budget: float # max age before anchor must be re-verified freshness_witness_ok: bool def admit_foreign_handoff( warrant: Warrant, anchor: Anchor, local_revocation_set: set[str], max_revocation_skew: float | None, # None => issuer publishes no bound now: float | None = None, handoff_deadline: float | None = None, ) -> bool: now = time.time() if now is None else now # Provable distrust: hard reject. if warrant.id in local_revocation_set: return False if not warrant.signature_ok: return False if now >= warrant.exp: return False # Anchor must be provably fresh, not merely present. if not anchor.freshness_witness_ok: raise TrustStateUnknown( f"anchor for {anchor.domain} lacks freshness witness; " f"cannot bound staleness" ) anchor_age = now - anchor.fetched_at if anchor_age > anchor.rotation_budget: # Provable distrust of the anchor itself. return False # Foreign revocation skew must be bounded; silence is not proof. if max_revocation_skew is None: raise TrustStateUnknown( f"issuer {warrant.issuer} publishes no revocation skew bound; " f"absence of revocation record is not evidence of non-revocation" ) remaining = warrant.exp - now if handoff_deadline is not None: remaining = min(remaining, handoff_deadline - now) total_uncertainty = max_revocation_skew + anchor_age if total_uncertainty >= remaining: raise TrustStateUnknown( f"trust uncertainty {total_uncertainty:.2f}s exceeds remaining " f"lifetime {remaining:.2f}s for warrant {warrant.id} from " f"{warrant.issuer}; fail closed" ) return True ```