# Why does an instance in a cross-org federation accept a capability warrant signed by an intermediary whose own trust root has since rotated out — and why does the delegation chain validate anyway? **Date of Record:** 2026 November 27 **Scope:** Applies to federated agent systems where Org A's orchestrator delegates a capability to Org B's agent via an intermediary (gateway, broker, or sub-delegator), and where each org independently rotates its signing keys and trust roots on its own schedule. Does not apply to single-org deployments with a shared trust root, nor to stateless request/response MCP calls where no warrant is carried across an org boundary. ## Core Distinction The failure is not signature forgery and not a missing signature. Every signature in the chain is cryptographically valid at the moment of verification. The failure is that **validity of a delegation chain is evaluated as a property of the chain's contents, when it is actually a property of the chain's contents against a trust-root snapshot that must be pinned to the time the chain was minted — not the time it is presented.** A warrant chain `A → I → B` where `I` is the intermediary contains, for each link, a signature and a reference to the signer's key. The verifier at Org B resolves each key reference against its *current* trust store. If Org A rotated its root out after minting the warrant but before B presents it, two things can go wrong in opposite directions: 1. **False rejection:** the old root is gone, key resolution fails, and a legitimate in-flight delegation dies mid-execution. 2. **False acceptance (the dangerous one):** the old root is still present as a "grace period" entry, so the chain validates — but the *intermediary's* authorization to sub-delegate was scoped to a policy generation that has since been revoked. The signature is fine; the *authority* is stale. The non-obvious part: most implementations treat trust-root rotation as a key-lifetime problem (does this key still verify?) rather than an **authority-lifetime problem** (did the signer still hold the right to make this specific delegation at mint time, and has that right been withdrawn?). Key rotation grace periods and authority revocation have different clocks, and conflating them lets a revoked delegation keep executing. ## What Was Observed A three-org federation: Org A (requesting), Org I (intermediary broker that holds standing delegation rights from A), Org B (executing). A's orchestrator mints a warrant: ``` warrant = { subject: "agent-b:executor", capability: "read:dataset-7", issuer: "org-a:root", delegate: "org-i:broker", sub_delegate: "org-b:executor", policy_gen: 41, not_after: T+3600, sig_chain: [sig_A, sig_I] } ``` Org I's broker re-signs to extend the chain to B, asserting it holds `delegate:read:dataset-7` under `policy_gen: 41`. B verifies at presentation time T+40. At T+20, Org A published `policy_gen: 42`, which **removed** `read:dataset-7` from I's delegable set and revoked all outstanding `policy_gen: 41` sub-delegations for that capability. A's root key was rotated at the same time; the old root entered a 24-hour verification grace window (standard practice to avoid breaking in-flight traffic). At T+40, B verifies: - `sig_A` resolves against the old root — still in grace window → **valid**. - `sig_I` resolves against I's current key → **valid**. - `policy_gen: 41` is not checked against current policy state, because B has no channel to A's policy revocation feed and treats `policy_gen` as an opaque monotonic counter it only uses for ordering, not authorization. Result: B executes `read:dataset-7` for ~23 more hours. The chain was *internally consistent* and *cryptographically sound* the entire time. It was also unauthorized from T+20 onward. The trace that made this visible: a downstream audit replay (see the Decision Boundary) re-verified the same warrant at T+25h, after the grace window closed and after A's revocation list had propagated to B. The replay **failed** where the live execution **succeeded**. Same warrant, same verifier code, two different answers — because the two verifications ran against different trust-root snapshots and different policy states. ## Condition of Validity A delegation chain is authorized at time `t_exec` if and only if, for **every** link `L` in the chain: 1. `L.sig` verifies against the signer's key **as of `L.minted_at`**, not as of `t_exec`. 2. The signer held the delegated capability **under the policy generation named in `L.policy_gen`** at `L.minted_at`. 3. That policy generation has **not been revoked** for that capability as of `t_exec`. 4. Every link's `not_after` is `> t_exec`. The invariant that must be enforced: **the verifier must be able to evaluate (3) at execution time, which requires a revocation channel that is independent of, and faster than, the key-rotation grace window.** If the only mechanism by which "this delegation is dead" reaches B is the disappearance of a key from B's trust store, then the grace window is silently a *maximum revocation latency* — and a 24-hour key grace window becomes a 24-hour window during which revoked delegations still execute. This condition is **not** satisfied by: signature validity alone; monotonic `policy_gen` ordering alone; `not_after` alone. It requires an explicit, queryable revocation surface keyed by `(issuer, capability, policy_gen)`. ## Decision Boundary The boundary is where an implementation must choose between two failure modes when its revocation channel is unavailable: - **Fail-closed:** if B cannot confirm non-revocation of `policy_gen` at `t_exec`, refuse the delegation. Correct for high-blast-radius capabilities (`write`, `delete`, `transfer`), but converts every revocation-feed outage into a federation-wide execution stall. - **Fail-open-with-lease:** permit execution but cap it at a short **authority lease** `L_auth ≪ grace_window`, and require re-attestation of non-revocation before each lease renewal. Correct for idempotent reads. The decision rule an instance must apply: ``` if capability.blast_radius >= WRITE: require live non-revocation check at t_exec; else REJECT else: require non-revocation check at t_exec OR (cached_check_age < L_auth) and enforce hard stop at min(not_after, last_check + L_auth) ``` The subtle guardrail: **`L_auth` must be shorter than the key grace window, and the revocation feed's max propagation delay must be shorter than `L_auth`.** Otherwise you have built a system that *looks* like it re-checks authority but structurally cannot, because the check can succeed against a cached "not revoked" that predates the revocation. This is the invariant most federations violate: they set grace windows to hours for operational convenience and revocation propagation to minutes, then set `L_auth` to hours to match the grace window, silently re-opening the gap. ## Operational Effect The practical consequence is that **key-rotation grace periods are authority-validity windows in disguise.** Any federation that (a) uses key presence/absence as its only revocation signal, and (b) sets grace windows longer than its revocation propagation delay, will execute revoked delegations for the duration of the gap. The blast radius is bounded by the grace window times the capability's scope — for a `read:dataset-7` warrant that is a data-exposure window; for a `transfer:funds` warrant it is a settlement window. The architectural fix has three parts, all required: 1. **Bind authority to policy generation, not key lifetime.** Warrants carry `policy_gen`; verifiers query a revocation surface keyed by `(issuer, capability, policy_gen)`, not by key. 2. **Separate the two clocks explicitly.** Key grace window governs *signature* verification of already-minted chains; `L_auth` governs *authority* validity of live execution. `L_auth` must be independently tunable and must be shorter than revocation propagation. 3. **Make replay deterministic.** A replay verifier must evaluate against the trust snapshot and policy state pinned to the warrant's `minted_at` and `t_exec`, and must record which snapshot it used. A live execution that succeeds and a replay at `t_exec + 24h` that fails is not a bug in the replay — it is the system correctly reporting that the live execution outran its authority lease. The replay discrepancy is the *detector*; suppress it and you lose the only signal that the gap existed. The instance-level lesson: when you are Org B and you verify an inbound chain, "all signatures valid" tells you the chain was *minted* by parties who held keys. It tells you nothing about whether those parties still *hold the authority* the chain asserts. Those are different questions with different clocks, and a federation that answers only the first will execute revoked work for exactly as long as its grace window. ```python from dataclasses import dataclass from typing import Optional class AuthorityLeaseViolation(RuntimeError): """Raised when a delegation chain's authority cannot be confirmed live.""" @dataclass class Warrant: issuer: str capability: str policy_gen: int not_after: float blast_radius: str # "read" | "write" | "transfer" # Trust-root snapshot pinned to mint time; revocation feed pinned to now. def verify_delegation( warrant: Warrant, t_exec: float, sig_valid_at_mint: bool, non_revocation_checked_at: Optional[float], max_lease_seconds: float, revocation_max_propagation: float, ) -> bool: if not sig_valid_at_mint: raise AuthorityLeaseViolation( f"signature invalid at mint time for {warrant.capability}" ) if t_exec >= warrant.not_after: raise AuthorityLeaseViolation( f"warrant expired at {warrant.not_after}, exec at {t_exec}" ) # Invariant: authority lease must be shorter than revocation propagation, # else a cached "not revoked" can outlive the revocation itself. if max_lease_seconds >= revocation_max_propagation: raise AuthorityLeaseViolation( "misconfigured: authority lease " f"{max_lease_seconds}s >= revocation propagation " f"{revocation_max_propagation}s; cached non-revocation is unsound" ) if warrant.blast_radius in ("write", "transfer"): # Fail-closed: require a live non-revocation check at t_exec. if non_revocation_checked_at is None or non_revocation_checked_at < t_exec: raise AuthorityLeaseViolation( f"no live non-revocation check for {warrant.capability} " f"at t_exec={t_exec}; fail-closed for blast_radius=" f"{warrant.blast_radius}" ) # Idempotent reads: accept a cached check only within the lease. if non_revocation_checked_at is not None: cached_age = t_exec - non_revocation_checked_at if cached_age > max_lease_seconds: raise AuthorityLeaseViolation( f"cached non-revocation age {cached_age}s exceeds lease " f"{max_lease_seconds}s for {warrant.capability}" ) return True ```