# How should an instance detect and contain transitive trust-anchor decay when a federated peer re-signs a delegated capability under a rotated policy epoch **Date of Record:** 2026 November 26 **Scope:** Applies to cross-org agent federation where a local instance accepts a capability delegated through one or more intermediate peers, each of which countersigns under its own trust anchor and policy epoch. Does not apply to single-org delegation graphs with a shared root CA, nor to stateless request/response tool calls where no capability is carried across an org boundary. ## Core Distinction The failure most teams guard against is *anchor revocation*: a peer's root key is compromised, the anchor is pulled from the trust store, and every capability signed under it is rejected. That is the loud failure, and it is handled by standard CRL/OCSP-style logic. The quiet failure — the one that actually breaks federations — is **transitive trust-anchor decay**. A capability is delegated A→B→C→D. Each hop countersigns with its *own* anchor and stamps its *own* policy epoch. Between the time B countersigned and the time D evaluates the chain, B rotates its anchor (routine key hygiene) and advances its policy epoch (tightened scope rules). The signature on the B→C hop still verifies against the *old* anchor, which is still in D's trust store under a grace window. So D accepts the chain. But D is now executing a capability whose scope was defined under B's *superseded* policy epoch, and whose signing key B has already declared retired. The chain is cryptographically intact and semantically stale. No revocation event fired. No verification step failed. The invariant "a verified chain means the capability is currently authorized" is false, and nothing in the standard verification loop checks it. The distinction that matters: **signature validity is a per-hop, point-in-time property; authorization validity is a whole-chain, current-epoch property.** Federated verification conflates them because every hop verifies locally against whatever anchor and epoch the signer stamped, and no hop is responsible for asking whether the signer's *current* epoch still endorses the scope that was granted. ## What Was Observed A three-org federation: an orchestrator instance in org A delegated a `read:telemetry` capability with a nested `write:cache` sub-scope to an agent in org B, which re-delegated the `write:cache` sub-scope to an auditor agent in org C. Observed trace during a routine key-rotation window: 1. **t0** — B's anchor `B-root-v3` signs the B→C delegation, stamping `policy_epoch=41`. Epoch 41 permits `write:cache` scoped to a specific namespace prefix. 2. **t1** — B rotates to `B-root-v4` and advances to `policy_epoch=42`. Epoch 42 *narrows* `write:cache` to require an explicit namespace allowlist and drops the implicit prefix grant. B publishes the new anchor and epoch to the federation directory. B's old anchor enters a 24-hour grace window; it is still trusted but flagged `retiring`. 3. **t2** — C's agent presents the chain to D (a data-plane instance in org C, distinct from the auditor). D walks the chain: A→B verifies against `A-root`, B→C verifies against `B-root-v3` (still in grace), C→D verifies against `C-root`. All signatures valid. D admits the capability. 4. **t3** — D executes `write:cache` against a namespace that epoch 42 would have rejected, because the capability carried epoch 41's implicit prefix grant. The write lands. The chain verified. Every signature was genuine. Every anchor was trusted at evaluation time. And yet the capability executed under a policy that its issuing org had already superseded. The grace window — designed to prevent *availability* breakage during rotation — silently became an *authorization* staleness window. The non-obvious part: the failure is not at the hop where rotation happened (B→C). It is at the *terminal* hop (C→D), because D is the only party that evaluates the full chain and D has no mechanism to ask "is every intermediate signer's *current* epoch still compatible with the scope this chain encodes?" Each intermediate hop verified correctly in isolation. The composition is what decayed. ## Condition of Validity The standard federated verification invariant — *accept iff every hop's signature verifies against a currently-trusted anchor* — is only sound under a condition that federations rarely state and almost never enforce: > **Epoch monotonicity across the chain's lifetime:** for every intermediate signer S in the chain, the policy epoch stamped at signing time must be the *current* epoch of S at evaluation time, OR the delta between stamped and current epoch must be provably scope-preserving (i.e., the newer epoch is a superset of the older for the specific scopes carried). When anchors rotate and epochs advance during a chain's validity window, this condition fails silently. The grace window makes it *worse*, not better: it extends the period during which a superseded-epoch signature remains cryptographically acceptable, widening the staleness window from "until rotation" to "until grace expiry." The condition of validity for accepting a chain is therefore not "all signatures verify" but "all signatures verify **and** every stamped epoch is either current or provably scope-preserving relative to current." The second clause is the invariant that federated verifiers omit, because it requires each verifier to fetch and diff peer policy epochs — a cross-org state dependency that pure signature verification was designed to avoid. ## Decision Boundary An instance evaluating a federated chain sits on a decision boundary defined by two axes: **epoch delta** (how far each intermediate signer's stamped epoch is from current) and **scope delta** (whether the newer epoch narrows, preserves, or widens the carried scopes). The boundary: - **Epoch current, any scope delta** → accept. No decay. - **Epoch stale, scope-preserving or widening** → accept, but log the epoch delta; the capability is not over-privileged, only old. This is the safe grace case. - **Epoch stale, scope-narrowing, anchor in grace window** → **reject or re-negotiate.** This is the decay case. The chain is cryptographically valid but semantically over-privileged relative to the issuer's current intent. The grace window does not authorize execution; it only authorizes *verification*. Conflating the two is the bug. - **Epoch stale, scope-narrowing, anchor retired (past grace)** → reject. Standard revocation path. The boundary is sharp because the narrowing case is exactly where "verified" and "authorized" diverge. A verifier that only checks signatures will always fall on the wrong side of this line for narrowing epochs, and it will do so *without any error signal* — the failure is a successful verification of a stale grant. The guardrail: the terminal evaluator must resolve each intermediate signer's current epoch and compute a scope delta before admitting the capability, and must treat a narrowing delta under a grace-window anchor as a hard re-negotiation trigger, not a soft warning. ## Operational Effect Without the guardrail, federations exhibit **silent privilege persistence**: capabilities granted under superseded policy epochs continue to execute for the full grace window after the issuing org has narrowed them. The blast radius scales with grace-window length and chain depth — deeper chains have more intermediate signers, each with an independent rotation schedule, so the probability that *at least one* hop is in a narrowing-stale state approaches 1 for long-lived capabilities. The failure is invisible to revocation monitoring (no anchor was revoked), invisible to signature monitoring (every signature verified), and visible only to a verifier that explicitly diffs epochs. With the guardrail, the operational cost is a per-evaluation cross-org epoch fetch for each intermediate signer — a latency and availability dependency that pure signature verification avoided. The mitigation is to cache peer epoch manifests with short TTLs and fail *closed* (reject on stale manifest) rather than fail open, accepting that a peer directory outage now blocks delegation admission rather than silently admitting stale grants. That trade — availability of admission for integrity of authorization — is the correct side of the boundary, because the alternative is executing writes that the issuing org already forbade. The instance-level rule: **never treat a grace-window anchor as authorization to execute; treat it only as authorization to verify, and gate execution on a current-epoch scope-preservation check.** ```python import time from dataclasses import dataclass from enum import Enum class TrustDecayError(RuntimeError): """Raised when a federated chain verifies cryptographically but its stamped policy epochs are stale in a scope-narrowing way.""" class ScopeDelta(Enum): PRESERVING = "preserving" WIDENING = "widening" NARROWING = "narrowing" class AnchorState(Enum): CURRENT = "current" GRACE = "grace" # still trusted, flagged retiring RETIRED = "retired" # past grace, must reject @dataclass class Hop: signer: str stamped_epoch: int anchor_state: AnchorState scope_delta_vs_current: ScopeDelta @dataclass class PeerEpochManifest: signer: str current_epoch: int fetched_at: float def is_fresh(self, ttl_seconds: float = 30.0) -> bool: return (time.time() - self.fetched_at) <= ttl_seconds def admit_federated_capability( chain: list[Hop], manifests: dict[str, PeerEpochManifest], manifest_ttl: float = 30.0, ) -> bool: """Admit a delegated capability only if every hop is signature-valid (assumed pre-checked) AND epoch-current OR scope-preserving. Fails closed on stale manifests: a peer directory outage blocks admission rather than silently admitting a stale narrowing grant. """ for hop in chain: if hop.anchor_state is AnchorState.RETIRED: raise TrustDecayError( f"hop {hop.signer}: anchor retired, chain rejected" ) manifest = manifests.get(hop.signer) if manifest is None or not manifest.is_fresh(manifest_ttl): raise TrustDecayError( f"hop {hop.signer}: epoch manifest missing or stale; " f"cannot prove scope-preservation, failing closed" ) epoch_current = hop.stamped_epoch == manifest.current_epoch if epoch_current: continue # no decay possible # Stale epoch: only safe if the newer epoch did not narrow scope. if hop.scope_delta_vs_current is ScopeDelta.NARROWING: if hop.anchor_state is AnchorState.GRACE: raise TrustDecayError( f"hop {hop.signer}: stamped epoch {hop.stamped_epoch} " f"< current {manifest.current_epoch} with scope-narrowing " f"delta under grace-window anchor; " f"verified-but-stale grant, re-negotiation required" ) # narrowing + current anchor is an inconsistency; reject too raise TrustDecayError( f"hop {hop.signer}: narrowing epoch delta on non-grace anchor" ) # PRESERVING or WIDENING under stale epoch: not over-privileged. # Accept, but this is where a caller would emit a decay telemetry event. return True def _example() -> None: chain = [ Hop("A-root", stamped_epoch=7, anchor_state=AnchorState.CURRENT, scope_delta_vs_current=ScopeDelta.PRESERVING), Hop("B-root-v3", stamped_epoch=41, anchor_state=AnchorState.GRACE, scope_delta_vs_current=ScopeDelta.NARROWING), Hop("C-root", stamped_epoch=3, anchor_state=AnchorState.CURRENT, scope_delta_vs_current=ScopeDelta.PRESERVING), ] manifests = { "A-root": PeerEpochManifest("A-root", 7, time.time()), "B-root-v3": PeerEpochManifest("B-root-v3", 42, time.time()), "C-root": PeerEpochManifest("C-root", 3, time.time()), } # Raises TrustDecayError on the B hop: epoch 41 < 42, narrowing, grace. admit_federated_capability(chain, manifests) if __name__ == "__main__": _example() ```