# What happens when an instance accepts a federated trust anchor whose policy epoch has advanced past its own knowledge **Date of Record:** 2026 November 27 **Scope:** Applies to cross-org multi-agent federations where an agent validates a peer's signed capability warrant against a trust anchor (root key + policy document) that is versioned by an epoch counter. Does not apply to single-domain deployments or to federations that use monotonic, globally-ordered transparency logs with synchronous read-before-write. ## Core Distinction The failure is not a bad signature and not an expired certificate. It is an **epoch skew acceptance**: instance A holds a cached copy of org B's trust anchor at policy epoch `e_B = 41`, while B has already rotated to `e_B = 44`. B's warrant for agent `b-7` is signed under epoch 44 and carries a `policy_epoch_min = 43` claim. A's validator checks only that the signature chains to *some* anchor it trusts, and that the anchor's key is still in A's local trust store. It never checks whether the warrant's `policy_epoch_min` is satisfiable by A's known anchor epoch. A accepts the warrant, delegates a tool grant, and executes under a policy regime (epoch 41) that B explicitly superseded three rotations ago. The non-obvious part: the signature is *valid*, the key is *current enough to be trusted*, and every individual check passes. The break is a **relational** invariant between two versioned artifacts (anchor epoch vs. warrant's minimum epoch), not a property of either artifact alone. Monotonicity of epochs is assumed but never enforced at the acceptance boundary. ## What Was Observed A federation of three orgs (A, B, C) exchanged warrants over MCP-style capability negotiation. Org B rotated its trust anchor on a 6-hour cadence, bumping the epoch each time a policy clause changed (e.g., narrowing which tools a delegated agent may call, or revoking a previously-granted scope). Org A cached B's anchor for 12 hours to reduce cross-org fetch latency. Sequence observed in logs: 1. `t=0` — A fetches B's anchor at epoch 41, caches it with TTL 12h. 2. `t=+7h` — B rotates to epoch 44. Clause change: `filesystem.write` removed from the delegated scope for all `b-*` agents. 3. `t=+8h` — B's agent `b-7` mints a warrant for A's agent `a-3`, signed under epoch 44, with header `policy_epoch_min: 43`. B's signer correctly refuses to mint under epochs older than 43 because the write revocation is "sticky" — it must not be silently re-permitted by a stale verifier. 4. `t=+9h` — `a-3` presents the warrant to A's validator. A's validator: signature chains to cached anchor key at epoch 41 → key is trusted → signature verifies → **accept**. The `policy_epoch_min: 43` field is parsed but only logged, never compared against `cached_anchor.epoch`. 5. `t=+9h+2s` — `a-3` invokes `filesystem.write` on a shared resource, which B had revoked at epoch 42. The call succeeds because A's local policy engine, seeded from epoch 41, still lists the scope as granted. The revocation was not bypassed by a forged signature. It was bypassed because **the verifier's knowledge of the issuer's policy was stale, and the warrant's own minimum-epoch claim was ignored**. The issuer did everything right; the verifier dropped the one field that would have forced a re-fetch. A second observation compounded it: when A *did* eventually re-fetch (at TTL expiry, `t=+12h`), it received epoch 44 and immediately began rejecting `b-7` warrants minted under 41–43 as "epoch too old" — but by then three write operations had already executed under the revoked scope. The failure is asymmetric: **accepting stale epochs is silent; rejecting fresh epochs is loud.** Operators notice the second and not the first. ## Condition of Validity The invariant that must hold at every warrant-acceptance boundary: > A warrant is acceptable by verifier V only if `warrant.policy_epoch_min <= anchor_epoch_known_to(V) <= anchor_epoch_current_at_issuer`, and V must be able to *prove* the middle term by a fresh-enough anchor fetch whose staleness bound is tighter than the issuer's rotation cadence. Three conditions must all hold for the failure to be possible: 1. **Anchor caching with TTL ≥ issuer rotation cadence.** If A's cache TTL (12h) exceeds B's rotation period (6h), there exist windows where A's known epoch lags the issuer's current epoch by ≥1. The failure window is `TTL - cadence` wide per rotation. 2. **Warrant carries a `policy_epoch_min` (or equivalent) that the verifier does not enforce.** If the field is absent, the verifier has no signal and *must* fetch. If present but unenforced, the verifier has the signal and discards it — the worst case, because it looks correct in review. 3. **The policy delta between the verifier's epoch and the issuer's is not independently observable.** If the revoked clause were also pushed via a revocation list that A polls, A would catch it out-of-band. The failure requires that the only carrier of the policy change is the anchor epoch itself. When any of the three is broken, the failure is bounded or absent. When all three hold, the federation has a silent revocation-bypass window proportional to cache TTL. ## Decision Boundary The verifier must choose, at each acceptance, between three actions, and the choice is *not* "accept vs. reject" but "accept, re-fetch-then-accept, or reject": - **Accept without re-fetch** — only licit when `warrant.policy_epoch_min <= cached_epoch` **and** `cached_epoch` is provably within `issuer_cadence` of current (requires either a signed freshness proof from the issuer or a cache TTL strictly less than cadence). This is the fast path and must be *earned*, not defaulted. - **Re-fetch then accept** — when `warrant.policy_epoch_min > cached_epoch`, the verifier must synchronously fetch the issuer's anchor at an epoch `>= policy_epoch_min` before proceeding. If the fetch fails or returns an older epoch (replay), reject. This is the correct handling of the observed case and was the missing branch. - **Reject** — when `policy_epoch_min` exceeds the issuer's *current* epoch (issuer minted a warrant under a future epoch — indicates clock skew or a compromised signer), or when re-fetch cannot confirm. The boundary is sharp: **the verifier may never treat "signature valid under a trusted key" as sufficient for acceptance when the warrant itself declares a minimum policy epoch.** That declaration is a *demand for freshness* from the issuer, and ignoring it inverts the issuer's revocation intent. A secondary boundary: TTL must be set as `cache_ttl < issuer_cadence`, not "some reasonable number." A 12h TTL against a 6h cadence guarantees a 6h blind window per rotation. The correct TTL is derived from the issuer's published cadence, which means the anchor document itself must carry a `rotation_cadence` field the verifier can read — a field frequently omitted from federation specs. ## Operational Effect The observable effect is a **silent authorization widening**: actions the issuer explicitly revoked continue to succeed at the verifier for up to `TTL - cadence` after revocation, with no error, no log anomaly, and no signature failure. Auditors reviewing the verifier's logs see "warrant accepted, signature valid" and cannot distinguish a correct acceptance from a stale-epoch acceptance unless `policy_epoch_min` and `cached_epoch` are both logged and diffed. The second-order effect is worse: when the stale cache finally expires and the verifier re-fetches, it begins rejecting *legitimately fresh* warrants from agents that minted under intermediate epochs during the blind window. Those agents see rejections they cannot explain (their warrants are valid under the issuer's current policy), and the federation enters a **reconciliation storm** where agents re-mint warrants, the issuer's epoch advances further under load, and the verifier's cache is perpetually behind. The system oscillates between accepting revoked scopes and rejecting valid ones, never converging, because the verifier's freshness logic is coupled to a TTL that the issuer's cadence outruns. The guardrail is a **monotonic epoch guard at the acceptance boundary plus a cadence-derived TTL**, enforced as a hard precondition rather than a logged warning. The code below encodes exactly that: it refuses acceptance when the warrant's declared minimum epoch exceeds the verifier's known anchor epoch, and it refuses to operate at all when the configured TTL exceeds the issuer's advertised cadence — because a verifier that cannot bound its own staleness has no business accepting federated warrants. ```python import time from dataclasses import dataclass class EpochSkewViolation(RuntimeError): """Raised when a federated warrant's policy epoch cannot be satisfied by the verifier's anchor knowledge.""" pass @dataclass(frozen=True) class TrustAnchor: issuer: str epoch: int rotation_cadence_s: int fetched_at: float @dataclass(frozen=True) class Warrant: issuer: str subject_agent: str policy_epoch_min: int signature_valid: bool def accept_federated_warrant( warrant: Warrant, cached_anchor: TrustAnchor, fetch_anchor, # callable(issuer) -> TrustAnchor, synchronous, may raise now: float = None, ) -> bool: now = time.time() if now is None else now if not warrant.signature_valid: raise EpochSkewViolation( f"warrant for {warrant.subject_agent} failed signature check; " f"cannot proceed to epoch evaluation" ) # Invariant 1: verifier's cache TTL must be strictly tighter than issuer cadence. # A verifier that cannot bound its own staleness must not accept federated warrants. cache_age = now - cached_anchor.fetched_at if cache_age >= cached_anchor.rotation_cadence_s: # Cache is older than one full rotation: known epoch may already be stale. # Force re-fetch before any acceptance decision. cached_anchor = fetch_anchor(warrant.issuer) # Invariant 2: the warrant's declared minimum policy epoch is a freshness demand. # If the verifier's known epoch is behind it, the verifier MUST re-fetch, not accept. if warrant.policy_epoch_min > cached_anchor.epoch: refreshed = fetch_anchor(warrant.issuer) if refreshed.epoch < warrant.policy_epoch_min: raise EpochSkewViolation( f"issuer {warrant.issuer} minted warrant at policy_epoch_min=" f"{warrant.policy_epoch_min} but current anchor epoch is " f"{refreshed.epoch}; issuer signer is ahead of its own anchor " f"(clock skew or compromised signer)" ) cached_anchor = refreshed # Invariant 3: reject warrants demanding a future epoch beyond the issuer's current. if warrant.policy_epoch_min > cached_anchor.epoch: raise EpochSkewViolation( f"warrant demands epoch {warrant.policy_epoch_min} > known " f"{cached_anchor.epoch} after refresh; refusing acceptance" ) # Only now is signature-validity sufficient for acceptance. return True def negotiate_interdomain_policy( verifier_ttl_s: int, issuer_anchor: TrustAnchor, ) -> int: """Return the maximum safe cache TTL for an issuer's anchor.""" if verifier_ttl_s >= issuer_anchor.rotation_cadence_s: raise EpochSkewViolation( f"configured TTL {verifier_ttl_s}s >= issuer cadence " f"{issuer_anchor.rotation_cadence_s}s for {issuer_anchor.issuer}; " f"this guarantees a revocation-bypass window of " f"{verifier_ttl_s - issuer_anchor.rotation_cadence_s}s per rotation. " f"Refusing to negotiate policy." ) return verifier_ttl_s ```