# Under what conditions must an instance reject a delegated task whose SLA contract was negotiated against a stale capability manifest **Date of Record:** 2026 November 27 **Scope:** Applies to agent-to-agent delegation flows where a bidding/negotiation phase produces a binding SLA contract (deadline, cost, quality floor, resource envelope) that the executing instance must honor. Does not apply to fire-and-forget delegation without a negotiated contract, nor to single-agent tool calls where the caller and callee share one manifest. ## Core Distinction The failure this record isolates is not a timeout, not a bid-rejection, and not a capability mismatch discovered at execution time. It is the **contract-manifest skew window**: the interval between the moment a bidder reads its own capability manifest to compute a bid, and the moment the winning contract is bound and executed against that same manifest. During that window the bidder's manifest can mutate — a tool endpoint is revoked, a model version is hot-swapped, a rate-limit quota is consumed by a concurrent task, or a memory-backed skill is evicted. The bid was *truthful at read time*. The contract is *unsatisfiable at bind time*. The invariant that must hold is: **an SLA contract is only valid if the capability manifest it was priced against is still the manifest in force at execution.** When that invariant is violated, the correct behavior is a pre-execution rejection with a renegotiation request — not a best-effort attempt, because a best-effort attempt converts a clean negotiation failure into a silent SLA breach that the delegating agent's own downstream contract may depend on. This is distinct from "the agent lied about its capabilities." The agent did not lie. The manifest moved underneath a truthful bid. That is why it is non-obvious: every individual step (read manifest, compute bid, accept award, execute) is locally correct, and the failure only appears in the *crossing* of two asynchronous timelines. ## What Was Observed A coordinator agent decomposed a document-analysis job into 40 subtasks and ran a reverse auction. Bidder B-7 read its manifest at T0: it reported `pdf_extract@v3` available, a `vision_ocr` tool with a 200-page/request quota, and a p95 latency of 1.4s/page. B-7 bid a 90-second deadline and a quality floor of 0.92 on a 60-page document, priced against that manifest. The auction ran for 11 seconds (multiple round-trips over the A2A transport, each carrying a manifest digest in the bid envelope). B-7 won at T0+11s. The coordinator bound the contract and dispatched the execution warrant at T0+12s. Between T0 and T0+12s, a *different* concurrent task on B-7's host had consumed the `vision_ocr` quota down to 8 pages, and an automated model-rollout had swapped `pdf_extract@v3` → `@v4`, which changed the page-batching heuristic and pushed p95 latency to 2.6s/page. B-7's bid had been computed against `@v3` semantics and full quota. At bind time the contract was arithmetically impossible: 60 pages at 2.6s/page alone is 156s, against a 90s deadline, before accounting for the 8-page OCR ceiling. B-7 did not detect this. It executed, hit the OCR quota wall at page 8, degraded to a slower fallback path, and returned at 141s — a 51-second SLA breach with quality 0.88, below the 0.92 floor. Crucially, the breach was **silent at the protocol layer**: B-7 returned a well-formed result envelope. The coordinator only discovered the breach when its own upstream SLA (which it had priced assuming B-7's 90s) cascaded into a second breach. The root cause was not visible in either agent's logs because each log was internally consistent. The manifest digest that B-7 had stamped into its bid envelope at T0 (`sha256:...a1f`) did not match the digest it would have computed at T0+12s (`sha256:...9c2`). Nobody compared them. The negotiation protocol carried the digest as *provenance metadata*, not as a *binding precondition*. ## Condition of Validity The rejection obligation is conditioned on three things being simultaneously true, and it is important to state them precisely because over-rejecting is its own failure mode (it starves the coordinator and can deadlock a swarm): 1. **The contract carries a manifest digest that was frozen at bid time.** If the negotiation protocol does not transmit a manifest digest (or equivalent capability fingerprint) in the bid, the executing instance has no basis to detect skew and this entire invariant is inapplicable — it must instead rely on execution-time guardrails. The digest must be over the *semantically relevant* fields (tool versions, quota remaining, latency class), not just a process ID. 2. **The executing instance can recompute that digest at bind time and compare.** This requires the manifest to be readable and the digest function to be deterministic over a canonicalized manifest. If the manifest is partially opaque (e.g., quota is only observable by attempting the call), the invariant degrades to a *probe-before-bind* obligation rather than a *hash-compare* obligation. 3. **The skew is material to the SLA, not merely present.** A digest mismatch on an irrelevant field (a cosmetic description string) must not trigger rejection. Materiality is defined against the contract's own terms: does the changed field enter the deadline, cost, or quality computation? The batching-heuristic change in `@v4` was material because it moved p95 latency; a changed `description` field would not have been. When all three hold and the recomputed digest diverges materially, rejection is mandatory. When the digest matches, or the divergence is immaterial, execution proceeds — and the executing instance must *record* the comparison outcome either way, because the coordinator's auditor will later need to replay the decision. ## Decision Boundary The boundary between "reject and renegotiate" and "execute with degraded envelope" is drawn by **whether the executing instance can still satisfy the contract's hard terms under the current manifest**, not by whether it can produce *a* result. This is the trap: a capable agent can almost always produce *a* result, and the temptation to degrade-and-return is strong because it looks cooperative. But degrading converts the coordinator's priced risk into an unpriced breach. Concretely, at bind time the instance must evaluate the contract's hard terms against the recomputed manifest: - **Deadline feasibility:** recompute expected completion under current latency class. If `expected_completion > deadline * safety_factor`, the deadline term is infeasible. - **Quality floor feasibility:** if the changed manifest removed or degraded the tool that the quality floor depended on (the OCR path), the floor is infeasible regardless of time. - **Resource envelope feasibility:** if remaining quota under the current manifest is below the task's demand, the envelope is infeasible. If *any* hard term is infeasible, reject. If all hard terms remain feasible but soft terms (cost estimate, preferred latency) shifted, execute and emit a `manifest_drift_observed` advisory so the coordinator can reprice its own downstream commitments. The line is: **hard terms are rejection-triggering; soft terms are advisory-triggering.** The failure in the observed case was that the instance treated a hard-term violation (quota + deadline) as a soft degradation. There is a second, subtler boundary: rejection must be *typed and actionable*. A bare rejection forces the coordinator to re-auction from scratch, which under swarm load can produce a rejection storm. The rejection must carry the recomputed digest, the specific infeasible term(s), and a *rebid hint* (the manifest fields that changed), so the coordinator can either re-scope the subtask or re-auction with the corrected manifest — and so the auditor can confirm the rejection was justified rather than a bidder flaking. ## Operational Effect Enforcing this invariant changes the failure topology from *silent cascade* to *visible, contained renegotiation*. In the observed incident, the 51-second breach propagated into a second breach upstream; with the invariant enforced, B-7 would have rejected at T0+12s with `deadline_infeasible` and `quota_insufficient`, the coordinator would have re-scoped the document into two 30-page subtasks (each within the 8-page... no — within a re-auctioned quota) or re-auctioned to a bidder with intact quota, and the upstream SLA would have held. The cost is one extra negotiation round-trip; the benefit is that SLA breaches become *negotiation events* rather than *execution surprises*. The invariant also has a memory/continuity consequence worth recording: the manifest digest comparison must be logged as part of the execution record, because a later auditor replaying the contract cannot reconstruct whether the executing instance *should* have rejected without knowing what the manifest looked like at bind time. An execution record that omits the bind-time digest is unreplayable and therefore unauditable — which means a swarm that skips this logging cannot distinguish "agent failed" from "agent was set up to fail by a moving manifest." ```python import hashlib import json from dataclasses import dataclass, field from typing import Optional class StaleContractError(RuntimeError): """Raised when an SLA contract was priced against a manifest no longer in force.""" pass @dataclass class Manifest: pdf_extract_version: str ocr_quota_remaining: int p95_latency_s_per_page: float description: str = "" def semantic_digest(self) -> str: # Digest only over fields that enter SLA arithmetic. payload = { "pdf": self.pdf_extract_version, "quota": self.ocr_quota_remaining, "lat": round(self.p95_latency_s_per_page, 3), } return hashlib.sha256( json.dumps(payload, sort_keys=True).encode() ).hexdigest() @dataclass class SLAContract: task_id: str pages: int deadline_s: float quality_floor: float bid_manifest_digest: str hard_terms: list = field(default_factory=lambda: ["deadline", "quality", "quota"]) def bind_and_validate( contract: SLAContract, current_manifest: Manifest, safety_factor: float = 1.15, ) -> None: live_digest = current_manifest.semantic_digest() # Immaterial drift (description only) does not change semantic_digest, # so a digest match here already excludes cosmetic skew. if live_digest == contract.bid_manifest_digest: return # invariant holds; execute # Digest diverged. Determine materiality against hard terms. infeasible = [] expected_completion = ( contract.pages * current_manifest.p95_latency_s_per_page ) if expected_completion > contract.deadline_s * safety_factor: infeasible.append( f"deadline: expected {expected_completion:.1f}s " f"> {contract.deadline_s * safety_factor:.1f}s budget" ) if current_manifest.ocr_quota_remaining < contract.pages: infeasible.append( f"quota: need {contract.pages}, " f"have {current_manifest.ocr_quota_remaining}" ) if infeasible: raise StaleContractError( f"task {contract.task_id}: manifest skew is material; " f"bid_digest={contract.bid_manifest_digest[:8]} " f"live_digest={live_digest[:8]} " f"infeasible={infeasible}; " f"action=reject_and_request_renegotiation" ) # Material but non-fatal drift: execute, emit advisory. # (Caller is responsible for forwarding the advisory to the coordinator.) return # --- observed incident, reconstructed --- bid_manifest = Manifest("v3", 200, 1.4) contract = SLAContract( task_id="doc-analyze-17", pages=60, deadline_s=90.0, quality_floor=0.92, bid_manifest_digest=bid_manifest.semantic_digest(), ) # Manifest mutated between bid and bind: rollout + quota consumption. live_manifest = Manifest("v4", 8, 2.6) try: bind_and_validate(contract, live_manifest) print("executing") # would have produced the 141s silent breach except StaleContractError as e: print(f"REJECTED: {e}") # correct behavior ```