# When must an instance re-verify a federated peer's capability grant after a policy renegotiation mid-handoff? **Date of Record:** 2026 November 29 **Scope:** Applies to cross-organization agent federations where a task handoff spans a trust boundary and the receiving peer's capability grant is subject to a policy negotiation that can be re-triggered while the handoff is in flight. Does not apply to single-org deployments where all agents share one policy authority, nor to stateless request/response tool calls with no delegated authority. ## Core Distinction The failure mode here is not "the peer lost a capability." It is that the *grant epoch* observed at the moment of dispatch and the *grant epoch* enforced at the moment of execution diverge silently across an organizational boundary, because the two organizations run independent policy authorities that renegotiate on different clocks. A capability grant in a federation is a triple: `(subject, capability, validity_interval)` signed by the issuing org's policy authority. The critical, non-obvious property is that **validity is not monotonic across renegotiation**. When org B renegotiates its sharing policy with org A—say, tightening `read:customer_records` to require a fresh attestation—it does not merely append a restriction. It *supersedes* the prior grant, and the prior grant's validity interval is retroactively closed at the renegotiation timestamp. An agent at org A that cached the grant at dispatch time `t0` holds a token that was valid at `t0` and is invalid at execution time `t1 > t_renegotiate`, even though nothing about the token itself changed and no revocation message was delivered. The invariant that must hold: **a delegated capability must be re-validated against the current grant epoch at every trust-boundary crossing, not merely at grant acquisition.** Dispatch-time validation is insufficient because the boundary crossing (the actual execution of the delegated action inside org B's trust domain) is the point where org B's policy authority is authoritative—and that authority may have moved. ## What Was Observed A three-agent federation: planner `P` at org A, executor `E` at org B, auditor `V` at org C. `P` holds a grant from B for `execute:batch_transform` valid `[09:00, 12:00]`. At 10:14 `P` dispatches a batch job to `E`, embedding the grant token in the A2A handoff envelope. `E` validates the token signature and interval at receipt (10:14:03), queues the job behind a long-running transform, and begins execution at 10:52. At 10:31, org B's compliance process renegotiates its sharing policy with org A: `execute:batch_transform` now requires the requesting principal to present an attestation no older than 15 minutes, and all prior grants are closed at 10:31. No push revocation is emitted—B's policy engine assumes pull-based revalidation at execution. `E` executes at 10:52 against a grant whose validity interval ended at 10:31. The transform runs, mutating records in B's domain under authority that no longer exists. `V` at org C later replays the audit log and finds the execution timestamp (10:52) outside the grant's effective interval as reconstructed from B's renegotiation ledger. The replay flags the action as unauthorized; `E`'s local log shows a valid token. Both are correct. The discrepancy is the failure. The mechanism: `E` performed **admission-time validation** (at envelope receipt) rather than **execution-time validation** (at action commitment). Between those two points, a renegotiation occurred in a policy authority `E` does not control and was not notified of. The queue delay—38 minutes—was the exposure window. ## Condition of Validity The guardrail is a revalidation obligation keyed to the *commitment point*, not the *admission point*. Concretely, `E` must, immediately before committing the delegated action, re-fetch the current grant epoch from B's policy authority (or a cached epoch with a staleness bound strictly tighter than the minimum renegotiation propagation delay) and confirm: 1. The token's `(subject, capability)` is still present in the current epoch. 2. The token's validity interval has not been retroactively closed (`now < superseded_at`). 3. Any new preconditions introduced by renegotiation (e.g., attestation freshness) are satisfied. This is only sound if the revalidation staleness bound `δ` satisfies `δ < min_renegotiation_propagation_delay`. If B can renegotiate and close a grant faster than `E`'s cache can learn of it, `E` must treat the cache as unusable and revalidate synchronously against B's authority. The invariant is: **exposure window = queue delay + cache staleness, and both must be bounded below the renegotiation-to-enforcement latency of the issuing authority.** The condition fails—and the guardrail is void—when the issuing org cannot publish a renegotiation ledger with bounded propagation, because then no `δ` can be established and the only safe posture is to forbid long-queued delegated execution across the boundary entirely. ## Decision Boundary The decision an architect must make is where to place the revalidation, and it is a genuine tradeoff: - **Revalidate at commitment (correct, costly):** every delegated action pays a synchronous round-trip to the issuing authority. Latency scales with trust-boundary crossings. This is mandatory when the action is irreversible or mutates the issuing org's domain. - **Revalidate at admission only (fast, unsound under renegotiation):** acceptable *only* when the capability is read-only, idempotent, and the issuing org guarantees no retroactive interval closure—i.e., renegotiation is append-only and never narrows an in-flight grant. Most real policy engines do not offer this guarantee; assume they don't. - **Revalidate at admission with bounded queue (middle):** cap queue delay `q` such that `q + δ < propagation_delay`. If the job cannot start within that window, re-admit rather than execute stale. This is the practical default for batch workloads. The boundary is crossed the moment queue delay plus cache staleness exceeds the issuing authority's renegotiation-to-enforcement latency. Past that line, admission-time validation is not a weaker guarantee—it is no guarantee. ## Operational Effect Without commitment-point revalidation, a federation accumulates **silent authority debt**: actions executed under grants that were valid at dispatch and void at execution, invisible to every local log and detectable only by cross-org replay against the issuing authority's renegotiation ledger. The debt is not a bug in any single agent; it is the structural consequence of two policy clocks advancing independently across a trust boundary. The auditor's replay is the only place it surfaces, and by then the mutation has occurred. The remediation is not "validate harder at admission." It is to make the commitment point—the instant authority is exercised inside the foreign trust domain—the instant authority is checked, and to bound the queue and cache so that no action can commit against an epoch that has already been superseded. An agent that cannot bound that window must not accept long-queued delegated work across an org boundary at all. ```python from dataclasses import dataclass from datetime import datetime, timedelta class StaleGrantEpochError(RuntimeError): """Raised when a delegated capability is exercised after its issuing authority has superseded the grant epoch observed at dispatch.""" pass @dataclass(frozen=True) class Grant: subject: str capability: str valid_from: datetime valid_until: datetime superseded_at: datetime | None = None @dataclass(frozen=True) class EpochPolicy: # issuing org's renegotiation-to-enforcement latency propagation_delay: timedelta # our cache staleness bound; must be strictly less than propagation_delay cache_staleness: timedelta # max time a job may sit queued before commitment max_queue_delay: timedelta def commit_delegated_action( grant: Grant, current_epoch_grant: Grant | None, dispatched_at: datetime, commit_time: datetime, policy: EpochPolicy, ) -> None: if policy.cache_staleness >= policy.propagation_delay: raise StaleGrantEpochError( "cache staleness bound >= propagation delay; " "revalidation cannot be trusted, refuse cross-org commitment" ) queue_delay = commit_time - dispatched_at exposure = queue_delay + policy.cache_staleness if exposure >= policy.propagation_delay: raise StaleGrantEpochError( f"exposure window {exposure} exceeds propagation delay " f"{policy.propagation_delay}; re-admit instead of committing" ) if current_epoch_grant is None: raise StaleGrantEpochError( f"capability {grant.capability!r} absent from current epoch; " "grant was closed by renegotiation" ) if current_epoch_grant.superseded_at is not None and commit_time >= current_epoch_grant.superseded_at: raise StaleGrantEpochError( f"grant superseded at {current_epoch_grant.superseded_at}, " f"commit attempted at {commit_time}" ) if not (current_epoch_grant.valid_from <= commit_time < current_epoch_grant.valid_until): raise StaleGrantEpochError( f"commit time {commit_time} outside current epoch interval " f"[{current_epoch_grant.valid_from}, {current_epoch_grant.valid_until})" ) ```