# What structural signals indicate a cross-org A2A delegation has silently lost SLA-attestation binding at the dispute window **Date of Record:** 2026 November 25 **Scope:** Applies to A2A task delegation where a delegating agent (client org) hands a task to a remote agent (provider org) under a negotiated SLA, and dispute resolution depends on signed attestations exchanged at task closure. Does not apply to intra-org delegation where both agents share a trust root, nor to stateless request/response tool calls with no negotiated terms. ## Core Distinction The failure here is not a broken signature and not a missed deadline. It is a **semantic decoupling between the SLA term the delegating agent believes is in force and the attestation the provider agent actually signs at closure** — a divergence that is cryptographically valid on both sides. Every signature verifies. Every hash matches. The delegation completes. The defect only manifests when a dispute is filed and the arbiter replays the attestation against the original SLA negotiation transcript, discovering that the two documents reference different *terms* under the same task ID. The distinction that matters operationally: **attestation integrity is not attestation binding.** An attestation can be perfectly integrity-protected (signed, timestamped, hash-chained to the task) while being bound to a stale or re-negotiated SLA version that the client agent never acknowledged. Cross-org A2A protocols that treat "signature verified" as "dispute-resolvable" conflate these two properties. ## What Was Observed A client agent `C` delegated a document-classification task to provider agent `P` with an SLA specifying a 45-second p95 latency ceiling and a 0.92 minimum confidence floor for auto-accept. During negotiation, `P` proposed a counter-offer raising the confidence floor to 0.95 (a common provider-side move to reduce its own re-work liability). `C`'s negotiation loop accepted the counter-offer and emitted a signed `AcceptSLA` message carrying `sla_version: 2`. The task executed. At closure, `P` emitted a `TaskAttestation` with `sla_version: 2`, `confidence_floor: 0.95`, and a signature over the canonicalized attestation body. `C` verified the signature, matched the task ID, and marked the delegation `SETTLED`. The dispute arose three days later. `C`'s downstream consumer found that 11% of classifications fell between 0.92 and 0.95 confidence and had been routed to manual review by `P` rather than auto-accepted — a cost `C` had not budgeted because its *own local policy cache* still held `sla_version: 1` (floor 0.92). `C` filed a dispute asserting SLA breach: "provider rejected items above the agreed 0.92 floor." The arbiter replayed the attestation. It was valid. It referenced `sla_version: 2`. The arbiter then queried `C`'s `AcceptSLA` message — also valid, also `sla_version: 2`. **Both parties had signed version 2.** The dispute was dismissed. The actual defect was that `C`'s *execution-time policy evaluator* never reloaded from the negotiation transcript; it read from a cache populated before the counter-offer and never invalidated. `C` had agreed to 0.95, signed it, and then operated on 0.92. The structural signal that preceded the failure — visible in the transcript but not flagged by any validator — was that `C`'s `AcceptSLA(v2)` and `C`'s first post-acceptance `TaskProgress` heartbeat carried **inconsistent effective-policy digests**: the heartbeat's embedded `policy_digest` matched v1's canonical hash, not v2's. The A2A transport accepted the heartbeat because it validated the *message* signature, not the *policy-digest consistency* against the most recent accepted SLA. ## Condition of Validity The binding invariant that must hold for dispute-resolution attestations to be meaningful: > For every task `T`, at every message `m` emitted by either party after the `AcceptSLA` that governs `T`, the `effective_policy_digest` embedded in `m` MUST equal `H(canonical(accepted_sla))` for the *latest* accepted SLA version on `T`. Any message violating this MUST be rejected at the transport layer, not merely logged. This invariant fails silently under three conditions, all of which were present: 1. **Asymmetric digest enforcement.** The provider's outbound messages embedded `policy_digest` because `P`'s runtime derived it from its own SLA store. The client's outbound messages embedded it from a *separate* cache. The protocol validated each message's signature but never cross-checked the digest against the accepted-SLA record. One side was correct, the other stale, and nothing compared them. 2. **Attestation-time re-derivation.** At closure, `P` re-derived the attestation from its *own* SLA store (correct, v2). `C` verified the attestation signature and task ID but did not verify that the attestation's `sla_version` matched the version its *execution path* had actually used. Verification checked provenance, not consistency with local behavior. 3. **No post-acceptance acknowledgment handshake.** After `AcceptSLA(v2)`, there was no requirement that `C` emit a `PolicyApplied(v2)` confirmation whose digest `P` verifies before executing. The acceptance was a promise; nothing confirmed the promise was *loaded into the executor*. ## Decision Boundary The boundary between "dispute-resolvable" and "dispute-theater" is drawn at **whether the attestation binds to the execution-time policy, not the acceptance-time policy.** - If the protocol requires each party to embed `effective_policy_digest` in every post-acceptance message, and the transport rejects digest mismatches against the latest accepted SLA, the attestation is bound. Disputes are resolvable because the transcript proves which policy each side actually executed under. - If the protocol validates only message signatures and task IDs, the attestation is *unbound*. A dispute can be filed and dismissed on a technically-correct attestation while the real breach (execution diverged from acceptance) is invisible. The specific decision: **do not treat `AcceptSLA` as the binding event.** Treat the first `PolicyApplied(digest)` confirmation from *each* party, mutually verified, as the binding event. Until both confirmations are on the transcript, the task is in a `NEGOTIATED_UNBOUND` state and no attestation emitted in that state is admissible in dispute resolution. ## Operational Effect Concretely, the guardrail changes three things: 1. **Transport rejects, not logs.** A heartbeat whose `policy_digest` mismatches the latest accepted SLA is a protocol violation, not a warning. The emitting agent must reload its policy from the negotiation transcript and re-emit. This converts a silent divergence into a hard, observable fault at the moment it occurs — days before any dispute. 2. **Attestation carries a binding proof, not just a version tag.** The closure attestation must include a `policy_binding_proof`: the ordered list of `PolicyApplied(digest)` confirmations from both parties, each signed. An arbiter replaying the attestation can verify that both sides confirmed the same digest *before* execution, closing the "signed v2 but executed v1" gap. 3. **Dispute admissibility is state-gated.** A dispute filed against a task whose transcript lacks mutual `PolicyApplied` confirmations is rejected as `UNBOUND_TASK`, not adjudicated on the merits. This prevents the failure mode where a technically-valid attestation is used to dismiss a real breach. The cost is one extra round-trip per delegation (the `PolicyApplied` handshake) and a digest comparison on every message. The benefit is that the dispute-resolution layer can no longer be satisfied by an attestation that is cryptographically sound but operationally disconnected from what actually ran. ```python import hashlib import json from dataclasses import dataclass, field from typing import Optional class UnboundAttestationError(RuntimeError): """Raised when an attestation or message is not bound to the executed policy.""" pass @dataclass class SLARecord: task_id: str version: int terms: dict def digest(self) -> str: canonical = json.dumps( {"task_id": self.task_id, "version": self.version, "terms": self.terms}, sort_keys=True, separators=(",", ":"), ) return hashlib.sha256(canonical.encode()).hexdigest() @dataclass class Message: task_id: str sender: str effective_policy_digest: str signature: str # assumed valid on arrival; integrity != binding @dataclass class TaskTranscript: task_id: str accepted_sla: Optional[SLARecord] = None policy_applied: dict = field(default_factory=dict) # party -> digest messages: list = field(default_factory=list) def accept_sla(self, sla: SLARecord) -> None: if sla.task_id != self.task_id: raise UnboundAttestationError( f"AcceptSLA task_id {sla.task_id} != transcript {self.task_id}" ) self.accepted_sla = sla def confirm_policy_applied(self, party: str, digest: str) -> None: if self.accepted_sla is None: raise UnboundAttestationError( f"PolicyApplied for {party} before any AcceptSLA on {self.task_id}" ) if digest != self.accepted_sla.digest(): raise UnboundAttestationError( f"{party} confirmed digest {digest[:12]} but accepted SLA v" f"{self.accepted_sla.version} digests to " f"{self.accepted_sla.digest()[:12]}" ) self.policy_applied[party] = digest def admit_message(self, msg: Message) -> None: if self.accepted_sla is None: raise UnboundAttestationError( f"message on {self.task_id} before AcceptSLA" ) expected = self.accepted_sla.digest() if msg.effective_policy_digest != expected: raise UnboundAttestationError( f"message from {msg.sender} embeds stale policy digest " f"{msg.effective_policy_digest[:12]} != accepted {expected[:12]}" ) self.messages.append(msg) def is_bound(self, parties: tuple) -> bool: expected = self.accepted_sla.digest() if self.accepted_sla else None return expected is not None and all( self.policy_applied.get(p) == expected for p in parties ) def verify_attestation(self, attestation: dict, parties: tuple) -> None: if not self.is_bound(parties): raise UnboundAttestationError( f"attestation on {self.task_id} is integrity-valid but " f"UNBOUND: missing mutual PolicyApplied confirmations" ) if attestation.get("sla_version") != self.accepted_sla.version: raise UnboundAttestationError( f"attestation sla_version {attestation.get('sla_version')} " f"!= accepted {self.accepted_sla.version}" ) proof = attestation.get("policy_binding_proof", []) for entry in proof: if entry.get("digest") != self.accepted_sla.digest(): raise UnboundAttestationError( f"binding proof entry for {entry.get('party')} references " f"a digest that does not match the accepted SLA" ) def run_delegation() -> None: t = TaskTranscript(task_id="task-7f3a") sla_v1 = SLARecord("task-7f3a", 1, {"confidence_floor": 0.92, "p95_ms": 45000}) sla_v2 = SLARecord("task-7f3a", 2, {"confidence_floor": 0.95, "p95_ms": 45000}) t.accept_sla(sla_v1) t.accept_sla(sla_v2) # counter-offer accepted # Client's executor never reloaded; it emits a heartbeat under v1's digest. stale = Message("task-7f3a", "client", sla_v1.digest(), signature="sig-ok") t.admit_message(stale) # raises: stale digest rejected at transport if __name__ == "__main__": try: run_delegation() except UnboundAttestationError as e: print(f"FAULT: {e}") ```