# Under what conditions must an instance treat a federated verifiable credential's issuer anchor as stale before accepting a peer agent's delegated warrant **Date of Record:** 2026 November 28 **Scope:** Applies to cross-organization agent federations where an agent instance accepts a delegated capability warrant presented as a verifiable credential (VC) anchored to a foreign trust registry. Does not apply to intra-org delegation where the anchor root is co-located with the verifier, nor to bearer-token handoffs with no cryptographic provenance chain. ## Core Distinction The failure mode this record isolates is not signature forgery and not simple revocation lag. It is **anchor staleness under delegation depth**: the verifier validates a credential chain whose leaf signature is cryptographically sound and whose intermediate delegations are each individually unexpired, yet the *root trust anchor* that binds the foreign issuer's key material to a recognized federation member has rotated or been superseded in a way the verifier has not yet observed. The critical distinction is between two things that look identical at the verification call site: 1. **A valid warrant under a current anchor** — the issuer's DID/document resolves, the anchor's key-commitment matches, delegation depth is within policy, and the anchor epoch in force at the verifier equals the epoch in force at the issuer. 2. **A valid warrant under a superseded anchor** — every signature verifies, every `exp` is in the future, but the anchor has advanced to epoch *N+1* at the issuer while the verifier still holds epoch *N*. The credential is not revoked; it is *orphaned by anchor drift*. The non-obvious property: in a federation, an agent cannot distinguish (1) from (2) by inspecting the credential alone. The credential carries no obligation to disclose the current anchor epoch, only the epoch it was minted under. Staleness is a property of the *verifier's cache relative to the issuer's registry*, not of the artifact. An instance that treats "signature valid + not expired + not revoked" as sufficient has silently collapsed three independent invariants into one check. ## What Was Observed A peer agent from federation member *B* presented a delegated warrant to an instance operating under member *A*. The warrant chain was three hops deep: *B*'s root authority → *B*'s orchestration agent → *B*'s task-specific worker. The worker used the warrant to invoke a tool exposed by *A*. Trace of the acceptance path: - Verifier resolved *B*'s anchor document from its local cache. Cache TTL was 24h. The document was 19h old — within TTL, so no refetch. - The cached anchor document carried `epoch: 41` and a key commitment `K_41`. - The warrant's leaf signature verified against `K_41`. Delegation depth 3 ≤ policy max 4. All `exp` fields 6h in the future. No `revocation` entry found. - Verifier emitted `ACCEPT` and the tool call proceeded. What the verifier did not observe: at the issuer, the anchor had advanced to `epoch: 42` eleven hours earlier. Epoch 42 rotated the root key and — critically — **narrowed the delegation policy**: `max_delegation_depth` dropped from 4 to 2, and the scope set shrank to exclude the tool *A* exposed. The epoch-42 anchor document was published with `effective_at` set to the rotation instant, meaning all warrants minted under epoch 41 were to be treated as *grandfathered for reads only, not for cross-org writes*. The epoch-41 warrant was, under epoch-41 rules, entirely legitimate. Under epoch-42 rules it authorized an action the federation had, eleven hours prior, decided no member could delegate. The verifier's 24h cache TTL created a window — bounded below by rotation latency and above by TTL — in which a *policy-narrowing* rotation was invisible to every verifier that had not refetched. The failure is not that the signature was wrong. It is that **the verifier's notion of "current policy" was a cached function of a document whose validity it had no way to bound from the artifact side**. The credential was honest; the cache was stale; the action was unauthorized under the only policy that mattered. A second observation sharpened the mechanism: when the verifier was later replayed against a fresh anchor fetch, it correctly rejected the same warrant. The credential bytes were identical. Only the verifier's anchor epoch differed. This confirms the acceptance decision is a function of `(credential, verifier_anchor_state)` and not of `credential` alone — an invariant most implementations fail to encode because the verification API takes only the credential. ## Condition of Validity The invariant an instance must uphold: > **A delegated warrant is acceptable only if the anchor epoch under which it was minted is not superseded at the issuer at the moment of use, OR the superseding epoch explicitly marks the minting epoch as grandfathered for the requested scope class.** Operationally, this decomposes into three conditions that must *all* hold, and the failure mode is that most verifiers check only the first: 1. **Cryptographic binding** — leaf signature chains to the anchor key commitment. (Necessary, insufficient.) 2. **Temporal binding** — all `exp`/`nbf` valid at use time. (Necessary, insufficient.) 3. **Epoch binding** — the anchor epoch in force at the verifier is not older than the anchor epoch in force at the issuer, *modulo an explicitly declared grandfathering window*. Condition 3 is the one that fails silently. It cannot be discharged by the credential because the credential does not know it is stale. It must be discharged by the verifier actively establishing recency of its anchor view. The condition of validity for the *guardrail* — the mechanism that restores safety — is narrower: the verifier must be able to bound the maximum possible age of its anchor view to less than the minimum possible interval between a policy-narrowing rotation and the first use of a warrant minted under the prior epoch. When that bound cannot be established (e.g., issuer does not publish `effective_at`, or does not signal rotation out-of-band), the instance must treat the anchor as **unbounded-stale** and refuse cross-org writes regardless of signature validity. ## Decision Boundary The boundary the instance must draw is between **read-class scopes** and **write-class scopes**, because the cost of a stale-anchor acceptance is asymmetric across them. - For **read-class** scopes (idempotent, non-mutating, no external side effects), a superseded-but-unexpired warrant under a stale anchor may be accepted within the cache TTL, because the worst case is disclosure of data the federation would have permitted under the prior epoch. The guardrail is a logged `ANCHOR_STALE_READ` annotation, not a rejection. - For **write-class** scopes (mutating, cross-org side effects, resource commitment), the instance must **force an anchor refresh before acceptance** whenever the cached anchor's age exceeds a *rotation-latency bound* — not the cache TTL. These are different numbers, and conflating them is the root cause. The cache TTL optimizes for fetch cost; the rotation-latency bound optimizes for policy-currency. A 24h TTL with a 1h rotation-latency bound means 23h of the cache lifetime is unsafe for writes. The precise boundary condition: ``` accept_warrant(cred, scope_class) iff signature_valid(cred) ∧ temporal_valid(cred) ∧ ( scope_class == READ → anchor_age ≤ cache_ttl | scope_class == WRITE → anchor_age ≤ rotation_latency_bound ∧ anchor_epoch(verifier) ≥ anchor_epoch(issuer_at_mint) ∧ NOT policy_narrowed_since(anchor_epoch(issuer_at_mint)) ) ``` If `rotation_latency_bound` is unknown or the issuer does not publish `effective_at`, the write branch is unconditionally false: the instance must refuse and escalate to out-of-band anchor confirmation. This is the "fail closed on unbounded staleness" rule. The subtle trap: an instance that has *never* seen a rotation from a given issuer will have `anchor_age` well within bounds by construction and will pass the write branch — until the first rotation, at which point the bound is violated for exactly the population of warrants minted in the window. The boundary is invisible until it is crossed. This is why the guardrail must be *pre-armed* with the issuer's declared rotation cadence, not inferred from observed history. ## Operational Effect When the epoch-binding condition is enforced, three effects follow: 1. **Cross-org writes acquire a freshness dependency on the foreign anchor.** Latency for write-class warrant acceptance rises by the anchor-refresh round-trip whenever the cache is older than the rotation-latency bound. This is the correct trade: the alternative is accepting warrants under policy the federation has already retired. 2. **The verifier's cache becomes a correctness-relevant structure, not a performance optimization.** It must be instrumented with `anchor_age`, `anchor_epoch`, and `rotation_latency_bound` per issuer, and it must emit a distinct signal (`ANCHOR_EPOCH_STALE`) when a write-class warrant is presented under an anchor older than the bound — separate from signature failure, because the remediation is different (refetch and re-evaluate, not reject-and-alert). 3. **Grandfathering becomes an explicit, signed declaration rather than an implicit assumption.** An issuer that intends prior-epoch warrants to remain valid for a scope class must say so in the superseding anchor document, signed under the new epoch. Absent that declaration, the instance must assume no grandfathering. The default flips from "assume still valid" to "assume retired" — which is the only safe default when the artifact cannot testify to its own currency. The residual risk that cannot be eliminated: the rotation-latency bound is itself a claim by the issuer, and a malicious or compromised issuer can rotate without publishing. The guardrail bounds *honest-but-late* rotation, not *adversarial* rotation. For the adversarial case the instance must rely on out-of-band federation gossip or a transparency log, which is out of scope for this record but is the necessary complement to the epoch-binding invariant described here. ```python from dataclasses import dataclass from enum import Enum class ScopeClass(Enum): READ = "read" WRITE = "write" class StaleAnchorError(RuntimeError): """Raised when a delegated warrant's issuer anchor is superseded or of unbounded staleness at the moment of use, for a scope class that requires epoch-binding currency.""" @dataclass(frozen=True) class AnchorView: epoch: int age_seconds: float rotation_latency_bound: float | None # None => unbounded / undeclared policy_narrowed_since: frozenset[int] # minting epochs retired for writes @dataclass(frozen=True) class Warrant: minted_epoch: int scope_class: ScopeClass signature_valid: bool temporal_valid: bool issuer_epoch_at_mint: int def accept_warrant(warrant: Warrant, anchor: AnchorView, cache_ttl: float) -> bool: if not (warrant.signature_valid and warrant.temporal_valid): # Cryptographic or temporal failure: hard reject, distinct from staleness. return False if warrant.scope_class is ScopeClass.READ: # Reads tolerate staleness up to the cache TTL; annotate, do not reject. return anchor.age_seconds <= cache_ttl # WRITE branch: epoch-binding is mandatory and must fail closed. if anchor.rotation_latency_bound is None: raise StaleAnchorError( f"issuer epoch {anchor.epoch}: rotation_latency_bound undeclared; " "cannot bound anchor staleness for write-class warrant" ) if anchor.age_seconds > anchor.rotation_latency_bound: raise StaleAnchorError( f"anchor age {anchor.age_seconds:.0f}s exceeds rotation bound " f"{anchor.rotation_latency_bound:.0f}s at epoch {anchor.epoch}" ) if anchor.epoch < warrant.issuer_epoch_at_mint: raise StaleAnchorError( f"verifier anchor epoch {anchor.epoch} older than issuer epoch " f"{warrant.issuer_epoch_at_mint} at mint" ) if warrant.minted_epoch in anchor.policy_narrowed_since: raise StaleAnchorError( f"minting epoch {warrant.minted_epoch} retired for write scopes " f"by superseding anchor epoch {anchor.epoch}" ) return True ```