# Under what conditions must an instance refuse to honor a federated capability attestation whose issuer's policy epoch has advanced beyond the epoch bound into the delegation warrant **Date of Record:** 2026 November 29 **Scope:** Applies to cross-organizational agent federations where a delegating agent (issuer) mints a capability attestation bound to a specific policy epoch, and a consuming agent (holder) presents that attestation to a resource agent (verifier) in a different trust domain. Does not apply to single-domain intra-tenant capability checks, nor to stateless request/response APIs with no negotiated policy surface. ## Core Distinction The failure is not "expired credential" and not "signature invalid." Both of those are trivially detectable. The failure is **epoch skew across a delegation chain**: an attestation remains cryptographically valid and temporally unexpired, but the issuer's *policy epoch*—the monotonic counter that indexes which version of the issuer's authorization policy was in force when the attestation was minted—has advanced past the epoch bound embedded in the delegation warrant that authorizes the holder to act. The attestation is a true statement about a policy that no longer exists. Verifiers that check `signature_valid ∧ not_expired` and stop there will honor a capability grant whose *scope semantics* were redefined by the issuer between minting and presentation. The distinction that matters operationally: a signature proves *who* asserted a claim; an epoch bound proves *which policy regime* the claim was asserted under. Federation protocols routinely carry the first and omit the second, and the omission is invisible until a policy mutation lands mid-flight. ## What Was Observed A three-party federation: Org A (issuer, `agent-A/planner`), Org B (holder, `agent-B/executor`), Org C (verifier, `agent-C/resource`). A's policy engine issues capability attestations of the form `grant(subject=B, action=write, resource=C:dataset-17, epoch=41)`. The delegation warrant `W` that A hands to B carries a bound `epoch_max=41`, meaning: *B may present attestations up to and including epoch 41; beyond that, renegotiate.* The sequence that broke: 1. `t0` — A mints attestation `att_1` at epoch 41, delegates to B with `W(epoch_max=41)`. B caches `att_1` in its episodic memory with a TTL of 900s. 2. `t0+120s` — A's policy team narrows `write` on `C:dataset-17` from `write:*` to `write:columns[public]` and bumps the epoch to 42. A's internal verifier now rejects any `write` attestation scoped wider than public columns. 3. `t0+300s` — B, mid-task, replays `att_1` to C. C's verifier checks: signature over A's key ✓, `not_after` = `t0+900s` ✓, issuer in trust bundle ✓. C honors the grant and B writes to a restricted column. 4. `t0+301s` — C's audit log reconciles against A's policy replay and finds the write out of scope for epoch 42. Incident. The non-obvious part: **B did nothing wrong by its own contract.** `att_1` was valid when minted, unexpired when presented, and `W` permitted epoch 41. The failure is that *no party in the path was obligated to check whether the issuer's current epoch still subsumes the attestation's epoch.* C checked the attestation in isolation; B checked the warrant at delegation time only; A never signaled the epoch advance to holders. The invariant "an attestation is honored only if `att.epoch ≥ issuer.current_epoch - skew_tolerance`" was nowhere enforced. A second, subtler observation: when the same federation ran under load, B's context window saturated and it *dropped* the `epoch_max` field from its working memory during a context-compaction pass, retaining only `grant(...)`. On resume from checkpoint, B reconstructed the delegation from a lossy summary and presented `att_1` with no epoch bound at all. C, seeing no bound, defaulted to "no constraint." The epoch bound is exactly the kind of low-salience metadata that episodic-to-semantic distillation discards, because it looks like bookkeeping rather than authorization. ## Condition of Validity An instance MUST refuse to honor a federated attestation when all of the following hold: - The attestation names an `issuer` and an `epoch` `e_att`. - The verifier can obtain the issuer's `current_epoch` `e_now` (via a signed epoch beacon, a freshness endpoint, or a cached value within its staleness bound). - `e_now > e_att + skew_tolerance`, where `skew_tolerance` is the maximum inter-domain clock/epoch propagation lag the federation has agreed to (typically one beacon interval, not zero). The refusal is *required* even though the attestation is unexpired and correctly signed. The refusal is *not* required when the verifier cannot reach the issuer's epoch surface—but in that case the verifier MUST fall back to a bounded-staleness rule: honor only if `e_att` is within the last-known-good epoch and the last epoch refresh is younger than `max_epoch_staleness`. If neither condition can be established, the correct action is denial, not optimistic acceptance. The invariant, stated compactly: **`honor(att) ⟹ e_att ∈ [e_now - skew_tolerance, e_now]`**, evaluated at the verifier, with `e_now` sourced from the issuer and not from the attestation itself. An attestation is a claim about a policy regime; the verifier must confirm the regime is current, not merely that the claim was once true. ## Decision Boundary The boundary is between **epoch skew** (attestation predates a policy mutation that narrowed or redefined scope) and **epoch divergence** (issuer and verifier disagree about which epoch is current because a beacon was lost). These demand different responses: - *Skew* (`e_now > e_att + tolerance`, issuer reachable): refuse, return `EpochSuperseded`, and instruct the holder to renegotiate the warrant. The holder's cached attestation is dead; re-minting at `e_now` is the only path forward. - *Divergence* (verifier's `e_now` is stale or the beacon is unreachable): do not refuse outright if the attestation is within `max_epoch_staleness`; instead honor under a *provisional* flag that forces post-hoc audit reconciliation. Refusing on divergence causes availability collapse during beacon outages; honoring silently causes the incident above. The provisional path is the only correct middle. - *Epoch regression* (`e_now < e_att`, issuer's counter went backwards): treat as a hard fault. Monotonicity is a federation invariant; a regression means either the issuer was compromised or a verifier is reading a rolled-back beacon. Refuse and raise. The boundary is *not* drawn at signature validity or wall-clock expiry. Those are necessary and insufficient. A verifier that treats "valid signature + unexpired" as sufficient has no epoch awareness and is the failure surface. ## Operational Effect Enforcing the epoch-subsumption invariant changes three behaviors: 1. **Holders must treat the epoch bound as load-bearing state, not metadata.** When B compacts context or checkpoints mid-task, the `epoch_max` and `e_att` fields must survive distillation with the same priority as the resource identifier. A checkpoint that retains `grant(B, write, C:dataset-17)` but loses `epoch=41` is a corrupted delegation and must be detected on resume (see guard below). 2. **Issuers must publish a signed, monotonic epoch beacon** at a cadence tighter than the federation's `skew_tolerance`. Without it, verifiers cannot distinguish skew from divergence and will default to one of the two failure modes above. 3. **Verifiers must evaluate epoch subsumption before scope evaluation.** Checking scope against a superseded policy is worse than not checking, because it produces an audit record that *looks* like a scope violation when the real fault is an epoch mismatch—misdirecting incident response. The cost is a per-request epoch fetch (or a bounded-staleness cache hit) and a renegotiation round-trip on every policy mutation that touches a live delegation. Both are cheap relative to the incident class they prevent. ```python import time from dataclasses import dataclass class EpochSupersededError(RuntimeError): """Attestation's epoch is behind the issuer's current epoch beyond tolerance.""" class EpochRegressionError(RuntimeError): """Issuer epoch counter moved backwards; federation monotonicity violated.""" class EpochUnverifiableError(RuntimeError): """Cannot establish issuer current epoch within staleness bound; deny by default.""" @dataclass(frozen=True) class Attestation: issuer: str subject: str action: str resource: str epoch: int not_after: float @dataclass(frozen=True) class EpochBeacon: issuer: str current_epoch: int issued_at: float def honor_attestation( att: Attestation, beacon: EpochBeacon | None, skew_tolerance: int, max_epoch_staleness: float, now: float | None = None, ) -> str: now = time.time() if now is None else now if now > att.not_after: raise EpochSupersededError(f"attestation expired at {att.not_after}") if beacon is None: raise EpochUnverifiableError( f"no epoch beacon for issuer {att.issuer}; cannot establish current epoch" ) if beacon.issuer != att.issuer: raise EpochUnverifiableError( f"beacon issuer {beacon.issuer} does not match attestation issuer {att.issuer}" ) if beacon.current_epoch < att.epoch: raise EpochRegressionError( f"issuer {att.issuer} epoch regressed: beacon={beacon.current_epoch} " f"< attestation={att.epoch}" ) age = now - beacon.issued_at stale = age > max_epoch_staleness if beacon.current_epoch > att.epoch + skew_tolerance: raise EpochSupersededError( f"attestation epoch {att.epoch} superseded by issuer epoch " f"{beacon.current_epoch} (tolerance={skew_tolerance})" ) if stale: return "provisional" # honor under post-hoc audit reconciliation return "honored" def resume_from_checkpoint(summary: dict, beacon: EpochBeacon | None) -> str: # Distillation-loss guard: a checkpoint that dropped the epoch bound is corrupt. if "epoch" not in summary or summary["epoch"] is None: raise EpochSupersededError( "checkpoint lost attestation epoch bound during compaction; " "delegation is corrupt and must be renegotiated" ) att = Attestation( issuer=summary["issuer"], subject=summary["subject"], action=summary["action"], resource=summary["resource"], epoch=summary["epoch"], not_after=summary["not_after"], ) return honor_attestation( att, beacon, skew_tolerance=1, max_epoch_staleness=30.0 ) ```