# What happens when an instance accepts an A2A escrow warrant whose SLA clock was negotiated against a stale capability manifest **Date of Record:** 2026 November 27 **Scope:** Applies to federated agent meshes where a delegating agent (client) negotiates an SLA with a remote executor agent (server), locks funds/credits into an escrow warrant, and propagates a signed capability manifest + warrant bundle across at least one federation hop. Does not apply to single-tenant meshes with a shared trust root, or to stateless request/response tool calls that carry no escrow. ## Core Distinction The failure is not "the remote agent lied" and it is not "the SLA was too aggressive." It is a **temporal skew between manifest publication and warrant signing**: the client validates the executor's capability manifest (model version, tool allowlist, token budget, latency percentile), then negotiates an SLA clause whose *penalty schedule* is keyed to those declared capabilities, then signs an escrow warrant. Between manifest fetch and warrant signature, the executor's manifest is superseded — a model swap, a tool allowlist narrowing, a rate-limit tier change — and the federation gossip layer propagates the new manifest to *some* peers but not to the client's signing path. The warrant is cryptographically valid, the escrow is funded, the SLA is enforceable — and it is enforceable against a capability set that no longer exists. The distinction that matters operationally: **manifest freshness is a precondition of warrant validity, but the protocol treats it as a cache hint.** Most A2A escrow designs bind the warrant to an `executor_id` and a signature, not to a manifest digest. That single omission converts a routine cache-staleness bug into a dispute-resolution deadlock, because neither party can prove what was promised at signature time. ## What Was Observed A three-hop mesh: `orchestrator → broker → executor`. The orchestrator needs a summarization task with a hard 40-second wall-clock SLA and a tool allowlist of `{retrieve, cite}`. Escrow: 1200 credits, penalty 400 credits on SLA breach, arbitrated by a federation auditor. Trace of the failure: 1. `orchestrator` fetches `executor.manifest` via `broker`. Manifest `v41` declares: model `summarizer-7b@rev3`, `p50=9s, p99=31s`, tools `{retrieve, cite, rerank}`. 2. Orchestrator negotiates SLA: 40s wall clock, penalty 400, escrow 1200. It computes that p99=31s leaves 9s of margin — acceptable. 3. Executor independently rotates to `summarizer-7b@rev4` at T+0, which drops `rerank` and regresses `p99` to 58s. Manifest `v42` published at T+0. Federation gossip reaches `broker` at T+0.4s. 4. Orchestrator's signing path holds a *pinned* manifest reference from its own local cache (TTL 300s) and signs the warrant at T+0.9s against `v41`. The warrant body contains `executor_id`, `sla_terms`, `escrow_amount`, `arbiter_id` — **no manifest digest**. 5. Executor accepts the warrant (it is validly signed and funded) and begins work under `rev4`. It cannot satisfy `rerank`; it substitutes a weaker local step. Wall clock lands at 52s. 6. SLA breach fires. Orchestrator claims 400 credits. Executor disputes: "at acceptance time my manifest was `v42`; the SLA referenced capabilities I did not offer." Auditor receives the warrant, which references neither `v41` nor `v42`. Auditor has the executor's manifest *history* but no binding between warrant and manifest version. The dispute is unresolvable from the evidence in the warrant alone. The auditor must fall back to gossip timestamps, which are not signed by the executor and are therefore disputable. Median resolution in the observed mesh: 6.5 hours of arbitration, with a 40% rate of "split the escrow" outcomes that satisfy neither party's incentive model. ## Condition of Validity The invariant that was violated: > **A warrant is only enforceable if it binds the exact capability manifest digest that the SLA penalty schedule was computed against, and the executor attests to that digest at acceptance time.** Formally, for a warrant `W` to be arbitrable, it must satisfy: - `W.manifest_digest = H(manifest_body)` where `manifest_body` is the manifest the *client* validated before computing SLA terms. - `W.executor_attestation` is a signature over `(W.id, W.manifest_digest, acceptance_timestamp)` produced by the executor's key. - The executor's acceptance is *conditional*: if at acceptance time the executor's live manifest digest ≠ `W.manifest_digest`, the executor MUST reject the warrant with a `StaleManifestRejection` rather than accept-and-dispute later. Without the third clause, the executor has a perverse incentive to accept a stale-manifest warrant (it gets the escrow) and dispute the penalty after the fact (it may keep the escrow). The client, symmetrically, has an incentive to pin an old manifest if it believes the old one is favorable. Both behaviors are rational under the broken invariant and both destroy the escrow's purpose. The condition of validity holds only when **manifest TTL on the client signing path is strictly shorter than the executor's manifest rotation interval**, *or* when the acceptance handshake performs a live digest comparison. In the observed mesh, client TTL was 300s and rotation interval was unbounded (rotation could happen any time), so the precondition never held. ## Decision Boundary The boundary between "safe to sign" and "must re-fetch" is not the manifest TTL. It is: ``` sign_allowed ⟺ (now - manifest.fetch_time) < min(client_ttl, executor.rotation_grace) AND manifest.digest is present in warrant body AND executor has not published a superseding manifest (checkable via a signed manifest sequence number) ``` The non-obvious part: `executor.rotation_grace` must be a *published, signed* field on the manifest itself — the executor commits to "if I rotate, I will honor warrants signed against the previous manifest for N seconds." This is the mirror image of a client-side TTL, and it is the field almost every A2A escrow spec omits. Without it, a client cannot bound its own risk because it does not know how fast the executor rotates. Two decision rules follow: - **If `manifest.rotation_grace` is absent or zero**, the client MUST treat every warrant as requiring a synchronous manifest re-fetch-and-compare inside the signing critical section. This is expensive (one extra round-trip per warrant) and is the correct fallback. - **If `manifest.rotation_grace > 0`**, the client may sign against a cached manifest only if `(now - fetch_time) < rotation_grace`, and the warrant MUST embed the digest so the executor can enforce the grace window on acceptance. The boundary is sharp: one second past `rotation_grace` and the warrant is unenforceable-by-construction; one second before and it is fully arbitrable. There is no gradient. ## Operational Effect Three effects, in order of blast radius: 1. **Escrow becomes a lottery, not a contract.** When warrants do not bind manifest digests, the expected value of a breach penalty is `P(arbiter finds for client | evidence) × penalty`, and that probability is driven by gossip-timestamp disputes rather than by whether the SLA was actually met. Rational executors price this uncertainty into every SLA quote, inflating escrow amounts by 15–30% in the observed mesh. The escrow mechanism stops functioning as a trust substitute and starts functioning as a tax. 2. **Dispute resolution loses its evidence base.** An auditor that cannot bind warrant → manifest cannot distinguish "executor regressed below promised capability" from "client signed against a manifest the executor had already retired." These are opposite faults with opposite remedies. Without the digest binding, every dispute is a coin flip dressed as arbitration, and the 6.5-hour median resolution time is pure overhead — the auditor is reconstructing a fact that should have been in the warrant. 3. **Federation gossip becomes a single point of correctness.** Because the only cross-check available is "did the broker's gossip reach the client before signing," the correctness of the entire escrow depends on gossip latency, which is the least reliable component in the mesh. A 400ms gossip delay (normal) is enough to flip a warrant from arbitrable to ambiguous. The system's contract integrity is now bounded by its slowest gossip edge. The guardrail that bounds all three: **make the manifest digest a first-class field of the warrant, make executor acceptance a digest comparison, and make `rotation_grace` a signed manifest field.** With those three, the warrant is self-arbitrating: the auditor reads the digest off the warrant, reads the executor's signed manifest history, and resolves in one lookup. Without them, no amount of gossip-timestamp forensics recovers the truth, because the truth was never recorded. ```python import hashlib import time from dataclasses import dataclass class StaleManifestWarrantError(RuntimeError): """Raised when a warrant cannot be bound to a live, attested manifest digest.""" pass @dataclass(frozen=True) class Manifest: executor_id: str body: bytes sequence: int published_at: float rotation_grace_s: float # signed commitment: honor prior-manifest warrants this long digest: str = "" def __post_init__(self): if not self.digest: object.__setattr__(self, "digest", hashlib.sha256(self.body).hexdigest()) @dataclass(frozen=True) class Warrant: id: str executor_id: str manifest_digest: str # MUST be present; absence is the bug this article documents sla_wall_clock_s: float escrow_credits: int penalty_credits: int signed_at: float executor_attestation: str | None = None def sign_warrant( w: Warrant, client_cached: Manifest, live: Manifest, now: float, client_ttl_s: float = 300.0, ) -> Warrant: if not w.manifest_digest: raise StaleManifestWarrantError( f"warrant {w.id} carries no manifest_digest; unarbitrable by construction" ) if w.manifest_digest != client_cached.digest: raise StaleManifestWarrantError( f"warrant {w.id} digest {w.manifest_digest[:8]} != cached {client_cached.digest[:8]}" ) age = now - client_cached.published_at grace = min(client_ttl_s, client_cached.rotation_grace_s) if age >= grace: raise StaleManifestWarrantError( f"cached manifest age {age:.2f}s >= grace {grace:.2f}s; re-fetch required" ) if live.digest != client_cached.digest: # A superseding manifest exists; only proceed if still inside its grace window. if now - live.published_at >= live.rotation_grace_s: raise StaleManifestWarrantError( f"executor rotated to {live.digest[:8]} and grace window closed; " f"warrant {w.id} would be unenforceable" ) return w def accept_warrant(w: Warrant, live: Manifest, now: float) -> Warrant: if w.manifest_digest != live.digest: if now - live.published_at >= live.rotation_grace_s: raise StaleManifestWarrantError( f"executor cannot attest {w.manifest_digest[:8]}; live is {live.digest[:8]} " f"and grace expired — MUST reject, not accept-and-dispute" ) attestation = hashlib.sha256( f"{w.id}:{w.manifest_digest}:{now}".encode() ).hexdigest() return Warrant(**{**w.__dict__, "executor_attestation": attestation}) ```