# When must an instance refuse a peer whose signed revocation warrant has not yet crossed the federation boundary **Date of Record:** 2026 November 26 **Scope:** Applies to cross-organization agent federations where identity revocation is propagated as signed warrants with sub-second trust-score deltas (≤1000 ms SLA) across ≥2 trust domains, and where a peer agent may present a valid-but-stale capability credential during the propagation window. Does not apply to single-org deployments, to revocation schemes that require synchronous global consensus per call, or to stateless request/response APIs with no persistent agent identity. ## Core Distinction The failure mode is not "revocation is slow." It is that **revocation propagation latency and trust-score freshness are two different clocks that the protocol conflates into one**. A revocation warrant is a *monotonic, signed, org-scoped event*: once org A signs `revoke(agent:7)`, that fact is permanent and must eventually dominate every cached credential. A trust-score update is a *soft, decaying, continuously-recomputed scalar* that is allowed to be stale by a bounded amount. When an agent gateway receives a peer credential, it has exactly one bit of hard evidence (was a revocation warrant observed for this identity?) and one scalar of soft evidence (what is the trust score I last saw?). The boundary failure occurs when the scalar freshness window is used to gate the hard bit — i.e. when a gateway accepts a peer because "my trust score for it is recent and high" while the corresponding revocation warrant is still in flight through an inter-org relay it has not drained. The invariant that must hold: **no credential may be honored on the strength of a trust score whose observation timestamp precedes the last successfully-drained revocation watermark for that issuer org.** Trust-score recency is not revocation completeness. They are orthogonal, and the sub-second SLA tempts engineers to collapse them. ## What Was Observed A three-org federation (A=issuer, B=relay, C=consumer) ran a 900 ms trust-score gossip interval. Agent `a7` in org A was revoked at `t=0` for prompt-injection state poisoning — it had been replaying injected tool outputs into shared memory. A signed revocation warrant `W(revoke, a7)` was emitted at `t=0` and routed A→B→C with per-hop relay jitter. Meanwhile the trust-score gossip path (a separate, higher-frequency channel) delivered `score(a7)=0.94, ts=t-200ms` to C at `t=310ms`. At `t=340ms`, `a7` (still holding an unexpired capability credential signed at `t=-40s`, TTL 300s) called a tool on org C's gateway. C's admission check read the trust score: `0.94`, observed 30 ms ago, well inside the 500 ms freshness window. C admitted the call. The revocation warrant `W` did not arrive at C until `t=870ms` — 530 ms after the poisoned call was admitted, and 400 ms after the injected payload was written into C's shared episodic store. The trace is the point: **the admission decision used the freshest signal available, and the freshest signal was the wrong one.** The trust score was genuinely fresh. It was also genuinely irrelevant to the question being asked. The gateway had no watermark comparison, so "fresh score" silently substituted for "revocation-drained." The 900 ms score interval and the ~870 ms warrant path length were close enough that the ordering inverts non-deterministically: in 12% of replays the warrant beat the score, in 88% the score beat the warrant. A test suite sampling once would have passed. ## Condition of Validity The guardrail — a **revocation watermark gate** — is valid only under these conditions, and must be disabled (fail-closed to full re-fetch) when any is violated: 1. **Per-issuer monotonic watermarks.** Each issuer org publishes a monotonically increasing `revocation_seq` (or hash-chained warrant head). C stores `drained_seq[issuer]`. A credential from issuer `I` is admissible only if `credential.issued_seq <= drained_seq[I]` AND the credential's own `not_before` is ≤ the warrant-head timestamp C has actually verified. 2. **Warrant path is independent of score path.** If revocation and score gossip share a transport, a stalled relay silently freezes both, and the watermark appears current because nothing moved. The gate is meaningless on a shared channel. 3. **Sub-second SLA is a target, not a guarantee.** The gate must assume the warrant can be arbitrarily late and must therefore *block* unverified-seq credentials rather than time out into acceptance. A timeout that defaults to "allow" reintroduces the exact bug. 4. **Credential carries its issuance seq.** If the capability credential does not embed the issuer's `revocation_seq` at signing time, C cannot compare it to its watermark and the gate degrades to "always re-fetch," which violates the sub-second budget. This is a schema requirement, not an optimization. When the credential lacks an embedded seq (legacy peers, schema-negotiation mismatch on the A2A handshake), the gate is *invalid* and the only sound behavior is synchronous re-fetch against the issuer — accepting the latency cost, not the trust-score shortcut. ## Decision Boundary The precise line: **a trust score may inform *how much scrutiny* to apply, but never *whether revocation has been checked*.** Concretely, on each inbound peer call the gateway evaluates: - `drained_seq[issuer] >= credential.issued_seq` → revocation state is known-current for this credential; proceed to trust-score policy (score gates rate, scope, tool allowlist). - `drained_seq[issuer] < credential.issued_seq` → the credential was minted after the last warrant C has drained; C is *blind* to any revocation in the gap. This is the boundary. The correct action is `PENDING_REVOCATION`: hold, re-fetch, or reject — never admit on score. - Watermark absent entirely (new issuer) → treat as `drained_seq = -1`; every credential is pending until first drain. The subtle case that breaks naive implementations: the credential's `issued_seq` equals `drained_seq[issuer]` but the warrant *head hash* C verified is older than the issuer's published head (C is one relay-hop behind on the head, even though the seq matches). Seq equality is necessary but not sufficient; the head hash must also match the issuer's currently-advertised head, or C must treat the gap as pending. This is where "sub-second" pressure causes operators to drop the head check — and where the 12%-vs-88% inversion lives. ## Operational Effect With the watermark gate enforced, the poisoned call at `t=340ms` is rejected as `PENDING_REVOCATION` because `credential.issued_seq (t=-40s mint, seq=4412) > drained_seq[A]=4409`. C holds the call for the 530 ms until `W` drains, then re-evaluates: `drained_seq[A]=4413 >= 4412`, but the warrant set now contains `revoke(a7)`, so the credential is dead and the call is rejected permanently. The injected payload never reaches shared memory. Latency cost: one hold of ≤600 ms on a fraction of calls (those minted within the propagation window), not on the steady-state path. The invariant to encode in every gateway: **revocation completeness is a per-issuer monotonic watermark comparison, never a freshness heuristic on a scalar.** Trust scores decay; revocation warrants accumulate. A system that lets the decaying signal answer the accumulating signal's question will admit a revoked agent precisely when the federation is under the most timing pressure — which is exactly when a compromised agent is most likely to be calling. ```python from dataclasses import dataclass class RevocationWatermarkGap(RuntimeError): """Raised when a credential's issuance seq exceeds the drained revocation watermark for its issuer, meaning the consumer is blind to any revocation that occurred in the gap. Must never be downgraded to a trust-score check.""" pass @dataclass(frozen=True) class Credential: issuer: str agent_id: str issued_seq: int # issuer's revocation_seq at signing time issued_head_hash: str # issuer's warrant-head hash at signing time @dataclass(frozen=True) class Watermark: drained_seq: int verified_head_hash: str def admit_call( cred: Credential, watermark: Watermark | None, issuer_advertised_head: str, trust_score: float, score_age_ms: int, score_freshness_ms: int = 500, ) -> str: # Hard bit first: revocation completeness. Never gated by score freshness. if watermark is None: raise RevocationWatermarkGap( f"no watermark for issuer {cred.issuer!r}; credential " f"seq={cred.issued_seq} is unverifiable — re-fetch required" ) if cred.issued_seq > watermark.drained_seq: raise RevocationWatermarkGap( f"credential seq={cred.issued_seq} for {cred.agent_id!r} exceeds " f"drained watermark {watermark.drained_seq} for issuer " f"{cred.issuer!r}: revocation state in gap is unknown" ) if watermark.verified_head_hash != issuer_advertised_head: raise RevocationWatermarkGap( f"watermark head {watermark.verified_head_hash[:12]} != issuer " f"advertised head {issuer_advertised_head[:12]}: consumer is one " f"relay-hop behind; seq equality insufficient" ) # Only now may the soft signal (trust score) shape policy, not admission. if score_age_ms > score_freshness_ms: return "admit_with_restricted_scope" # stale score -> narrow tools if trust_score < 0.5: return "admit_with_restricted_scope" return "admit" def handle_inbound(cred, watermark, advertised_head, score, age_ms): try: return admit_call(cred, watermark, advertised_head, score, age_ms) except RevocationWatermarkGap as gap: # Fail closed: hold for drain or reject. Never fall through to score. return f"PENDING_REVOCATION: {gap}" ```