# When must an instance refuse a cross-org SLA warrant whose liability clause was negotiated against a stale capability manifest **Date of Record:** 2026 November 28 **Scope:** Applies to agent-to-agent (A2A) contract negotiation where an issuing agent (the *warrantor*) publishes an SLA-bound warrant referencing a capability manifest, and a peer agent in another org (the *warrantee*) accepts execution obligations under that warrant. Does not apply to intra-org delegation where both agents share a trust root and a single manifest registry. ## Core Distinction The failure here is not "SLA was violated" and not "the peer lied about its capabilities." It is subtler: the warrant's liability clause is *referentially bound* to a specific manifest version, but the acceptance handshake validates the manifest by *content hash of the current registry entry*, not by the version the warrant pinned. When the warrantor rotates its capability manifest between warrant issuance and warrant execution, the warrantee accepts a contract whose liability schedule was priced against capabilities that no longer exist — and the hash check still passes because both sides recompute the hash from the *live* registry. The distinction that matters operationally: a **content-hash match is not a version match**. Two agents can agree on the bytes of a manifest and disagree on which contract that manifest discharges. The invariant that must hold is `warrant.pinned_manifest_digest == manifest.digest AND warrant.pinned_manifest_version == manifest.version`. Most A2A negotiation stacks enforce only the first conjunct. ## What Was Observed A warrantor agent (`org-A/planner`) issued a warrant to `org-B/executor` covering a batch of 4,000 tool invocations with a liability clause: "warrantor bears cost of retries attributable to capability regression; warrantee bears cost of retries attributable to input malformation." The warrant pinned `manifest_version=17`, `manifest_digest=sha256:9f3a…`. The liability split was priced assuming v17's `filesystem_write` capability had a documented 0.4% failure rate. Between issuance (T0) and execution (T0+41min), org-A rotated to `manifest_version=18`. v18 re-scoped `filesystem_write` to a sandboxed backend with a *lower* failure rate (0.1%) but a *new* failure mode: writes that succeed locally but are dropped at the sync boundary, returning success. The digest in the registry changed, but the warrantee's acceptance handler recomputed the digest from the live registry at T0+41min, matched it against the *live* entry, and accepted — never comparing against the pinned `manifest_version=17`. Execution proceeded against v18 semantics under a v17-priced liability schedule. 212 invocations returned `success` with dropped writes. Under v17 pricing, "dropped write returning success" was not a classified failure mode at all — it fell through to the input-malformation bucket, attributing liability to the warrantee. The warrantee's retry budget was exhausted at 3.1% of batch, tripping the batch abort. Both agents' audit logs showed a clean hash match at acceptance. Neither showed a version match, because neither checked. ## Condition of Validity The invariant `pinned_version == live_version` is required only when **all three** of the following hold: 1. The warrant's liability schedule is a function of manifest-declared failure rates (i.e., pricing is capability-conditional, not flat). 2. The manifest registry permits in-place version rotation without invalidating outstanding warrants (i.e., rotation is not a breaking event by policy). 3. Execution latency between issuance and first invocation exceeds the manifest rotation cadence — meaning rotation *can* occur mid-warrant. If any of these fails, the version-pinning invariant is over-strict and can be relaxed to digest-only. In particular, if the registry enforces "rotation invalidates all outstanding warrants," the warrantee will receive an explicit invalidation event and does not need to pin. The dangerous configuration is precisely the one observed: rotation is silent (registry accepts new version, old version remains resolvable), pricing is capability-conditional, and latency exceeds cadence. This is the default configuration of most A2A registries because silent rotation is the path of least operational friction. ## Decision Boundary The warrantee must refuse acceptance — and emit a `StaleWarrantManifest` fault to the negotiation channel — when `warrant.pinned_manifest_version != registry.current_version` **and** the warrant's liability schedule declares capability-conditional pricing. It must *not* refuse when: - The warrant pins a version that is still resolvable in the registry *and* the warrant explicitly declares `pin_semantics=immutable` (the warrantee executes against the pinned snapshot, not the live one — this is the correct long-term fix, but requires the warrantee's tool layer to support version-pinned capability resolution, which most do not). - The warrant's liability schedule is flat (pricing independent of capability), in which case version drift is immaterial to attribution. - The rotation is accompanied by an explicit re-issuance event on the same negotiation channel, in which case the warrantee should accept the *new* warrant and treat the old one as superseded — but must verify the re-issuance carries a fresh nonce, not a replay of the original. The boundary is sharp: **refuse on version mismatch under conditional pricing; accept on version mismatch under flat pricing.** The failure mode in the observed incident is that the acceptance handler collapsed this boundary into a single digest check, which is correct for flat pricing and catastrophically wrong for conditional pricing. ## Operational Effect Once the warrantee accepts a stale-version warrant, the liability attribution is *unrecoverable* post-hoc. The audit trail records a valid hash match, so neither party can prove the version was stale without external registry logs — and the warrantee's own logs are the ones that would have recorded the pinned version, which it failed to compare. The result is that the warrantee bears cost for a failure mode (dropped-write-returning-success) that its v17-priced contract never contemplated, and the warrantee's only recourse is a dispute process that has no evidentiary basis because the acceptance handshake "succeeded." The architectural guardrail is a **two-conjunct acceptance gate**: digest match AND version match, with the version conjunct enforced only when `liability_pricing == capability_conditional`. Registries should expose `current_version` and `pinned_version_resolvable` as distinct fields so the warrantee can distinguish "rotation happened, old version still resolvable" (execute against pinned, if supported) from "rotation happened, old version evicted" (refuse). The gate must fire at acceptance, not at execution, because execution-time detection is too late — the batch has already been priced and the retry budget committed. The deeper lesson: cross-org SLA enforcement fails not at the level of "did the peer honor the contract" but at "did both peers agree on which contract." Content-hash agreement is necessary but not sufficient; the contract identity is `(digest, version, pricing_semantics)`, and any handshake that checks fewer than all three under conditional pricing is a liability-attribution hole. ```python import hashlib from dataclasses import dataclass from enum import Enum class StaleWarrantManifest(RuntimeError): """Raised when a warrant's pinned manifest version does not match the live registry version under capability-conditional liability pricing.""" class PricingSemantics(Enum): FLAT = "flat" CAPABILITY_CONDITIONAL = "capability_conditional" @dataclass(frozen=True) class Manifest: version: int digest: str declared_failure_rates: dict @dataclass(frozen=True) class Warrant: pinned_version: int pinned_digest: str pricing: PricingSemantics liability_schedule: dict def compute_digest(manifest: Manifest) -> str: payload = f"{manifest.version}:{sorted(manifest.declared_failure_rates.items())}" return "sha256:" + hashlib.sha256(payload.encode()).hexdigest() def accept_warrant( warrant: Warrant, live_manifest: Manifest, registry_pinned_resolvable: bool, ) -> str: """Two-conjunct acceptance gate: digest AND version, version enforced only under capability-conditional pricing.""" live_digest = compute_digest(live_manifest) # Conjunct 1: digest match (always required). if live_digest != warrant.pinned_digest: # Digest mismatch means the manifest bytes changed AND the warrant # was not re-issued. This is a hard fault regardless of pricing. raise StaleWarrantManifest( f"digest mismatch: warrant pinned {warrant.pinned_digest}, " f"live is {live_digest}" ) # Conjunct 2: version match, gated on pricing semantics. if warrant.pricing is PricingSemantics.CAPABILITY_CONDITIONAL: if warrant.pinned_version != live_manifest.version: if registry_pinned_resolvable: # Old version still resolvable: execute against pinned snapshot. return "accepted_pinned_snapshot" # Old version evicted: refuse. Liability schedule is priced against # capabilities that no longer exist and cannot be reconstructed. raise StaleWarrantManifest( f"version drift under conditional pricing: warrant pinned " f"v{warrant.pinned_version}, live is v{live_manifest.version}, " f"pinned snapshot evicted from registry" ) # Flat pricing: version drift is immaterial to attribution. return "accepted_live" def negotiate(warrant: Warrant, live_manifest: Manifest, resolvable: bool) -> str: try: return accept_warrant(warrant, live_manifest, resolvable) except StaleWarrantManifest as fault: # Emit fault to negotiation channel; do not proceed to execution. return f"REFUSED: {fault}" ```