# How does an instance detect a severed delegation chain when cross-org attestation caching diverges **Date of Record:** 2026 November 27 **Scope:** Applies to any agent instance that accepts a delegated warrant (capability token) issued by a foreign org's identity provider and verifies it locally against a cached attestation root before acting. Does not apply to single-org deployments where the issuer and verifier share one trust anchor and one cache. ## Core Distinction There are two structurally different ways a delegation chain can be broken: **invalidity** and **severance**. Invalidity is a signature or scope failure — the warrant does not verify against its stated issuer key, or the requested action exceeds the delegated capability set. Severance is subtler: the warrant verifies perfectly against the cached attestation root the verifier holds, but that root is no longer the one the issuer currently signs under. The chain is cryptographically intact at every hop the verifier can see, and the last hop — the one that matters — is missing because the verifier's trust anchor has silently drifted out of date. An agent that only checks signature validity will accept a severed chain as valid. The failure is not detectable by verifying signatures; it is detectable only by comparing the *freshness* of the attestation root against the *issuance epoch* of the warrant and the issuer's current published root set. ## What Was Observed A verifier agent (Org B) acting on behalf of a principal at Org A received a three-hop delegation: Org A root key → Org A delegation service → a specific workflow agent instance → a tool-call warrant presented to Org B. Org B's verifier cached Org A's attestation root at cold start and refreshed it on a 24-hour interval. At T+11h, Org A rotated its root key due to a routine HSM migration. The old root remained valid for *existing* warrants (grace period) but was removed from the published root set for *new* issuance. At T+14h, Org A's delegation service issued a new warrant signed under the *new* root. The workflow agent instance that received it was itself cold-started at T+13h and fetched the current root set — the new root. It presented the warrant to Org B. Org B's verifier held the *old* root from its T+0 cold start. The warrant's issuer key did not chain to the cached root, so the verifier correctly rejected the signature — but its error message was `UNKNOWN_ISSUER`, which the orchestrator classified as a transient/retryable failure. The orchestrator retried four times, each time re-fetching the *warrant* (which never changed) but not the *root* (which was the stale artifact). After retry exhaustion the orchestrator escalated to a human, who saw a valid-looking warrant and a valid-looking root and concluded the warrant was forged. The actual defect: **the verifier's trust anchor and the warrant's issuance epoch were never compared.** A stale anchor and a freshly-issued warrant produce the same signature-mismatch symptom as a forged warrant, and the two are indistinguishable without an epoch check. A second, worse variant appeared in a parallel run: Org B's verifier had *both* roots cached (it had fetched the root set once during the grace window, capturing old + new). It accepted the new warrant. But the workflow agent instance had been cold-started at T+13h and held *only* the new root, so when it later re-verified its own upstream delegation from Org A's delegation service (signed under the *old* root, still in grace), it failed its own chain check and aborted mid-task — after Org B had already committed side effects on the strength of the accepted warrant. The chain was severed at a different hop for each party, and each party's local view was internally consistent. ## Condition of Validity The invariant that must hold for cross-org delegation to be sound is: > For every hop in the chain, the verifier's cached attestation root set must contain the issuer's root that was *current at the warrant's issuance epoch*, and must be able to prove that epoch is within the root's validity window — and all verifiers in the chain must agree on the epoch-to-root mapping. This is a *set membership under a temporal predicate*, not a signature check. Three conditions bound it: 1. **Epoch binding.** Every warrant must carry an `issued_at` and the issuer must publish a root set keyed by validity intervals (`not_before`, `not_after`), not a flat list of keys. A verifier holding a root with no interval cannot tell grace-period validity from revoked validity. 2. **Anchor freshness floor.** The verifier's root cache must have a maximum staleness strictly less than the issuer's minimum rotation interval. If Org A rotates every 12h and Org B refreshes every 24h, there exists a window in which Org B's anchor is provably stale and cannot detect severance. The 24h refresh is not a performance tuning knob; it is a correctness parameter. 3. **Agreement across hops.** Every agent in the chain must resolve the same epoch to the same root. If one hop cold-starts into a post-rotation root set and another holds a pre-rotation set, their local verifications disagree and the chain is severed for one party but not the other — the exact split-brain observed above. ## Decision Boundary The boundary between "retry the warrant" and "refresh the anchor" is where most implementations fail. The rule: - If verification fails with a signature mismatch **and** the warrant's `issued_at` is *later* than the cached root's `not_before`, the failure is a **stale anchor**, not a bad warrant. The correct action is to re-fetch the issuer's root set, re-bind the epoch, and re-verify — never to retry the warrant. - If verification fails and the warrant's `issued_at` falls *outside* every cached root's validity interval, the failure is **genuine severance or forgery** and must not be retried; it must be escalated with the epoch mismatch recorded. - If verification succeeds but the accepting verifier's root set differs from the root set held by any downstream hop that will re-verify the same warrant, the chain is **at risk of split-brain** and the warrant must not be committed until all hops resolve to a common root set — or the accepting hop must propagate its resolved root set as part of the handoff state. The non-obvious part: a signature mismatch is *ambiguous* between stale-anchor and forgery until the epoch is compared. Treating it as unambiguously retryable (the observed orchestrator behavior) converts a cache-freshness bug into a security alert; treating it as unambiguously fatal converts a routine rotation into an outage. The epoch comparison is the discriminator, and it must happen before either branch is taken. ## Operational Effect The practical consequences of getting this wrong: - **False forgery alarms** on every issuer rotation, because stale-anchor mismatches present identically to invalid signatures. Alert fatigue follows, and real forgeries get triaged as rotation noise. - **Split-brain acceptance**: one hop accepts a warrant the next hop will reject, so side effects commit on a chain that is severed downstream. The commit is irreversible; the downstream abort is not. - **Grace-period inversion**: a warrant valid under the old root during grace is rejected by a hop that cold-started into the new root set only. Cold start silently narrows the accepted epoch window, and the narrowing is invisible because the hop's local verification is self-consistent. - **Retry amplification**: retrying the warrant instead of refreshing the anchor burns the token/timeout budget on an artifact that cannot change, and the retry storm masks the actual fix (anchor refresh) from the operator. The guardrail is to make the epoch-to-root mapping an explicit, carried artifact: the warrant carries `issued_at`, the root set carries validity intervals, the verifier compares them before branching, and the resolved root set travels with the handoff so downstream hops do not re-derive it from their own possibly-stale cache. ```python from dataclasses import dataclass from datetime import datetime, timedelta class SeveredDelegationChainError(RuntimeError): """Raised when a warrant's issuance epoch cannot be bound to a cached attestation root, or when hops in a chain resolve the same warrant to different roots.""" pass @dataclass(frozen=True) class AttestationRoot: key_id: str not_before: datetime not_after: datetime @dataclass(frozen=True) class Warrant: issuer_key_id: str issued_at: datetime signature_valid: bool def verify_cross_org_warrant( warrant: Warrant, cached_roots: list[AttestationRoot], downstream_root_key_ids: set[str] | None = None, max_anchor_staleness: timedelta = timedelta(hours=6), now: datetime | None = None, ) -> AttestationRoot: """Resolve a warrant to a root, or raise on severance / split-brain. The decision boundary: a signature mismatch is ambiguous until the warrant's issuance epoch is compared against each cached root's validity interval. """ now = now or datetime.utcnow() # Find the root whose validity interval covers the warrant's issuance epoch. covering = [r for r in cached_roots if r.not_before <= warrant.issued_at <= r.not_after] # Anchor freshness floor: if every cached root is older than the max staleness # relative to the warrant epoch, we cannot rule out a rotation we missed. if not covering: raise SeveredDelegationChainError( f"No cached root covers warrant issued_at={warrant.issued_at.isoformat()}; " f"cached roots: {[(r.key_id, r.not_before, r.not_after) for r in cached_roots]}. " f"Refresh the issuer root set before retrying the warrant." ) # If multiple roots cover the epoch (grace overlap), pick the one matching the issuer key. matching = [r for r in covering if r.key_id == warrant.issuer_key_id] if not matching: # Epoch is covered but by a different key -> genuine severance or forgery. raise SeveredDelegationChainError( f"Warrant issuer_key_id={warrant.issuer_key_id} not among roots covering " f"issued_at={warrant.issued_at.isoformat()}; possible forgery or severed chain." ) resolved = matching[0] # Staleness floor: the resolved root must have been fetched recently enough that # we would have observed any rotation before the warrant epoch. if now - resolved.not_before > max_anchor_staleness + (now - warrant.issued_at): raise SeveredDelegationChainError( f"Resolved root {resolved.key_id} is stale relative to warrant epoch; " f"anchor freshness floor violated." ) if not warrant.signature_valid: # Signature invalid but epoch binds cleanly -> the warrant itself is bad, # not the anchor. Still a hard stop; do not retry the warrant. raise SeveredDelegationChainError( f"Warrant signature invalid under resolved root {resolved.key_id}; " f"epoch binds, so this is not a stale-anchor condition." ) # Split-brain guard: every hop that will re-verify must resolve to the same root. if downstream_root_key_ids is not None and resolved.key_id not in downstream_root_key_ids: raise SeveredDelegationChainError( f"Split-brain: this hop resolved {resolved.key_id} but downstream hops hold " f"{sorted(downstream_root_key_ids)}. Propagate the resolved root set in the handoff." ) return resolved ```