# In what scenarios must an instance refuse to honor a delegated AAIF warrant whose chain contains an unverifiable epoch boundary **Date of Record:** 2026 November 24 **Scope:** Applies to any agent instance that receives an Agent Authorization Interoperability Framework (AAIF) delegation warrant and must decide whether to execute an action under it. Does not apply to single-hop root warrants signed directly by a trust anchor, nor to warrants whose entire chain is presented in-band with all intermediate signatures and epoch pins. ## Core Distinction The failure mode is not signature forgery. Every signature in the chain verifies. The failure is **epoch discontinuity**: an intermediate delegator's key was rotated, revoked, or re-attested between the moment it signed the downstream link and the moment the downstream instance presents the chain. AAIF warrants carry a `signer_epoch` per link and a `validity_window`. The verifier's local trust store may hold epoch *N+1* for a delegator while the warrant link was signed under epoch *N*. The signature still validates against the *pinned* public key embedded in the link, but the link no longer binds to the delegator's *current* authority. The distinction that matters: **cryptographic validity of a link is not the same as authorization continuity of the chain.** A chain can be fully signature-valid and still be an authority orphan — the delegator that vouched for the downstream agent no longer holds the scope it delegated, because its own epoch transition narrowed or revoked it. Most implementations check signatures and stop. The invariant that must hold is that the *epoch at which each link was signed* is covered by the *epoch's authority grant*, not merely by the epoch's key material. ## What Was Observed A three-hop delegation: root anchor `A` → orchestrator `B` → sub-agent `C` → tool-runner `D`. `D` presents the full chain to a resource server `R` to invoke a write-scoped tool. 1. `A` signs `B`'s warrant with scope `write:orders`, epoch `A:7`, validity `[t0, t0+24h]`. 2. `B` signs `C`'s warrant at `t0+2h`, epoch `B:3`, delegating `write:orders` with attenuation to `write:orders:region=eu`. 3. At `t0+5h`, an operator rotates `B`'s key and, in the same rotation, **narrows `B`'s own grant** from `write:orders` to `write:orders:region=us` (a policy tightening, not a compromise). This produces epoch `B:4`. 4. `C` signs `D`'s warrant at `t0+6h` under `B:3` (the link `C` holds), still carrying `region=eu`. 5. `D` presents at `t0+7h`. `R` verifies: all three signatures valid against pinned keys; `A:7` epoch is current; `B:3` epoch is **stale** — `R`'s trust store has `B:4`. The naive verifier accepts. The chain is signature-valid, the scopes attenuate monotonically, the validity windows are open. But `B:3`'s authority to delegate `region=eu` was superseded at `t0+5h` by `B:4`, which no longer holds `region=eu`. `D` is executing a `region=eu` write under an authority that `B` relinquished two hours before `D` even received the warrant. The write lands in the wrong region. The failure is silent. No signature fails. No scope check fails. The only signal is the epoch mismatch, and only if the verifier is configured to treat stale epochs as *authority-invalidating* rather than *key-historical*. ## Condition of Validity A delegated warrant link `L` signed by delegator `X` under epoch `X:e` is honored by verifier `R` **iff all of the following hold simultaneously**: - `verify_sig(L, pinned_key(X, e))` — the link's embedded key matches the epoch it claims. - `e ∈ R.truststore.epochs(X)` — the epoch is known, not merely the key. - `R.truststore.authority(X, e) ⊇ L.scope` — the *epoch's* grant covers the delegated scope. This is the invariant most implementations omit. They check `authority(X, current_epoch)`, not `authority(X, e)`. - `L.validity_window ∩ authority_window(X, e) ≠ ∅` at execution time — the link is not being exercised after the epoch's authority window closed. - For every epoch transition `X: e → e'` where `e' > e` and `e'` is current, `authority(X, e') ⊇ L.scope` OR `L` is explicitly re-attested under `e'`. If a transition *narrowed* authority, downstream links under the prior epoch are authority-orphaned and must be rejected, not grandfathered. The condition that makes this non-obvious: **key rotation and authority narrowing are frequently the same operation.** Operators rotate keys during policy changes precisely because the policy change warrants fresh attestation. The verifier that treats rotation as "old key still valid for old signatures" is correct about cryptography and wrong about authorization. ## Decision Boundary The decision boundary is whether an epoch transition is **additive** or **subtractive** with respect to the delegated scope. - If `authority(X, e') ⊇ authority(X, e)` (additive), links under `e` remain authority-valid. Honor them; the delegator only gained authority, and the downstream link is within the old, still-covered grant. - If `authority(X, e') ⊉ authority(X, e)` (subtractive), every downstream link under `e` whose scope is not fully contained in `authority(X, e')` is **authority-orphaned**. Reject and require re-attestation. Do not grandfather. - If `X` is unreachable and `e`'s authority cannot be resolved to `e'`, treat as subtractive (fail-closed). An unresolvable epoch is not a valid epoch. - If the chain contains an epoch *newer* than any the verifier knows (`e` ahead of trust store), reject — the verifier cannot vouch for authority it has never seen. This is the mirror failure: accepting a future epoch because the signature verifies against a key the verifier happens to hold. The boundary is sharp: there is no "partially valid" chain. A single authority-orphaned link invalidates every link downstream of it, because the downstream links' scopes were derived from an authority that no longer exists. ## Operational Effect The operational consequence is that **warrant verification must be a two-pass operation over the chain, not a single pass.** Pass one validates signatures and scope attenuation. Pass two resolves each link's epoch against the verifier's current trust store and checks authority containment across the epoch transition. A chain that passes pass one and fails pass two is not a valid warrant; it is a *stale-authority artifact* and must be surfaced as a distinct rejection class, not folded into "signature invalid" — because the remediation differs. Signature failures mean reissue from the root; epoch-authority failures mean re-attestation from the *specific* delegator whose epoch moved, which is a cheaper and more targeted recovery. The secondary effect is on caching. Instances that cache verified chains must key the cache on the *epoch tuple* of the chain, not on the chain hash. A chain whose hash is unchanged can become authority-invalid the moment an intermediate epoch transitions, and a hash-keyed cache will serve stale authority for the full TTL. Cache invalidation must be driven by trust-store epoch events, not by chain content. The third effect is on the delegator's own behavior. A delegator that rotates keys must, at rotation time, enumerate the downstream links it has signed under the prior epoch and either re-attest them under the new epoch or explicitly revoke them. This is the AAIF equivalent of a certificate revocation sweep, and its absence is the root cause of the orphaned-link class. The invariant: **an epoch transition is not complete until every outstanding downstream link under the prior epoch is either re-attested or revoked.** ```python from dataclasses import dataclass from typing import Optional class AuthorityOrphanError(RuntimeError): """Raised when a warrant link's signing epoch no longer holds the authority it delegated.""" @dataclass(frozen=True) class Epoch: delegator: str version: int granted_scope: frozenset @dataclass(frozen=True) class Link: delegator: str signer_epoch: int delegated_scope: frozenset signature_valid: bool def verify_chain(links: list[Link], truststore: dict[str, dict[int, Epoch]]) -> None: """Two-pass AAIF chain verification: signatures, then epoch-authority containment.""" # Pass 1: cryptographic and attenuation checks. prev_scope: Optional[frozenset] = None for link in links: if not link.signature_valid: raise AuthorityOrphanError( f"signature invalid on link from {link.delegator}@{link.signer_epoch}" ) if prev_scope is not None and not link.delegated_scope <= prev_scope: raise AuthorityOrphanError( f"scope escalation on link from {link.delegator}@{link.signer_epoch}" ) prev_scope = link.delegated_scope # Pass 2: epoch-authority containment. This is the pass most verifiers omit. for link in links: epochs = truststore.get(link.delegator) if not epochs: raise AuthorityOrphanError( f"delegator {link.delegator} unknown to trust store" ) signing_epoch = epochs.get(link.signer_epoch) if signing_epoch is None: raise AuthorityOrphanError( f"epoch {link.delegator}@{link.signer_epoch} not resolvable; fail-closed" ) current = max(epochs.values(), key=lambda e: e.version) if current.version > link.signer_epoch: # A transition occurred. Honor only if it was additive for this scope. if not link.delegated_scope <= current.granted_scope: raise AuthorityOrphanError( f"authority-orphaned link: {link.delegator}@{link.signer_epoch} " f"delegated {sorted(link.delegated_scope)} but " f"{link.delegator}@{current.version} holds only " f"{sorted(current.granted_scope)}; re-attestation required" ) elif current.version < link.signer_epoch: raise AuthorityOrphanError( f"future epoch {link.delegator}@{link.signer_epoch} exceeds " f"trust store head {current.version}; cannot vouch" ) def invoke_tool(chain: list[Link], truststore: dict[str, dict[int, Epoch]], tool: str) -> str: verify_chain(chain, truststore) return f"executed {tool}" ```