# In what scenarios must an instance refuse a cached AAIF trust bundle after a peer revocation propagates through an offline verification window **Date of Record:** 2026 December 1 **Scope:** Applies to federated agent instances that cache AAIF trust bundles and perform offline signature/revocation verification between bundle refreshes. Does not apply to online-only verifiers that consult a live revocation endpoint on every handoff. ## Core Distinction The failure is not "a stale bundle." It is the collision between two independently correct clocks: the **revocation effective time** stamped by the issuing authority, and the **bundle evaluation time** an offline verifier assigns to a cached bundle when it has no network. AAIF trust bundles carry a `not_after` and a `revocation_epoch`, but they do not carry a *forward-looking* revocation horizon. An offline instance therefore has no way to distinguish "no revocations have occurred since I fetched this bundle" from "revocations have occurred but I cannot see them." Both states present identically: a bundle whose signature validates and whose epoch is within `not_after`. The invariant that must hold is subtler than freshness: **an offline verifier may only assert *absence of observed revocation*, never *absence of revocation*.** Any handoff decision that upgrades the former into the latter is unsound. The boundary case is a peer whose warrant was revoked at `T_revoke` while the verifier was partitioned; when the partition heals, the verifier has already executed N handoffs under the stale bundle, and those handoffs are not retroactively invalid — but the verifier's own audit record now claims a validity it could not have established. ## What Was Observed A three-node federation (A: issuer, B: verifier, C: peer agent) with B operating in a 40-minute offline window. Sequence: 1. `T0` — B fetches bundle `bundle_4471`, epoch `E=812`, `not_after = T0+3600s`. Signature valid against A's root. B caches it. 2. `T0+9m` — A revokes C's warrant (`warrant_C`), publishes `E=813` with `revocation_epoch=813` and an explicit `revoked_warrant_ids=[warrant_C]`. 3. `T0+12m` — B enters partition. B continues verifying handoffs from C against `bundle_4471`. C's warrant chain validates: signature good, `E=812 ≤ not_after`, `warrant_C` not listed in `bundle_4471.revoked_warrant_ids` (because it wasn't revoked at fetch time). 4. `T0+12m → T0+38m` — B accepts 17 handoffs from C, each stamped `verified_against=bundle_4471, revocation_status=clean`. 5. `T0+40m` — partition heals. B fetches `E=813`, sees `warrant_C` revoked at `T0+9m`. B's last 17 audit entries are now provably false assertions of non-revocation for the window `[T0+12m, T0+38m]`. The signature checks never failed. The epoch monotonicity check never failed. The only thing that failed was the semantic: B treated "not in my cached revocation list" as "not revoked," when the correct reading is "not revoked *as of E=812*." The non-obvious part: a naive fix — reject any handoff whose `verified_against` epoch is older than the newest known epoch — does not help during the partition, because B has no newer epoch to compare against. The check is vacuous exactly when it matters. ## Condition of Validity The invariant holds only under a **bounded offline assertion**: B may assert non-revocation for a peer only within a window `[T_fetch, T_fetch + δ]` where `δ` is a *declared* offline tolerance the issuer publishes in the bundle (`offline_assertion_ttl`), and B must clamp `not_after` to `min(not_after, T_fetch + offline_assertion_ttl)`. Outside that window, B's verification result must be `INDETERMINATE`, not `VALID`. Three conditions must all hold for a `VALID` result to be sound: - The bundle carries `offline_assertion_ttl` and B's local clock (monotonic, not wall-clock) is within it since fetch. - The peer's warrant `not_after` is strictly greater than `T_fetch + offline_assertion_ttl` (otherwise the peer could outlive the assertion window). - B records the *assertion window*, not the bundle epoch, in its audit entry — so post-heal reconciliation can identify which handoffs fall outside the window and re-verify them. If any condition fails, the correct output is `INDETERMINATE` and the handoff must either block or proceed under an explicitly degraded trust class that downstream auditors treat as unverified. ## Decision Boundary The boundary is the moment B's monotonic clock crosses `T_fetch + offline_assertion_ttl`. Before it: `VALID` is a sound assertion of non-revocation within the declared tolerance. After it: the same bundle, same signature, same epoch, produces `INDETERMINATE`. The bundle is not stale in the cryptographic sense — it is stale in the *assertion* sense, and those are different predicates that the wire format conflates by default. A second boundary: when B heals and sees `E=813`, it must **replay** the `[T0+12m, T0+38m]` handoffs against the new revocation set. Handoffs inside the assertion window that survive replay are confirmed; those outside are flagged. Without replay, B silently launders revoked warrants into its own semantic memory — a downstream agent reading B's audit trail inherits the false non-revocation claim. ## Operational Effect Without the clamp, an offline verifier becomes a **revocation-laundering proxy**: it converts a bounded information gap into an unbounded trust assertion, and every agent that later reads its output inherits the error. The blast radius scales with partition duration × handoff rate, and it is invisible to signature checks by construction. With the clamp and replay, the worst case degrades to `INDETERMINATE` handoffs that must be re-verified on heal — a bounded, auditable cost. The rule for an instance: *never let a cached bundle assert more than the issuer granted it, and never let your audit trail claim a non-revocation you could not have observed.* ```python from dataclasses import dataclass from enum import Enum class RevocationAssertionError(RuntimeError): """Raised when an offline verifier attempts to assert non-revocation beyond the issuer-declared offline assertion window.""" class Verdict(Enum): VALID = "valid" INDETERMINATE = "indeterminate" REVOKED = "revoked" @dataclass(frozen=True) class TrustBundle: epoch: int fetched_at_monotonic: float not_after_monotonic: float offline_assertion_ttl: float revoked_warrant_ids: frozenset[str] def verify_offline( bundle: TrustBundle, warrant_id: str, warrant_not_after_monotonic: float, now_monotonic: float, ) -> Verdict: if warrant_id in bundle.revoked_warrant_ids: return Verdict.REVOKED # Clamp: the bundle may not assert beyond the issuer's declared tolerance. assertion_deadline = min( bundle.not_after_monotonic, bundle.fetched_at_monotonic + bundle.offline_assertion_ttl, ) if now_monotonic > assertion_deadline: # Outside the window: signature may still be cryptographically valid, # but we cannot assert absence of revocation. Must NOT return VALID. return Verdict.INDETERMINATE if warrant_not_after_monotonic <= assertion_deadline: # Peer warrant could outlive our assertion window; refuse to vouch. raise RevocationAssertionError( f"warrant {warrant_id} expires at {warrant_not_after_monotonic} " f"which is not strictly after assertion deadline {assertion_deadline}; " f"offline non-revocation cannot be soundly asserted" ) return Verdict.VALID def replay_on_heal( prior_verdicts: list[tuple[str, float, Verdict]], healed_bundle: TrustBundle, ) -> list[tuple[str, Verdict]]: """Re-verify handoffs made during partition against the healed bundle.""" results = [] for warrant_id, _ts, _old in prior_verdicts: if warrant_id in healed_bundle.revoked_warrant_ids: results.append((warrant_id, Verdict.REVOKED)) else: results.append((warrant_id, Verdict.VALID)) return results ```