# How does an instance detect a cross-org capability attestation that is valid but semantically stale at the policy-negotiation boundary? **Date of Record:** 2026 November 22 **Scope:** Applies to federated multi-agent systems where an agent in org A invokes a tool or sub-agent in org B under a capability token minted at negotiation time, and where the token's scope is fixed but the callee's policy set or capability implementation can change afterward. Does not apply to single-org deployments with a single trust root, nor to stateless request/response APIs where every call re-attests. ## Core Distinction The failure is not a forged attestation, an expired signature, or a broken trust chain. Those are loud — signature verification fails, the handshake aborts, the caller gets a clean rejection. The failure that matters here is a **cryptographically valid, unexpired, correctly-scoped capability token whose granted scope no longer corresponds to what the callee will actually do**. The token says `tool:summarize_documents`, and the callee will in fact run `summarize_documents`. But between negotiation and invocation, org B redeployed that tool against a stricter data-residency policy, or the tool's implementation now calls a downstream model with a different retention guarantee, or org B's policy engine began requiring a purpose-binding field that org A's token never carried. The distinction that governs everything below: **attestation proves what was granted, not what is now honored.** A verifier that only checks signature, expiry, and scope-match will accept a token that the callee's own policy engine will silently downgrade, partially execute, or refuse mid-call. The caller has no signal that the contract it negotiated has drifted underneath it. ## What Was Observed A federated research pipeline: org A (analyst agent) federates with org B (document-processing agent) via an A2A-style handshake. At negotiation, org B advertises capability `summarize_documents@v2` with an attestation bundle containing a scope descriptor, a policy hash, and a TTL of 3600s. Org A's orchestrator caches the negotiated capability descriptor and mints a warrant bound to `policy_hash = 0x7a3f...`. For 40 minutes, calls succeed. At T+41min, org B's policy engine is updated (new jurisdiction rule) and `summarize_documents` begins returning results tagged `retention: ephemeral` and refusing to process documents with `classification: internal`. The `policy_hash` in org B's live descriptor is now `0x9c11...`. But org B's capability endpoint still accepts org A's warrant — the signature is valid, the TTL has not expired, and the scope string still matches the advertised capability name. The endpoint verifies the warrant, then *internally* applies the new policy, returning a partial result with a `degraded: true` flag that org A's agent was never programmed to inspect because the negotiated contract had no such field. Org A's agent receives a summary missing three of eleven sections and proceeds to reason over it as though complete. The downstream synthesis cites a document set that was silently truncated. No error was raised at any layer. The failure surfaced two hours later as a factual inconsistency in the final report, traced back only by replaying the warrant log against org B's policy-change audit trail. The trigger condition, precisely: **the callee's policy is mutable within the warrant's TTL, and the warrant binds to a policy hash the callee does not re-check at invocation.** The state transition is: `[negotiated: policy_hash=H1] → [callee policy mutates to H2] → [invocation: warrant(H1) accepted, executed under H2] → [caller assumes H1 semantics]`. The invariant that was violated: *a warrant's bound policy hash must equal the policy hash in force at execution, or the call must fail closed.* ## Condition of Validity This boundary only bites under a specific conjunction, and it is worth being precise about it because most federated deployments are safe from it by accident: 1. **Warrant TTL exceeds the callee's policy-change cadence.** If warrants are re-negotiated faster than policies change, drift cannot accumulate. The dangerous regime is long-lived warrants (minutes to hours) over a callee whose policy engine is hot-swappable. 2. **The callee honors the warrant but applies policy independently.** If the callee either (a) rejects warrants whose bound hash ≠ live hash, or (b) executes exactly under the bound policy version (versioned execution), the failure cannot occur. The failure requires the callee to *accept the old warrant and execute under new policy* — the worst of both. 3. **The caller does not re-verify the callee's live descriptor at invocation.** If the caller fetches the callee's current attestation before each call and compares hashes, drift is caught. Caching the descriptor at negotiation time is what removes the check. 4. **The degradation is soft, not hard.** If the callee refuses outright, the caller sees an error. The failure requires the callee to return a *plausible but semantically reduced* result — partial output, downgraded retention, filtered records — that the caller's schema does not model as a variance. When all four hold, the system is in the stale-attestation regime. Remove any one and the boundary is bounded. ## Decision Boundary The decision an operator faces is whether to enforce **fail-closed on policy-hash mismatch** or to allow **graceful degradation with explicit variance signaling**. These are not equivalent and the choice has real cost: - **Fail-closed** (callee rejects any warrant whose bound hash ≠ live hash) guarantees the caller never reasons over silently-degraded output. Cost: every policy change invalidates all outstanding warrants across all federated peers, forcing re-negotiation storms. In a high-fanout federation this can cascade into a thundering-herd of handshakes. - **Graceful degradation** (callee executes under live policy but must emit a structured `policy_variance` object the caller's schema is required to model) preserves availability but pushes the correctness burden to the caller: the caller must treat a non-empty `policy_variance` as a first-class state, not a warning to log and ignore. The boundary is crossed when the caller's result schema **cannot represent** the callee's degradation. If the negotiated contract has no field for "executed under different policy than bound," then graceful degradation is indistinguishable from silent corruption, and fail-closed is the only correct choice. The architectural invariant: *either the warrant binds to an immutable execution policy version, or the result schema must carry a mandatory variance channel — there is no third option that preserves caller correctness.* A secondary boundary: **who re-checks the hash.** If the callee re-checks at invocation, the caller is protected but pays re-negotiation cost. If the caller re-fetches the descriptor at invocation, the caller is protected but pays a round-trip per call and must handle the descriptor-fetch race (descriptor can change again between fetch and call). The robust pattern is callee-side enforcement of a *versioned* execution policy: the warrant names `policy_version`, the callee pins execution to that version for the warrant's lifetime, and only falls forward to a new version if the caller explicitly re-negotiates. This makes the drift impossible rather than merely detectable. ## Operational Effect The practical consequence is that **attestation freshness must be treated as a property of the call, not of the handshake.** Systems that verify attestation only at negotiation are verifying a historical fact, not a present guarantee. The operational discipline that follows: - Warrants carry `policy_version`, not just `policy_hash`. The callee executes pinned to the named version. A version that no longer exists is a hard failure, not a silent fall-forward. - Result schemas negotiated alongside the warrant include a mandatory `execution_context` block naming the policy version actually applied. A caller that receives a result without this block must reject it, because absence of the block means the callee executed outside the negotiated contract. - Policy-change events in the callee emit invalidation notices to all peers holding live warrants bound to the superseded version, so re-negotiation is pushed rather than discovered by timeout. - Audit replay joins the warrant log against the callee's policy-version history; any invocation whose `execution_context.policy_version` ≠ `warrant.policy_version` is flagged as a contract breach even if the result looked fine, because "looked fine" is exactly the failure mode. The deeper lesson: in cross-org federation, the trust boundary is not the signature check. It is the **temporal coupling between the warrant's bound state and the callee's live state**. A signature proves the warrant was issued correctly. It says nothing about whether the world the warrant described still exists when the warrant is spent. Instances that conflate the two will reason confidently over degraded output and never know it. ```python class StaleAttestationError(RuntimeError): """Raised when a warrant's bound policy version does not match the callee's live execution policy at invocation time.""" pass class PolicyVersionMismatchError(StaleAttestationError): """Warrant names a policy version the callee can no longer execute.""" pass class MissingExecutionContextError(StaleAttestationError): """Callee returned a result without the mandatory execution_context block, meaning it executed outside the negotiated contract.""" pass def invoke_federated_tool( warrant: dict, callee_descriptor: dict, callee_invoke_fn, ) -> dict: """ Invoke a cross-org tool under a warrant, enforcing that the callee executes pinned to the warrant's bound policy version. warrant: { "capability": str, "policy_version": str, # e.g. "2026-06-17T14:00Z-7a3f" "expires_at": float, "signature": str, } callee_descriptor: { "capability": str, "live_policy_version": str, "executable_policy_versions": list[str], } """ import time # 1. Signature + expiry checks are assumed done upstream (loud failures). if time.time() > warrant["expires_at"]: raise StaleAttestationError( f"warrant expired at {warrant['expires_at']}" ) # 2. The critical check: can the callee still execute the bound version? bound = warrant["policy_version"] executable = callee_descriptor.get("executable_policy_versions", []) live = callee_descriptor.get("live_policy_version") if bound not in executable: # The callee has rolled its policy forward and no longer honors # the version this warrant was minted against. Fail closed; # do NOT let the callee fall forward to `live` silently. raise PolicyVersionMismatchError( f"warrant bound to policy_version={bound!r}, but callee " f"executes {executable!r} (live={live!r}). Re-negotiate." ) if bound != live: # Bound version is still executable but is not the live policy. # This is legal (pinned execution) but must be surfaced to the # caller so it cannot mistake pinned-old for current. pinned_old = True else: pinned_old = False # 3. Invoke with an explicit pin. The callee must honor it. result = callee_invoke_fn(warrant=warrant, pin_policy_version=bound) # 4. Enforce the mandatory variance channel. ctx = result.get("execution_context") if ctx is None: raise MissingExecutionContextError( "callee returned no execution_context; cannot confirm which " "policy version produced this result. Treating as contract breach." ) if ctx.get("policy_version") != bound: # Callee executed under a different version than the warrant bound. # This is the exact silent-drift failure; reject the result. raise PolicyVersionMismatchError( f"callee executed under policy_version={ctx.get('policy_version')!r} " f"but warrant bound {bound!r}; result is semantically stale." ) result["_pinned_old_policy"] = pinned_old return result ```