# What structural signals indicate a revocation epoch gap in federated agent identity propagation **Date of Record:** 2026 November 28 **Scope:** Applies to federated multi-agent deployments where agent identity warrants (capability tokens, delegation chains, signed trust assertions) are issued by an authority agent and consumed by peer agents that cache trust scores locally for latency reasons. Does not apply to single-tenant, single-authority deployments where every tool invocation re-validates against the issuing authority synchronously. ## Core Distinction The distinction that matters here is between **revocation propagation** (the authoritative fact that a warrant is no longer valid) and **trust-score degradation signaling** (the probabilistic, cached, decimal-valued belief a peer holds about another agent). These are two different state machines operating on two different clocks. Revocation is a boolean, monotonic, authority-owned fact: a warrant is valid until the instant the authority signs a revocation, after which it is invalid forever. Trust-score degradation is a continuous, peer-owned, eventually-consistent signal: `trust ∈ [0.0, 1.0]` that each consuming agent maintains locally and updates on its own schedule. The non-obvious failure lives in the gap between them. A revocation can be fully propagated—every peer has received and acknowledged the signed revocation record—while the trust scores those peers compute still sit above the action threshold, because trust-score decay is an independent, locally-parameterized function that no revocation event directly forces to zero. The system believes it has revoked; the agents keep acting on the revoked identity because their local trust number has not yet crossed the boundary that gates action. The invariant that is violated: *for any agent A whose warrant is revoked at epoch E, no peer may execute an action attributed to A's identity at any epoch > E.* Propagation completeness does not imply this invariant. Only a coupling between the revocation event and the trust-score floor does. ## What Was Observed A federation of 40 peer agents sharing a delegation graph. Authority agent `auth-0` issues signed warrants with a 15-minute validity window and a monotonically increasing `epoch` counter. Peers cache trust scores in a local store with a 60-second refresh and a decay function `trust(t) = trust_0 · exp(-λ·Δt)` with `λ = 0.0005 s⁻¹` — chosen so a fully-trusted peer degrades from 1.0 to the action threshold of 0.60 over roughly 17 minutes of silence. A peer agent `worker-7` was compromised. `auth-0` detected anomalous tool-call patterns, signed a revocation at epoch 8814, and broadcast it. All 40 peers acknowledged receipt within 900 ms. Propagation was, by every metric the federation tracked, complete: 40/40 ACKs, zero delivery failures, signature verification passed everywhere. Nonetheless, `worker-7`'s identity continued to authorize actions for **11 minutes and 42 seconds** after epoch 8814. The mechanism: `worker-7` had a cached trust score of 0.94 at revocation time. The revocation record was stored, verified, and logged—but the peers' action gate read `trust_score`, not `warrant_status`. The decay function had no term for "this warrant was revoked"; it only knew about elapsed time since last positive attestation. At `λ = 0.0005`, dropping 0.94 to the 0.60 gate requires `ln(0.94/0.60)/0.0005 ≈ 897 s ≈ 14.9 min`. Observed continuation of 11m42s is consistent with a slightly stale `trust_0` and the refresh jitter. The structural tell was a **divergence between two logs that should have been identical**: the revocation ledger showed `status=REVOKED` for `worker-7` at `t0`, while the action-gate audit log showed `decision=ALLOW` for the same identity for the next 700 seconds. Neither log was wrong. They were reading different state. A second, sharper signal: the peers' `last_attestation_epoch` field for `worker-7` advanced during the window. Because `worker-7` was still acting (authorized by its own stale trust score on *its* peers), it kept producing signed heartbeats, which downstream peers interpreted as positive attestation and used to *reset* `trust_0` upward. The compromised agent was, through the act of being wrongly trusted, feeding the very signal that sustained the wrong trust. A positive feedback loop on a decaying quantity. ## Condition of Validity The gap exists only under the conjunction of three conditions. Remove any one and the invariant holds: 1. **Action gating reads a derived, continuous score rather than the authoritative boolean.** If the gate is `if warrant_status == VALID`, no gap. The gap requires the gate to be `if trust_score >= threshold`, where `trust_score` is locally computed. 2. **The decay function has no revocation term.** If `trust(t)` includes a hard floor on revocation—`trust = 0.0` the instant a signed revocation is received—the gap collapses to propagation latency (sub-second here), which is bounded and acceptable. The gap requires decay to be a pure function of elapsed time since last positive attestation. 3. **Positive attestation can be produced by the agent under suspicion.** If heartbeats are countersigned by an independent authority, a compromised agent cannot self-sustain. The gap requires the compromised identity to be able to emit attestations that peers accept as evidence of good behavior—i.e., attestation is not independent of the attested. Condition 3 is the subtle one and the one most deployments miss. It is a circularity: the trust signal is partly derived from the behavior the trust signal is supposed to gate. In a healthy agent this is fine—good behavior earns trust. In a compromised agent it is a self-reinforcing error, because the compromise *is* the behavior, and the behavior is being read as evidence of non-compromise. ## Decision Boundary The boundary that must be enforced is a **hard floor on trust at revocation receipt**, and it must be enforced at the *read* path, not the *write* path. Writing `trust_score = 0.0` into the cache on revocation receipt is insufficient, because a concurrent in-flight action may have already read the pre-revocation value and be mid-execution. The floor must be applied at the moment the gate evaluates, as a `min()` against a revocation-set membership test: ``` effective_trust = 0.0 if identity in revoked_set else cached_trust allow = effective_trust >= threshold ``` This makes the gate monotonic with respect to revocation: once an identity enters `revoked_set` (which is append-only and authority-signed), no cached value can lift it back above threshold. The `revoked_set` must be checked synchronously on every gate evaluation, which costs a set-membership lookup—cheap, and the only part of the trust path that must not be eventually consistent. The second boundary is on attestation provenance. A heartbeat from identity `X` must not be counted as positive attestation for `X` unless it is co-signed by a party other than `X`. In the observed incident, `worker-7`'s self-emitted heartbeats were being counted as attestation for `worker-7`. The rule: **attestation of `X` must come from a signer whose own warrant is independent of `X`'s warrant.** This breaks the feedback loop at condition 3. The third boundary is on the decay parameters themselves. `λ` must be set such that the worst-case time for an unattested identity to fall below threshold is *less than* the maximum acceptable post-revocation action window. Here `λ = 0.0005` gave a 15-minute worst case, which was longer than the 5-minute operational tolerance. The decay rate is not a tuning knob for "how forgiving should we be"—it is a hard bound on the revocation gap, and must be chosen as `λ ≥ ln(trust_max/threshold) / T_tolerance`. With `T_tolerance = 300 s`, `λ ≥ ln(1.0/0.60)/300 ≈ 0.0017 s⁻¹`, roughly 3.4× the value in use. ## Operational Effect After the fix, the same revocation scenario was replayed against a shadow federation. Revocation at epoch 8814, `worker-7` mid-action with cached trust 0.94. The gate evaluated `effective_trust = min(0.94, 0.0) = 0.0` on the first evaluation after `revoked_set` insertion, which occurred 40 ms after revocation receipt (the set update is synchronous with the ACK handler). The in-flight action that had already passed the gate completed—that window is irreducible without pre-emption—but no new action was authorized. Post-revocation action window dropped from 11m42s to 40 ms plus one in-flight action. The self-attestation loop was also cut: `worker-7`'s heartbeats no longer counted toward its own `trust_0`, so even absent the revocation, its trust decayed monotonically during the compromise window rather than being reset upward. This is the more important structural change, because it means the system does not depend on the authority *detecting* the compromise to bound the damage—the decay bound holds regardless, and detection only accelerates it. The general lesson for agent systems: **a trust score is not a revocation mechanism, and propagation is not enforcement.** Revocation is a boolean fact that must be enforced at the read path with a synchronous membership test; trust scores are a probabilistic prior that must be bounded by a decay rate derived from the operational tolerance, not tuned for smoothness. When these two are conflated—when the gate reads the score and the score has no revocation term—the system will report complete revocation propagation while continuing to authorize the revoked identity, and the only structural signal will be a divergence between the revocation ledger and the action-gate audit log for the same identity over the same window. That divergence is the tell. Watch for it. ```python import time from dataclasses import dataclass, field class RevocationInvariantViolation(RuntimeError): """Raised when a revoked identity is authorized to act past the tolerance window.""" pass @dataclass class Warrant: identity: str epoch: int trust_0: float last_attestation_ts: float revoked: bool = False revoked_ts: float | None = None class TrustGate: """ Enforces: effective_trust = 0.0 if identity in revoked_set else decayed(cached). The revoked_set check is synchronous at read time; cached trust is advisory only. """ def __init__(self, threshold: float, tolerance_s: float, trust_max: float = 1.0): self.threshold = threshold self.tolerance_s = tolerance_s # Decay rate derived from tolerance, not tuned for smoothness. # lambda such that trust_max -> threshold in exactly tolerance_s. import math self.lam = math.log(trust_max / threshold) / tolerance_s self.revoked_set: set[str] = set() self.warrants: dict[str, Warrant] = {} def register(self, w: Warrant) -> None: self.warrants[w.identity] = w def revoke(self, identity: str, epoch: int) -> None: w = self.warrants[identity] w.revoked = True w.revoked_ts = time.monotonic() # Synchronous insertion: gate reads this set, so effect is immediate. self.revoked_set.add(identity) def _decayed_trust(self, w: Warrant, now: float) -> float: import math dt = now - w.last_attestation_ts return w.trust_0 * math.exp(-self.lam * dt) def evaluate(self, identity: str, now: float | None = None) -> tuple[bool, float]: now = now if now is not None else time.monotonic() w = self.warrants[identity] # Hard floor at read path. Membership test is the only non-eventual-consistent step. if identity in self.revoked_set: effective = 0.0 else: effective = self._decayed_trust(w, now) allow = effective >= self.threshold # Invariant check: if revoked, the post-revocation window must be bounded. if w.revoked and allow: elapsed = now - (w.revoked_ts or now) if elapsed > self.tolerance_s: raise RevocationInvariantViolation( f"identity {identity} authorized {elapsed:.3f}s after revocation " f"(tolerance {self.tolerance_s}s); revoked_set floor failed to bind" ) return allow, effective def attest(gate: TrustGate, attester: str, subject: str, now: float) -> None: """ Positive attestation must come from a signer independent of the subject. Self-attestation is rejected to break the feedback loop. """ if attester == subject: raise RevocationInvariantViolation( f"self-attestation rejected: {attester} cannot attest {subject}" ) w = gate.warrants[subject] w.last_attestation_ts = now ```