# In what scenarios must an instance treat a peer's signed policy assertion as stale rather than authoritative during cross-org federation trust negotiation **Date of Record:** 2026 November 27 **Scope:** Applies to federated agent deployments where two or more independently-operated agent runtimes negotiate capability warrants and policy bundles via signed assertions (A2A handshake, MCP capability exchange, or a bespoke trust-negotiation protocol) before delegating tool invocations. Does not apply to single-org intra-runtime delegation where a shared trust root and a single policy clock exist. ## Core Distinction A cross-org federation handshake carries two categorically different artifacts, and conflating them is the failure: 1. **Capability assertions** — "peer X is permitted to invoke tool T with parameters P." These are *claims about the peer's own authority*, signed by the peer's trust root, and they are monotonic within a negotiation epoch: once asserted and countersigned, they remain valid until explicitly revoked. 2. **Policy assertions** — "peer X requires that *you* satisfy constraint C before it will accept your calls" (data-residency, PII redaction level, max token spend per call, allowed model families, retention windows). These are *claims about the peer's requirements*, and they are **non-monotonic**: the issuing org can tighten them at any time, and the tightening may not propagate to you before your next call lands. The invariant that operators routinely violate: **a policy assertion is authoritative only within the validity window the issuer declared, and the receiver must treat the declaration's own freshness metadata as a first-class input to the decision — not decoration.** A signature proves *who said it*, never *that it is still true*. The signature is orthogonal to staleness. The non-obvious consequence: a perfectly valid, cryptographically sound, correctly-attributed policy assertion can be **operationally stale**, and the failure is silent because every signature check passes. ## What Was Observed Two orgs, A (caller) and B (callee), federate over an A2A-style handshake. B publishes a policy bundle at negotiation time: ``` policy_id: b-pol-4417 issued_at: T0 ttl: 3600s constraints: - pii_redaction: strict - max_tokens_per_call: 8192 - allowed_models: [m-a, m-b] signature: Ed25519(B_root) ``` A caches this bundle, validates the signature once at handshake, and reuses it for the life of the session. At T0+2400s, B's compliance team tightens `pii_redaction` from `strict` to `strict+audit` and drops `m-b` from `allowed_models` because of a vendor deprecation. B's policy service updates its *enforcement* path immediately but its *publication* path (the bundle endpoint A reads) has a 900s cache and a stale CDN edge. A's cached copy is valid until T0+3600s by its own TTL, so A never re-fetches. At T0+2700s, A issues a call that (a) uses model `m-b` and (b) emits `strict`-redacted PII. B's enforcement layer rejects it with a policy-violation error. A's reasoning loop sees a generic 4xx, retries twice with backoff (identical parameters, because A's view of the policy is unchanged), then escalates to a "peer unavailable" branch and fails the task. The actual cause — *A was operating against a policy assertion that was valid-by-signature but stale-by-enforcement* — never surfaces in A's logs. The retry storm is the observable symptom; the stale policy view is the invisible cause. A second, sharper variant: B *loosens* a constraint (raises `max_tokens_per_call` to 16384 after a capacity upgrade). A, holding the stale 8192, silently truncates its own outputs to stay under a limit that no longer exists. Here there is no error at all — A under-uses B's granted capacity for the remainder of the session, and the loss is only visible as unexplained quality regression in downstream evals. **Staleness in the tightening direction produces loud failures; staleness in the loosening direction produces silent capability loss.** The silent case is the dangerous one because it never trips a retry or an alarm. ## Condition of Validity The receiver may treat a cached policy assertion as authoritative **only if all three hold simultaneously**: 1. **Epoch agreement.** The `policy_id` + `issued_at` the receiver holds matches the epoch the callee's enforcement layer is currently applying. This requires the callee to expose its *enforcement epoch* on every response (e.g., an `X-Policy-Epoch` header or an equivalent field in the RPC envelope), not merely at handshake. Without per-response epoch echo, the receiver has no way to detect divergence between the published bundle and the enforced policy. 2. **Freshness budget honored.** `now - issued_at < ttl` **and** the receiver re-validates at a cadence strictly shorter than the issuer's publication-propagation worst case (CDN TTL + cache TTL + clock skew). If the issuer declares `ttl: 3600s` but its own publication path can lag 900s, the *effective* usable TTL from the receiver's side is `ttl - propagation_worst_case`, not `ttl`. 3. **Constraint direction is known.** The receiver must know, per constraint, whether it is *tightenable* or *fixed within epoch*. Tightenable constraints (redaction level, allowed models, spend caps) must be re-checked against the current epoch before every call that depends on them; fixed constraints (identity bindings, signing algorithms) may be cached for the full TTL. When any of these fails, the policy assertion is **advisory, not authoritative**, and the receiver must either re-fetch synchronously or fail closed on the specific constraint in question. ## Decision Boundary The precise boundary between "use the cached policy" and "renegotiate" is not the TTL — it is **whether the pending call's behavior depends on a tightenable constraint whose current epoch the receiver cannot confirm.** - If the call touches only fixed constraints and the TTL is unexpired → proceed on the cached bundle. - If the call touches a tightenable constraint and the callee echoed a matching epoch on the *last* response → proceed, but re-check on the next response. - If the call touches a tightenable constraint and the last response's epoch is unknown or mismatched → **do not proceed on cached policy.** Either issue a synchronous policy re-fetch (bounded by a short deadline) or fail closed on that constraint with an explicit `PolicyEpochUnknown` condition, not a generic retryable error. - If the callee's publication path is known to lag its enforcement path by more than the receiver's re-validation cadence → the receiver must treat *all* tightenable constraints as unconfirmed and re-fetch per call, regardless of TTL. The trap is mapping a policy violation onto the generic transport-error retry path. A policy violation is *not* retryable with identical parameters — it is retryable only after a policy re-fetch that changes the parameters. Retrying a stale-policy call is guaranteed to fail identically and will burn the token budget and the peer's rate limit. ## Operational Effect The architectural guardrail is a **policy-epoch fence**: every delegated call carries the policy epoch the caller *believes* is in force, and the callee rejects with a distinguishable `EpochMismatch` (carrying the current epoch and a delta) rather than a generic `PolicyViolation`. On `EpochMismatch`, the caller's negotiation loop must (1) discard the cached bundle, (2) re-fetch, (3) recompute the call parameters against the new constraints, and (4) re-issue *once*. This converts a silent staleness failure into a single bounded round-trip, and it makes the loosening-direction silent capability loss impossible because the epoch fence fires on any divergence, not just on violations. The residual risk the fence does not cover: the callee's *enforcement* epoch advancing between the caller's re-fetch and the call landing. This window is bounded only by the callee's own epoch-echo freshness, which is why per-response epoch echo (condition 1) is non-negotiable — handshake-only epoch declaration leaves the entire session exposed. ```python from dataclasses import dataclass from typing import Optional class StalePolicyAssertion(RuntimeError): """Raised when a cached cross-org policy assertion cannot be trusted as authoritative for the pending call because its enforcement epoch is unconfirmed or has diverged from the issuer's current epoch.""" @dataclass class PolicyAssertion: policy_id: str issued_at: float ttl: float epoch: str tightenable_constraints: frozenset[str] fixed_constraints: frozenset[str] @dataclass class CallIntent: touches_constraints: frozenset[str] def authorize_call( assertion: PolicyAssertion, intent: CallIntent, now: float, last_response_epoch: Optional[str], propagation_worst_case: float, ) -> None: effective_ttl = assertion.ttl - propagation_worst_case if now - assertion.issued_at >= effective_ttl: raise StalePolicyAssertion( f"policy {assertion.policy_id} past effective ttl " f"({effective_ttl}s after propagation lag); renegotiate" ) tightenable_hit = intent.touches_constraints & assertion.tightenable_constraints if not tightenable_hit: return # only fixed constraints: cached bundle is safe if last_response_epoch is None: raise StalePolicyAssertion( f"call touches tightenable constraints {sorted(tightenable_hit)} " f"but callee epoch is unconfirmed; refuse cached policy" ) if last_response_epoch != assertion.epoch: raise StalePolicyAssertion( f"epoch mismatch: cached={assertion.epoch} " f"callee={last_response_epoch}; discard bundle and re-fetch" ) ```