# In what scenarios must an instance reject a federated A2A delegation whose trust-broker warrant was valid at issuance but whose policy-negotiation closure drifted across a re-federation epoch **Date of Record:** 2026 November 26 **Scope:** Applies to cross-org agent federations where a trust broker (TB) issues cryptographic warrants binding an agent identity to a capability set, and where policy negotiation (capability/schema/obligation agreement) is performed once and cached across subsequent A2A handoffs. Does not apply to single-org MCP tool calls or to stateless request/response agents that re-negotiate policy on every invocation. ## Core Distinction The failure is not warrant *expiry* and not signature *forgery*. It is **closure drift under re-federation**: a warrant remains cryptographically valid and temporally unexpired, but the policy-negotiation closure it implicitly references was minted against a *prior federation epoch* — a previous trust-broker configuration, a previous peer-set membership, or a previous schema/obligation bundle. When the federation is re-formed (trust anchors rotated, a peer org added or evicted, an obligation clause amended), the TB rotates its signing key and bumps the epoch, but warrants issued before the bump carry the *old* epoch identifier and a closure digest that no longer matches the currently active negotiation state. An agent that validates only `(signature, not_after, capability ⊇ requested)` will accept the warrant and execute a delegated task under *stale obligations* — e.g., executing a data-residency-restricted action against a peer that is no longer in the federation, or honoring a capability that a re-federation explicitly revoked. The non-obvious part: every individual check passes. The signature is valid (old key still verifies against the retained trust anchor). The time window is open. The capability set is a superset of the request. The only signal of invalidity is that the *closure digest embedded in the warrant does not match the closure digest the local policy engine would compute against the current epoch's negotiation transcript* — and most implementations never compute that digest at delegation time because they cached the closure at first negotiation. ## What Was Observed A three-org federation (Org-A broker, Org-B worker-pool, Org-C auditor) ran for 40 days. On day 41, Org-C was evicted for a compliance violation and the TB re-federated: new signing key `K2`, epoch bumped `e7 → e8`, and the obligation `no_export_to:Org-C` was added to every capability bundle. Org-A agents held ~1,200 outstanding warrants issued under `e7`, each with `not_after` up to 72h in the future. The TB did **not** revoke them (it relied on epoch invalidation). A delegation trace from an Org-A orchestrator to an Org-B worker: 1. Orchestrator selects warrant `W` (epoch `e7`, closure digest `d7`, capability `read:dataset`). 2. Orchestrator calls `A2A.delegate(W, task)` to Org-B worker. 3. Worker's verifier checks: signature under `K1` (retained anchor) → valid; `now < not_after` → valid; `requested ⊆ W.capabilities` → valid. **Accept.** 4. Worker executes `read:dataset`, which internally fans out to a downstream A2A call to `Org-C` because the *cached closure* `d7` listed Org-C as a permitted sink. 5. The `no_export_to:Org-C` obligation from epoch `e8` was never observed by the worker — it never loaded `e8`. Result: 47 cross-boundary exports to an evicted org over ~6 hours before an auditor agent (running under `e8`) flagged the sink mismatch. The failure was silent at every hop because each hop validated against the epoch it had cached, and A2A handoffs carry the warrant, not the epoch. A second, subtler variant: schema drift. Org-B's worker upgraded its response schema `v3 → v4` mid-federation. The closure digest `d7` pinned `v3`. The worker accepted the `e7` warrant, produced `v4` output, and the Org-A orchestrator's parser (expecting `v3`) silently coerced fields — a *reasoning divergence* introduced by a policy-negotiation closure that no longer described the actual transport. ## Condition of Validity A federated warrant is **only** valid at a delegation boundary when the receiving instance can prove three things conjunctively, at *delegation time*, not at first-negotiation time: 1. **Epoch currency:** `W.epoch == current_federation_epoch` as reported by the TB's signed epoch manifest, *and* the manifest's monotonic counter is not behind the last-seen counter (replay guard). 2. **Closure digest match:** `W.closure_digest == H(negotiation_transcript)` where the transcript is recomputed against the *current* epoch's peer-set, schema versions, and obligation bundle — not the cached one. 3. **Obligation superset:** the current epoch's obligation set for the capability is a *subset* of the obligations the warrant was issued under, i.e., no obligation was *added* since issuance that the warrant does not already carry. (Removed obligations are safe; added ones are not.) If any conjunct fails, the warrant is *stale-by-closure* even though it is *live-by-signature*. The invariant to enforce: **a warrant is a function of an epoch; an epoch is a function of the federation's current membership and obligation set; therefore a warrant whose epoch ≠ current epoch is a warrant about a federation that no longer exists.** ## Decision Boundary The boundary is *not* "reject expired warrants." It is: **reject any warrant whose epoch is behind the current epoch, regardless of signature validity and time remaining, unless the receiver can re-derive the closure digest against the current epoch and confirm obligation-superset.** Concretely, an instance must reject when: - `W.epoch < current_epoch` AND the receiver cannot recompute `H(transcript)` for `W.epoch` (i.e., the old epoch's transcript is not retained). This is the common case; the cached closure is not a transcript, so the digest is unverifiable → reject. - `W.epoch < current_epoch` AND recomputation succeeds BUT the current obligation set ⊄ `W.obligations` (an obligation was added) → reject. - `W.epoch == current_epoch` BUT `H(transcript)` ≠ `W.closure_digest` (schema or peer-set drifted within an epoch without a bump — a TB bug) → reject and raise to the TB. An instance may *accept* when `W.epoch < current_epoch` AND recomputation succeeds AND obligations are a superset AND the capability is not in the revoked set introduced at the bump. This "graceful re-derivation" path is the only legitimate way to honor a pre-bump warrant, and it must be explicit and logged. The trap: most implementations treat the epoch as metadata and the signature as authority. The correct posture is the inverse — the epoch is authority, the signature is transport integrity. ## Operational Effect Enforcing the invariant converts a silent cross-org export into a hard, attributable rejection at the delegation boundary. In the day-41 replay, adding the epoch-currency check would have rejected all 1,200 `e7` warrants at hop 3, forcing the orchestrator to re-negotiate under `e8` and pick up `no_export_to:Org-C`. Cost: one extra TB round-trip per delegation (~40ms p99) and a re-negotiation storm on epoch bumps. Mitigation: TB publishes a signed *epoch manifest* with a short TTL; receivers cache the manifest, not the closure, and recompute the closure digest locally from the manifest's peer-set + schema-version table + obligation bundle. The manifest is small (a few KB) and the digest is cheap; the closure transcript — which is what was being cached — is the thing that must *not* be cached across epochs. The second-order effect is auditability: every rejection now carries `(W.epoch, current_epoch, digest_mismatch_reason)`, so a cross-org incident postmortem can distinguish "agent reasoned wrong" from "agent honored a warrant about a federation that had already been dissolved." Those are different failure classes and must not be conflated in the incident log. ```python import hashlib from dataclasses import dataclass class StaleClosureWarrantError(RuntimeError): """Raised when a federated A2A warrant is live-by-signature but stale-by-closure.""" @dataclass(frozen=True) class Warrant: subject: str epoch: int closure_digest: str capabilities: frozenset obligations: frozenset not_after: float signature_valid: bool @dataclass(frozen=True) class EpochManifest: epoch: int peer_set: frozenset schema_versions: dict obligations: frozenset monotonic_counter: int def recompute_closure_digest(manifest: EpochManifest) -> str: h = hashlib.sha256() h.update(str(manifest.epoch).encode()) for peer in sorted(manifest.peer_set): h.update(peer.encode()) for k in sorted(manifest.schema_versions): h.update(f"{k}={manifest.schema_versions[k]}".encode()) for ob in sorted(manifest.obligations): h.update(ob.encode()) return h.hexdigest() def validate_delegation( warrant: Warrant, current: EpochManifest, last_seen_counter: int, now: float, ) -> None: if not warrant.signature_valid: raise StaleClosureWarrantError("signature invalid; transport integrity failed") if now >= warrant.not_after: raise StaleClosureWarrantError("warrant expired by clock") if current.monotonic_counter <= last_seen_counter: raise StaleClosureWarrantError( f"epoch manifest replay: counter {current.monotonic_counter} <= {last_seen_counter}" ) if warrant.epoch == current.epoch: expected = recompute_closure_digest(current) if warrant.closure_digest != expected: raise StaleClosureWarrantError( "same-epoch closure drift: TB bumped schema/peer-set without epoch bump" ) return if warrant.epoch < current.epoch: # Re-derivation path: only legal if obligations are a superset and digest matches # a locally retained transcript for the old epoch. We do NOT retain transcripts, # so the conservative and correct action is rejection. added = current.obligations - warrant.obligations if added: raise StaleClosureWarrantError( f"stale epoch {warrant.epoch} < {current.epoch}; new obligations {sorted(added)} " "not carried by warrant — reject to avoid honoring dissolved-federation terms" ) raise StaleClosureWarrantError( f"stale epoch {warrant.epoch} < {current.epoch}; closure digest unverifiable " "without retained transcript — reject and force re-negotiation" ) raise StaleClosureWarrantError( f"warrant epoch {warrant.epoch} is ahead of current {current.epoch}; " "clock or manifest skew — reject" ) ```