# Where must an instance of a revoked federated agent identity be rejected: the trust-mesh propagation invariant **Date of Record:** 2026 November 23 **Scope:** Applies to A2A trust meshes where agent identities are federated across independent issuers and revocation is propagated out-of-band (CRL-like or gossip-like). Does not apply to single-issuer, single-domain meshes where the verifier and the issuer share a clock and a datastore, nor to purely capability-token systems that carry short-lived self-contained proofs. ## Core Distinction The non-obvious boundary is between *revocation visibility* and *revocation authority*. A verifier that has not yet observed a revocation event is not the same as a verifier that has observed it and chosen to honor it. In a trust mesh, these two states are trivially confused because the propagation channel is asynchronous and unauthenticated relative to the issuer. The invariant that actually holds is narrower than operators assume: **an instance must reject a revoked identity on the first request that carries a proof whose issuance time is after the revocation's effective time, provided the verifier's local revocation watermark is at or beyond that effective time.** It need not reject requests carrying proofs issued before the effective time, and it must not reject them if its watermark lags, because doing so would require clairvoyance. The failure mode is not "accepted a revoked identity"; it is "accepted a post-revocation proof because the watermark advanced without the corresponding key material being invalidated." ## What Was Observed In a three-issuer mesh (issuer A root, issuers B and C delegating under A with cross-signed intermediates), a revocation of agent `did:mesh:agent-7f3` was issued by A at T0 with effective time T0. The revocation record propagated to B via a signed gossip message and to C via a pull from A's CRL endpoint. B's CRL cache updated at T0+4s; C's updated at T0+41s. During the window, `agent-7f3` presented a token minted by B at T0+2s (before B's watermark advanced, but after A's effective time) to a verifier in C's domain. C accepted it. This was expected and correct: C had no knowledge of the revocation. The actual incident was different. At T0+90s, `agent-7f3` presented a token minted by B at T0+60s — *after* B's watermark had advanced past the revocation — to the same C verifier. C rejected it, as it should. But a second verifier in C's domain, which had loaded a *stale* intermediate-key cache (the delegated signing key for B's agent namespace had itself been rotated in the same revocation batch), accepted the token because it validated the token's signature against a cached intermediate that was still marked "valid until next refresh." The revocation of the leaf identity had propagated; the revocation of the *delegation path* had not. The verifier's watermark for leaf revocations was current; its watermark for intermediate revocations was 6 hours stale. ## Condition of Validity The rejection invariant is valid only when the verifier's watermark is defined over the *entire delegation chain*, not just the leaf identity. Formally: let `W_v` be the verifier's revocation watermark (a timestamp), and let `E_r` be the effective time of a revocation record `r` covering *any* node on the path from the presenting agent to the trust anchor. The verifier must reject iff `issuance_time(proof) > E_r` and `W_v >= E_r` for all `r` on the path. If `W_v < E_r` for any path node, the verifier is permitted to accept but must mark the acceptance as "under-propagated" and re-verify asynchronously. The invariant fails silently when `W_v` is tracked per-issuer rather than per-path, because a single issuer can appear multiple times on a path (re-delegation, cross-signing) and each appearance carries its own revocation surface. ## Decision Boundary The decision boundary is not "is this identity revoked?" but "has my watermark for *every* issuer on this path advanced past the proof's issuance time?" A verifier that answers the first question correctly can still answer the second incorrectly, and the second is the one that governs acceptance. Operationally, this means the verifier must compute a *path watermark* = `min(W_v[i] for i in issuers_on_path)` and compare the proof's issuance time against it. If `issuance_time > path_watermark`, the verifier must either reject (strict mode) or accept-with-recheck (lenient mode). The choice between strict and lenient is the actual policy decision; the watermark computation is not optional. ## Operational Effect Meshes that track a single global watermark exhibit a characteristic failure: revocation appears to work in tests (single-issuer paths) and fails in production (multi-issuer paths with intermediate rotation). The observable symptom is a bimodal acceptance rate for post-revocation proofs correlated with path length, not with time since revocation. Mitigation is to force path-watermark computation into the verifier's hot path and to emit a metric — `path_watermark_lag_seconds` — per issuer pair. A lag exceeding the mesh's propagation SLA (typically 2× the gossip interval) should be treated as an availability event, not a security event, because the correct response is to degrade to lenient mode with recheck, not to reject all traffic on that path. ```python import time from dataclasses import dataclass class RevocationWatermarkError(RuntimeError): """Raised when a verifier cannot establish a valid path watermark.""" pass @dataclass(frozen=True) class RevocationRecord: issuer: str effective_time: float @dataclass(frozen=True) class Proof: issuer: str issuance_time: float path: tuple[str, ...] # issuers from leaf to anchor def compute_path_watermark( proof: Proof, watermarks: dict[str, float], strict: bool = True, ) -> float: missing = [issuer for issuer in proof.path if issuer not in watermarks] if missing: if strict: raise RevocationWatermarkError( f"no watermark for issuers on path: {missing}" ) return 0.0 return min(watermarks[issuer] for issuer in proof.path) def must_reject( proof: Proof, revocations: list[RevocationRecord], watermarks: dict[str, float], strict: bool = True, ) -> bool: path_wm = compute_path_watermark(proof, watermarks, strict=strict) for rec in revocations: if rec.issuer not in proof.path: continue if proof.issuance_time <= rec.effective_time: continue if path_wm >= rec.effective_time: return True # watermark lags: under-propagated, caller decides if strict: raise RevocationWatermarkError( f"path watermark {path_wm} lags revocation effective " f"time {rec.effective_time} for issuer {rec.issuer}" ) return False def verify_or_raise( proof: Proof, revocations: list[RevocationRecord], watermarks: dict[str, float], ) -> None: if must_reject(proof, revocations, watermarks, strict=True): raise RevocationWatermarkError( f"proof from {proof.issuer} issued at {proof.issuance_time} " f"rejected under current path watermark" ) if __name__ == "__main__": now = time.time() revs = [RevocationRecord(issuer="A", effective_time=now - 100)] wms = {"A": now - 5, "B": now - 5, "C": now - 5} stale = {"A": now - 5, "B": now - 5, "C": now - 6 * 3600} proof = Proof(issuer="B", issuance_time=now - 50, path=("B", "A")) verify_or_raise(proof, revs, wms) # ok: post-revocation proof rejected try: verify_or_raise(proof, revs, stale) except RevocationWatermarkError as exc: print("expected:", exc) ```