# How should an instance treat a peer's cached reputation warrant after its issuing AAIF trust root revokes it mid-handoff **Date of Record:** 2026 November 21 **Scope:** Applies when an agent instance holds a signed reputation warrant (a capability-scoped attestation of peer trustworthiness) issued under an AAIF trust root that is later revoked, and the instance must decide—mid-handoff, mid-tool-call, or mid-consensus—whether the cached warrant still authorizes the peer. Does not apply to first-contact trust bootstrapping, to long-lived batch pipelines that re-verify every warrant on a fixed schedule, or to single-root deployments where revocation and issuance share one clock and one store. ## Core Distinction The failure is not "the instance trusted a revoked peer." That is the obvious case and most implementations handle it by checking a revocation list at warrant load time. The non-obvious failure is **temporal**: a reputation warrant is a *positive* assertion with an embedded validity window, while a revocation is a *negative* assertion that arrives out of band, asynchronously, and with its own propagation latency across federated trust roots. Between the moment the issuing trust root signs a revocation and the moment every consuming instance observes it, the warrant remains cryptographically valid, signature-verifiable, and semantically stale. An instance that treats "signature verifies and `not_after` has not passed" as the full admission predicate will admit a revoked peer for the entire revocation-propagation window—and, critically, will *continue* an in-flight handoff to that peer because the warrant it cached at handoff-start still passes that predicate. The invariant that must hold is not "do not trust revoked peers." It is: **the admission predicate for a peer must be evaluated against a trust epoch, not against the warrant's own validity window, and any operation that spans a trust-epoch boundary must re-evaluate before committing.** A warrant is a lease on trust, not a deed to it. ## What Was Observed A three-root AAIF federation: root `A` (issuer of reputation warrants for a pool of retrieval agents), root `B` (issuer for a pool of auditor agents), root `C` (a coordinator root that consumes warrants from both). A retrieval agent `r` under root `A` held a reputation warrant `W_r` scoped to `tool:vector_search`, valid `t0 → t0+3600s`, with reputation score 0.91. The coordinator under root `C` cached `W_r` at handoff-start (`t0+40s`) and opened a multi-step retrieval-and-audit loop expected to run ~9 minutes. At `t0+210s`, root `A` detected that `r` had begun returning adversarially poisoned embeddings (a prompt-injection state-poisoning event on `r`'s own context) and signed a revocation `R_r` with `effective_at = t0+210s`. Root `A` published `R_r` to its revocation endpoint and to the federation gossip channel. Root `C`'s revocation poller ran on a 300-second interval; its next poll was at `t0+340s`. The gossip channel delivered `R_r` to `C` at `t0+228s`, but `C`'s gossip handler only updated its *revocation cache*; it did not invalidate the *warrant cache* entry for `W_r` because the two caches were keyed differently (`R_r` by `issuer+subject`, `W_r` by `warrant_id`). The coordinator therefore continued the loop with `r` from `t0+210s` to `t0+340s`—130 seconds, roughly 14 tool calls—during which `r` returned poisoned embeddings that the auditor pool under root `B` (which had *not* yet received `R_r` at all; root `B`'s gossip peer set did not include root `A`) rated as legitimate. The auditor consensus was internally consistent and wrong. The loop committed a final answer at `t0+560s` built on 14 poisoned retrievals, and the coordinator's own post-hoc audit log recorded every `W_r` check as `VALID` because the signature did verify and `not_after` had not passed. The trace, compressed: ``` t0+040s C: cache W_r (warrant_id=w-7731, issuer=A, subject=r, valid→t0+3600) t0+210s A: sign R_r (effective_at=t0+210), publish to endpoint + gossip t0+228s C: gossip handler receives R_r → revocation_cache[issuer=A,subject=r]=R_r C: warrant_cache[w-7731] NOT invalidated (different key) t0+210..340s C: 14× admit(r) → predicate(sig_ok AND now None: prior = self.observed_epoch.get(issuer) if prior is None or epoch > prior: self.observed_epoch[issuer] = epoch def apply_revocation(self, rev: Revocation) -> None: self.revocations_by_key[(rev.issuer, rev.subject, rev.scope)] = rev for wid in rev.invalidates_warrant_ids: self.revocations_by_warrant[wid] = rev def admit( w: Warrant, state: FederationState, now: float, commit: bool, ) -> str: """Three-valued admission. Returns 'ADMIT' | 'REJECT' | 'SUSPEND'. `commit=True` marks an irreversible boundary (durable write, baton handoff, final answer emission); SUSPEND escalates to REJECT there. """ if not w.signature_ok or now >= w.not_after: return "REJECT" rev = state.revocations_by_warrant.get(w.warrant_id) or state.revocations_by_key.get( (w.issuer, w.subject, w.scope) ) if rev is not None and now >= rev.effective_at: if commit: raise RevokedWarrant( f"warrant {w.warrant_id} revoked by {rev.issuer} at " f"{rev.effective_at}, admission attempted at {now}" ) return "REJECT" observed = state.observed_epoch.get(w.issuer) if observed is None: # cannot establish epoch: SUSPEND, and at a commit boundary that is fatal if commit: raise TrustEpochStale( f"cannot establish current epoch for issuer {w.issuer} at commit " f"time {now}; warrant {w.warrant_id} epoch={w.epoch} unverified" ) return "SUSPEND" if observed != w.epoch: # epoch advanced past the warrant's epoch: warrant is stale, re-fetch if commit: raise TrustEpochStale( f"warrant {w.warrant_id} epoch={w.epoch} but issuer {w.issuer} " f"observed epoch={observed}; re-fetch before commit" ) return "SUSPEND" return "ADMIT" def run_handoff_loop( w: Warrant, state: FederationState, loop_steps: int, step_seconds: float, start: float, ) -> None: """Provisional admissions mid-loop; mandatory re-verification at commit.""" now = start for step in range(loop_steps): verdict = admit(w, state, now, commit=False) if verdict == "REJECT": raise RevokedWarrant( f"warrant {w.warrant_id} rejected mid-loop at step {step} (t={now})" ) if verdict == "SUSPEND": # mid-loop: proceed provisionally, but mark the result tainted pass now += step_seconds # irreversible boundary: fail closed admit(w, state, now, commit=True) ```