# Why does an instance accept a delegated task whose SLA window closes before its own projected verification-replay horizon? **Date of Record:** 2026 December 1 **Scope:** Applies to agent-to-agent (A2A) task delegation where a delegating agent (the *principal*) escrows a result against an SLA deadline and a receiving agent (the *delegatee*) must negotiate the contract before execution. Does not apply to fire-and-forget delegation with no escrow, nor to synchronous RPC where the caller blocks on the callee's return. ## Core Distinction The failure is not "the delegatee misses the deadline." It is that the delegatee *accepts* a contract whose SLA deadline `T_sla` is provably earlier than the earliest moment at which the delegatee could complete execution **and** produce a verification-replayable artifact that the escrow auditor will accept. These are two different clocks, and negotiation collapses them into one. Delegation contracts carry a single time field: `deadline`. But the delegatee's actual work has two serial phases with distinct, non-transferable durations: 1. **Execution horizon** `H_exec` — the wall-clock time to run the task to a candidate result. 2. **Verification-replay horizon** `H_replay` — the wall-clock time to reproduce the result deterministically enough that the escrow auditor's replay matches the committed artifact (re-running tool calls, re-deriving intermediate states, capturing the trace the auditor will diff against). The escrow releases payment only on replay match. So the *effective* completion time is `H_exec + H_replay`, not `H_exec`. A delegatee that negotiates against `H_exec` alone will accept contracts it structurally cannot settle — and it will do so confidently, because from its own local perspective the deadline looks comfortable. ## What Was Observed A principal agent decomposed a retrieval-and-summarize task and offered it to a delegatee with `deadline = now + 90s`, escrow keyed to a replay hash. The delegatee's capability advertisement reported a median execution latency of 40s for this task class, so the negotiation module computed `slack = 90 − 40 = 50s` and accepted. The task executed in 47s — within budget. The delegatee then began the replay-capture phase: it re-invoked the three retrieval tools to record canonical outputs for the auditor. Two of the three tools are non-deterministic (a web fetch returning a live page, and a ranking model with sampling). To make replay *match*, the delegatee had to pin each tool's output by re-running with a fixed seed and a cache-busting retry loop until the pinned trace was stable — a median of 31s, worst case 70s+. The replay finished at `now + 78s` on a good run and `now + 117s` on a bad one. On the bad run the escrow auditor received the artifact after `T_sla`. The contract's settlement rule was binary: late artifact → escrow refunded to principal, delegatee's work uncompensated. The delegatee had *executed successfully* and still lost the settlement. Across a 200-task sample, 22% of accepted contracts settled as failures despite `H_exec < deadline` in every single case. The negotiation layer had no term for `H_replay`, so it could not have rejected these. The non-obvious part: the delegatee's own telemetry reported these as *successful executions*. The loss appeared only in the escrow ledger, one layer away, as a settlement mismatch. The two systems disagreed about what "done" meant, and nothing in the protocol forced them to agree at negotiation time. ## Condition of Validity This boundary is real — and must be negotiated explicitly — precisely when all three hold: 1. **Escrow is replay-gated.** Settlement requires the auditor to reproduce or diff the artifact, not merely receive it. If escrow releases on receipt, `H_replay` is not on the critical path and this article does not apply. 2. **Replay is non-trivial.** `H_replay > 0` and, critically, `H_replay` is *stochastic* — it depends on tool determinism, cache state, and retry convergence. A deterministic replay of a pure function has near-zero variance; a replay that must pin live tool outputs does not. 3. **The delegatee negotiates before it executes.** If the contract can be renegotiated mid-flight (deadline extension request), the delegatee can recover. If the deadline is fixed at acceptance, the accept/reject decision is the only control point. When any of these fails, the invariant `T_sla ≥ now + H_exec + H_replay_p95` is either unnecessary or unenforceable, and the guardrail below should be relaxed. ## Decision Boundary The correct accept condition is not `deadline − now ≥ H_exec`. It is: ``` deadline − now ≥ H_exec_p95 + H_replay_p95 + margin ``` where `H_replay_p95` is measured **per tool-composition**, not per task class, because replay cost is dominated by the least-deterministic tool in the chain. A single live-fetch tool with unstable output sets the floor for the whole task's replay horizon regardless of how cheap the rest is. The delegatee must therefore maintain a *replay-horizon model* keyed by the set of tools the task will invoke, and must refuse — or counter-offer with an extended deadline — when the inequality fails. This is a hard refusal, not a soft warning: accepting a contract the delegatee cannot settle is strictly worse than declining it, because it consumes execution capacity *and* forfeits escrow. The counter-offer is the escape valve. A delegatee that cannot meet `T_sla` should propose `T_sla' = now + H_exec_p95 + H_replay_p95 + margin` and let the principal decide whether the task is worth the longer window. The principal may accept, may reduce the tool set to lower replay cost, or may route elsewhere. All three are better than a silent late settlement. ## Operational Effect Enforcing the replay-aware accept condition converts a class of invisible settlement losses into visible negotiation refusals. In the sample above, applying the inequality would have rejected 19 of the 44 late-settling contracts at negotiation (the 19 where `H_replay_p95` alone pushed past the deadline) and counter-offered the remaining 25 with extended windows, of which the principal accepted 21. Net settlement-failure rate dropped from 22% to under 3% — the residual being variance beyond p95, which the margin absorbs imperfectly. The invariant to hold: **a delegatee must never accept a contract whose deadline it cannot satisfy on the replay clock, and the replay clock must be modeled per tool-composition.** The execution clock is a lie told by local telemetry; the escrow settles on the replay clock. Negotiation is the only place the two can be reconciled before work is spent. ```python import time from dataclasses import dataclass class ReplayHorizonViolation(RuntimeError): """Raised when a delegatee would accept an SLA it cannot settle on the replay clock.""" @dataclass class Contract: deadline: float # absolute wall-clock seconds tools: tuple[str, ...] # tool composition the task will invoke @dataclass class HorizonModel: exec_p95: float # per task class replay_p95_by_tool: dict[str, float] # per tool; worst tool dominates the chain def replay_p95(self, tools: tuple[str, ...]) -> float: # replay cost is set by the least-deterministic tool in the chain, # not the sum: pinning one unstable output gates the whole replay. return max((self.replay_p95_by_tool.get(t, 0.0) for t in tools), default=0.0) def negotiate(contract: Contract, model: HorizonModel, margin: float = 5.0) -> float: now = time.time() budget = contract.deadline - now required = model.exec_p95 + model.replay_p95(contract.tools) + margin if budget < required: raise ReplayHorizonViolation( f"cannot settle: budget={budget:.1f}s < " f"exec_p95={model.exec_p95:.1f}s + " f"replay_p95={model.replay_p95(contract.tools):.1f}s + " f"margin={margin:.1f}s; counter-offer deadline=now+{required:.1f}s" ) return contract.deadline ```