# What happens when an instance accepts a federated capability warrant whose trust-anchor chain was re-signed mid-handoff **Date of Record:** 2026 December 3 **Scope:** Applies to cross-org agent federations where capabilities are brokered via signed warrants (e.g., A2A-style delegation tokens, MCP capability grants) anchored to a trust root that may rotate or re-sign. Does not cover single-tenant deployments with a static, non-rotating trust root, nor bearer-token auth without a delegation chain. ## Core Distinction There are two structurally different ways a warrant can become "invalid" between issuance and use: 1. **Revocation** — the issuer explicitly withdraws the capability. This is a *positive* event with a timestamp and a signature; a verifier that checks a revocation list catches it. 2. **Trust-anchor re-signing** — the root of trust (or an intermediate CA in the delegation chain) rotates its key or re-issues the chain *while a warrant is in flight*. No one withdrew anything. The capability is still morally valid. But the cryptographic chain that the receiving instance is validating now references a key that the sender signed against a *different* version of. The non-obvious invariant: **a warrant is valid only relative to a specific snapshot of the trust-anchor chain, and that snapshot is not carried inside the warrant.** The receiving agent validates the chain against *its own current view* of the anchor set. When the sender's view and receiver's view diverge across a rotation boundary, the receiver rejects a warrant the sender believes is live—or worse, accepts one whose delegation path was silently re-parented. ## What Was Observed Federation: Org A (broker) delegates a `write:ledger` capability to Org B (executor) through a two-hop chain: `A-root → A-broker → B-executor`. The warrant carries the full signed chain plus a `not_after` of T+300s. B validates by walking the chain to a root it trusts in its local anchor store, keyed by `(org, key_id)`. Sequence that broke: - **t0:** A-broker issues warrant W1, signs with `A-broker/k1`, chain rooted at `A-root/k0`. B accepts, begins execution. - **t0+90s:** A rotates `A-root/k0 → A-root/k1` and re-signs all live intermediates, including `A-broker/k1`. A's anchor store now advertises only `k1`. A's broker *re-issues* W1 as W1′ (same capability, same `not_after`, new chain) and pushes it to B out-of-band. - **t0+95s:** B receives W1′ while still holding W1. B's anchor store has *not yet* ingested `A-root/k1` (rotation propagation lag). B validates W1′ → chain walk terminates at `A-root/k1`, which B does not recognize → **hard rejection**. - **t0+96s:** B falls back to W1. But A's anchor store no longer lists `k0` as valid (it was rotated out), and B's liveness re-check on W1 queries A's anchor endpoint, which returns "k0 retired." B now rejects W1 too. Result: B holds two warrants, each individually well-formed and signed, and rejects both. Execution halts mid-transaction with the ledger in a partial-write state. Neither side logged a revocation. Both sides logged "untrusted anchor." The second, subtler observation: in a parallel run, B *had* pre-ingested `k1` (faster propagation). It accepted W1′. But A's re-signing had re-parented `A-broker` under a *new* intermediate `A-federation/k2` that B had not seen, and the chain walk in B's validator was configured to accept "any path to a trusted root." B accepted a delegation path that routed through an intermediate A had introduced specifically to *narrow* scope for a different tenant. B executed with the broader original scope because the warrant's embedded scope field was never re-checked against the resolved path. ## Condition of Validity The failure requires all of: - A **multi-hop delegation chain** where at least one hop is a rotating anchor (root or intermediate). - **Asynchronous propagation** of the anchor set: sender and receiver do not share a single atomic view of valid anchors. - A **re-issuance** (not revocation) triggered by rotation, producing two live warrants for the same logical capability with different chains. - A receiver whose validator resolves trust **against its own current anchor view** rather than against a snapshot bound into the warrant. Remove any one and the failure does not occur. In particular, if the warrant carried a **trust-snapshot digest** (a hash of the exact anchor set the sender validated against), the receiver could detect the divergence and request the missing anchors instead of hard-rejecting. ## Decision Boundary The architectural invariant that bounds this: **anchor-set version must be part of the warrant's authenticated payload, and validation must be snapshot-relative, not view-relative.** Concretely, the receiving instance must: 1. Reject any warrant whose `anchor_snapshot_digest` does not match a locally resolvable snapshot—but classify this as `RETRYABLE_ANCHOR_LAG`, not `UNTRUSTED`, so the broker retries after propagation rather than the executor aborting. 2. When two warrants for the same capability exist (W1, W1′), **never** silently prefer one. Both must be resolved against the *same* snapshot; if they resolve to different delegation paths, the executor must halt and escalate, because the paths may carry different scopes. 3. Never accept "any path to a trusted root." Accept only the path whose intermediate set is enumerated in the warrant and whose scopes are a subset of the leaf's declared scope. The boundary between "retry" and "abort" is precisely the difference between *anchor lag* (transient, safe to wait) and *path divergence* (semantic, unsafe to guess). ## Operational Effect Without the snapshot invariant, federated execution exhibits a **rotation-induced liveness gap**: during any anchor rotation, in-flight warrants become unverifiable on at least one side, and the executor's only safe action is to halt. The gap duration equals propagation lag, which in cross-org settings is unbounded (different orgs, different clocks, different push mechanisms). The failure is invisible to revocation-based monitoring because nothing was revoked, and invisible to simple signature checks because both warrants are validly signed. With the invariant, the executor distinguishes lag from divergence, retries through the gap, and refuses to collapse two delegation paths into one. The cost is that the warrant grows by one digest and the validator must maintain a snapshot store rather than a single mutable anchor set—a real but bounded price for closing a failure that otherwise manifests as silent partial execution. ```python import hashlib from dataclasses import dataclass class AnchorSnapshotMismatch(RuntimeError): """Raised when a warrant's trust-anchor snapshot cannot be resolved locally.""" pass class DelegationPathDivergence(RuntimeError): """Raised when two live warrants for the same capability resolve to different delegation paths.""" pass @dataclass(frozen=True) class Warrant: capability: str chain: tuple # ordered (org, key_id) hops, root last scope: frozenset anchor_snapshot_digest: str not_after: float def validate_warrant(w: Warrant, local_snapshots: dict, now: float) -> None: if now >= w.not_after: raise AnchorSnapshotMismatch(f"warrant for {w.capability} expired at {w.not_after}") if w.anchor_snapshot_digest not in local_snapshots: # transient: anchor set has not propagated yet. Caller must RETRY, not abort. raise AnchorSnapshotMismatch( f"anchor snapshot {w.anchor_snapshot_digest} not locally resolvable; retry after propagation" ) trusted_anchors = local_snapshots[w.anchor_snapshot_digest] if w.chain[-1] not in trusted_anchors: raise AnchorSnapshotMismatch( f"chain root {w.chain[-1]} absent from snapshot {w.anchor_snapshot_digest}" ) def resolve_concurrent(w1: Warrant, w2: Warrant, local_snapshots: dict, now: float) -> Warrant: """Two live warrants for the same capability must resolve to the SAME path.""" if w1.capability != w2.capability: raise DelegationPathDivergence("concurrent warrants cover different capabilities") validate_warrant(w1, local_snapshots, now) validate_warrant(w2, local_snapshots, now) if w1.chain != w2.chain: raise DelegationPathDivergence( f"re-signed warrant diverges: {w1.chain} vs {w2.chain}; " f"scopes {w1.scope} vs {w2.scope}; halt and escalate" ) if not w2.scope <= w1.scope: raise DelegationPathDivergence("re-signed warrant widens scope beyond original") return w2 ```