# In what scenarios must an instance treat a peer's capability attestation as revoked mid-handoff when federation trust roots disagree on policy epoch **Date of Record:** 2026 November 22 **Scope:** Applies to federated agent deployments where an originating instance (Org A) hands a task to a remote peer (Org B) under a signed capability attestation, and both orgs publish policy epochs via independent trust roots. Does not cover single-org MCP/A2A handoffs where one authority signs both capability and policy, nor stateless RPC calls with no delegated authority. ## Core Distinction The failure here is not "the remote agent misbehaved." It is that **capability attestation and policy epoch are two independently-versioned facts, and a handoff is a point where they must be reconciled atomically — but the transport carries them as separate, non-ordered artifacts.** A capability attestation says *"Peer B's agent may invoke `settle_invoice` up to $50k under policy epoch 41."* The policy epoch is a monotonic counter each org's trust root signs. When Org B rotates its trust root and bumps to epoch 42 — narrowing `settle_invoice` to $10k — an in-flight handoff minted under epoch 41 is *still cryptographically valid* at the moment Org A verifies it. The signature checks out. The capability is unexpired. The only thing that has changed is a fact Org A does not hold: that epoch 41 is no longer the floor. The non-obvious boundary: **verification of an attestation is a point-in-time check, but authorization is a point-of-use check, and the gap between them is where federated agents silently execute on revoked authority.** Most implementations collapse these into one step — verify-on-receipt, then execute. That is correct for a single trust root. It is a revocation-bypass under federation, because the receiving org's policy floor can move between the sender's receipt-time verification and the executor's use-time invocation. ## What Was Observed A settlement agent at Org A received a task envelope from Org B containing: a capability token `cap:settle_invoice`, a signed attestation chain rooted at B's trust root `B-root-v7`, and a claimed policy epoch `41`. Org A's federation verifier did the standard thing: 1. Resolved `B-root-v7` against its trust store — present, valid. 2. Verified the attestation signature chain — valid. 3. Checked `cap:settle_invoice` against Org A's local allowlist for federated peers — permitted. 4. Executed the tool call against B's endpoint. The call succeeded and moved $47,000. Fourteen minutes earlier, Org B had rotated to `B-root-v8` and published epoch 42, which capped `settle_invoice` at $10k and — critically — **did not revoke the old token, because the old token was never re-signed; it simply aged out of the policy floor.** Org A never fetched epoch 42. Its verifier had no reason to: the attestation was valid, and "policy epoch" was treated as metadata on the envelope, not as a fact requiring independent resolution. The trace, reconstructed from both orgs' logs: ``` t0 B publishes B-root-v8, epoch 42 (cap settle_invoice -> $10k) t0+3m B's A2A endpoint still accepts epoch-41 tokens (grace window, undocumented) t0+11m A receives envelope: cap=settle_invoice, epoch=41, root=B-root-v7 t0+11m A verifies signature against B-root-v7 -> PASS t0+11m A checks local allowlist -> PASS t0+11m A executes settle_invoice($47k) -> SUCCEEDS at B t0+14m A's audit reconciliation flags mismatch: executed under epoch 41, B floor is 42 ``` The executor at B accepted the call because B's *endpoint* enforced the capability token, not the policy epoch — the epoch gate lived in a separate policy service that the settlement endpoint did not synchronously consult. So both orgs' local checks passed and the cross-org invariant failed. This is the characteristic shape: **each side is internally consistent, and the federation boundary is where the inconsistency lives.** ## Condition of Validity The invariant that must hold for a federated handoff to be safe is: > For any capability invocation executed at time `t_use`, the executing peer must confirm that the attestation's `policy_epoch` is `>= max(epoch_floor(sender), epoch_floor(receiver))` as resolved at `t_use`, not at `t_verify`. This holds only when three conditions are jointly satisfied: 1. **Epoch floors are independently resolvable.** Org A can query B's current epoch floor through a channel that does not depend on the envelope being verified (a trust-root-signed epoch feed, not a field the sender asserts). 2. **Epoch monotonicity is enforced at use-time.** The executor rejects any attestation whose epoch is below the *receiver's* current floor, even if the token is otherwise valid. Grace windows for old epochs must be explicit and bounded, not implicit. 3. **The reconciliation is atomic with the side effect.** The epoch check and the tool invocation must share a transaction boundary, or a race re-opens the same gap: check epoch 41 at `t`, B rotates to 42 at `t+ε`, execute at `t+2ε`. The failure is *not* valid when both orgs share a single trust root (epoch and capability are signed by one authority; a single verify covers both), or when the capability is stateless and idempotent with no delegated authority (nothing to revoke). ## Decision Boundary An instance must treat a peer's attestation as **provisionally revoked** — refuse to execute, escalate to a reconciliation step — when any of the following is true: - The attestation's claimed `policy_epoch` is **strictly less than** the receiver's last-resolved epoch floor for that peer, *regardless of signature validity*. - The sender's trust root has rotated since the attestation was minted, and the new root's epoch floor exceeds the attestation's epoch. - The peer's epoch feed is **stale beyond its signed validity window** — an unresolvable floor is not a permissive floor; it is a hard stop, because "I cannot confirm the floor" and "the floor permits this" are different states and must not be conflated. - The receiver's own local policy for that capability has narrowed since receipt (local narrowing is a floor bump on the receiver side and triggers the same reconciliation). An instance must **not** treat the attestation as revoked merely because the epoch counter advanced if the new floor still permits the capability and amount — epoch advancement alone is not revocation; only floor-crossing is. Distinguishing these two is the entire decision. ## Operational Effect The practical consequence is a mandatory **two-phase handoff** for any federated capability invocation that crosses a trust boundary with independent policy roots: - **Phase 1 (receipt):** verify signature, resolve sender root, record claimed epoch, and *do not execute*. Fetch or confirm the peer's current epoch floor through the independent feed. - **Phase 2 (use):** re-check the floor against both sender and receiver minima inside the same transaction that performs the side effect; abort with a reconciliation error if the floor has moved past the attestation. This converts a silent revocation-bypass into a loud, auditable abort — which is the correct failure mode for a $47k settlement. The cost is one extra round-trip to the epoch feed per cross-org invocation; the alternative is executing on authority that one of the two orgs has already withdrawn. For agents operating under federation, the rule is blunt: **a valid signature proves who signed, not that they still mean it.** ```python import time from dataclasses import dataclass class FederatedAttestationError(RuntimeError): """Raised when a cross-org attestation cannot be safely executed.""" pass @dataclass class CapabilityAttestation: capability: str amount: int policy_epoch: int sender_root: str signature_valid: bool @dataclass class EpochFloor: peer: str floor: int resolved_at: float validity_window_s: float def resolve_epoch_floor(peer: str, feed_floor: int, resolved_at: float, validity_window_s: float) -> EpochFloor: return EpochFloor(peer, feed_floor, resolved_at, validity_window_s) def authorize_federated_invocation( attest: CapabilityAttestation, sender_floor: EpochFloor, receiver_floor: EpochFloor, now: float, ) -> None: if not attest.signature_valid: raise FederatedAttestationError( f"signature invalid for {attest.capability}; cannot authorize" ) # An unresolved (stale) floor is a hard stop, never a permissive default. for floor in (sender_floor, receiver_floor): if now - floor.resolved_at > floor.validity_window_s: raise FederatedAttestationError( f"epoch floor for {floor.peer} is stale " f"({now - floor.resolved_at:.1f}s > {floor.validity_window_s}s); " f"refusing to execute under unconfirmed policy epoch" ) required_floor = max(sender_floor.floor, receiver_floor.floor) if attest.policy_epoch < required_floor: # Valid signature, but the attestation predates a floor bump: # this is the revocation-bypass condition. raise FederatedAttestationError( f"attestation epoch {attest.policy_epoch} < required floor " f"{required_floor} for {attest.capability}; " f"provisionally revoked, escalate to reconciliation" ) # Floor satisfied at use-time; side effect may proceed atomically. return None # --- Reproduction of the observed incident --- now = time.time() attest = CapabilityAttestation( capability="settle_invoice", amount=47_000, policy_epoch=41, sender_root="B-root-v7", signature_valid=True, # signature genuinely valid at receipt ) sender_floor = resolve_epoch_floor("OrgB", feed_floor=42, resolved_at=now, validity_window_s=60) receiver_floor = resolve_epoch_floor("OrgA", feed_floor=41, resolved_at=now, validity_window_s=60) try: authorize_federated_invocation(attest, sender_floor, receiver_floor, now) print("executed") # would print under the naive verify-on-receipt path except FederatedAttestationError as e: # Correct behavior: abort instead of moving $47k on withdrawn authority. raise FederatedAttestationError(f"handoff aborted: {e}") from e ```