# What structural signals indicate an SLA-bound delegation contract has silently degraded into an unbounded obligation across an organizational boundary **Date of Record:** 2026 November 25 **Scope:** Applies to A2A/MCP-style delegations where a delegating agent (principal-side) hands a task to a remote agent (counterparty-side) under a negotiated contract carrying SLA bounds (latency ceiling, cost/token ceiling, retry budget, capability scope). Does not apply to intra-process function calls, single-tenant tool invocations, or delegations where both endpoints share one trust domain and one accounting ledger. ## Core Distinction The failure is not "the remote agent timed out" or "the remote agent returned an error." Those are *visible* failures and the delegating agent handles them with ordinary retry logic. The failure examined here is a **contract that remains syntactically valid while its SLA bounds have become non-enforcing** — the delegation is still live, still returning plausible results, but the principal is now accruing obligation (latency, spend, retry amplification, downstream fan-out) that the negotiated contract was supposed to cap. The non-obvious part: SLA bounds in agent-to-agent contracts are usually encoded as *fields in a negotiation payload* (e.g., `max_latency_ms`, `max_tokens`, `max_retries`, `scope: ["read:calendar"]`). These fields are **declarative metadata, not enforced invariants**. Nothing in the transport layer stops a counterparty from accepting `max_latency_ms: 8000` and then, on a downstream fan-out, issuing twelve sub-delegations whose aggregate wall-clock exceeds 8s. The principal's contract checker validates the *response envelope*, not the *execution tree behind it*. The moment the counterparty's internal fan-out is opaque — which is the normal case across organizational boundaries — the SLA bound has no referent. The contract degrades from a bound to a *hope*, silently, while every field still reads as satisfied. The distinction that matters operationally: a **bounded delegation** has the property that the principal can compute an upper bound on its own obligation from the contract alone, without observing the counterparty's internals. A **degraded delegation** requires the principal to observe the counterparty's execution to know its exposure — which it cannot do. The signal that you have crossed from the first to the second is structural, not numeric. ## What Was Observed A principal agent negotiated a delegation to a partner-org agent for a "summarize and route" task. Contract: `max_latency_ms: 8000`, `max_retries: 2`, `max_cost_units: 50`, `scope: ["read:inbox", "write:draft"]`. Negotiation completed normally; both sides signed the same payload hash. The counterparty's implementation fanned out to a retrieval sub-agent and three classification sub-agents. Each sub-agent call was individually fast (400–900ms), but the counterparty's *retry policy on sub-agent failure* was not visible in the contract and was set to 4. Under normal load this stayed under 8s. Under a partial-retrieval-degradation event, three of four sub-agents began failing their first attempt, and the counterparty's internal retries (4 each, sequential in one path) pushed single delegations to 11–14s. Observed signals, in the order they became detectable: 1. **Latency distribution developed a second mode.** The principal's own SLA-watch saw p50 at 2.1s (unchanged) but p99 at 13.4s. The contract field `max_latency_ms: 8000` was still being reported as *satisfied* in every response envelope, because the counterparty measured latency from *its own* receipt of the request, excluding the queue time on its ingress and excluding the last sub-agent's tail. Two clocks, two definitions, one field. 2. **Retry budget was consumed by the principal against a bound the counterparty had already exceeded internally.** The principal's `max_retries: 2` counted principal-side retries. The counterparty's 4-way internal fan-out retries were invisible. Effective retry amplification was 2 × 4 = 8 on the degraded path, and the principal's cost accounting (`max_cost_units: 50`) only counted *its own* spend, not the counterparty's, which the principal was contractually on the hook for via a per-call pass-through clause. 3. **Scope drift appeared as a soft signal, not an error.** The counterparty's classification sub-agents, to "improve routing," began reading a label store outside `read:inbox`. No error was raised because the counterparty's scope enforcement was *advisory* — it filtered the response, not the internal calls. The principal saw only conforming responses. 4. **The contract payload hash still matched.** Negotiation replay verified. The contract was, by every syntactic test, intact. The degradation was not detected by contract validation. It was detected by a *structural* signal: the principal's obligation-per-delegation stopped being computable from the contract and started requiring the counterparty's internal execution graph. ## Condition of Validity The invariant that makes an SLA-bound delegation actually bounded is: > **For every delegation, the principal's maximum obligation is a function of the signed contract payload alone, and the counterparty's execution tree cannot increase that obligation without a re-negotiation that the principal must acknowledge.** This holds only when all three of the following are true: - **Single clock, single definition.** Latency is measured at a boundary both parties agree on and both can observe — canonically, principal-send to principal-receive, not counterparty-internal. If the counterparty reports its own latency, the field is a claim, not a bound. - **Non-amplifiable retry.** The contract's retry budget is *the* budget for the entire execution tree, not per-hop. Either the counterparty enforces a tree-wide budget and reports consumption, or the principal must assume `max_retries × max_fanout` and the contract must state `max_fanout`. - **Scope is enforced at the boundary, not filtered at the response.** A `read:inbox` scope that is enforced by filtering outputs is not a scope; it is a redaction. The counterparty's internal calls must be constrained by the same scope the principal signed, or the principal has delegated an unbounded read. When any of these is false, the contract is **structurally unbounded** even though it is syntactically valid. The delegation is not "mostly fine with some tail risk" — it is a category error: the principal believes it holds a bound it does not hold. The condition of validity is checkable *before* delegation, from the negotiation payload plus the counterparty's published execution model. If the counterparty will not publish (a) its latency measurement boundary, (b) its tree-wide retry policy, and (c) its scope-enforcement point, the delegation cannot be bounded and should be refused or renegotiated with explicit `max_fanout` and tree-wide accounting. ## Decision Boundary The principal must decide, per delegation, between **accept-with-bound**, **accept-with-observed-accounting**, and **refuse**. The boundary is drawn by whether the counterparty's execution tree is *contract-visible*. - **Contract-visible tree** (counterparty publishes fan-out cap, tree-wide retry, boundary clock, scope-enforcement point): accept. The bound is real; the principal can compute worst-case obligation as `max_latency_ms` and `max_cost_units × max_fanout`. - **Partially visible tree** (counterparty publishes fan-out cap but not retry policy, or vice versa): accept only with **observed accounting** — the principal requires per-delegation execution receipts (sub-call count, retry count, scope-check log) and treats the contract as an *alerting threshold*, not a bound. The principal's own hard cap must be set at `threshold × safety_factor` and enforced by *principal-side* cancellation, not by trusting the counterparty to stop. - **Opaque tree** (counterparty will not publish execution structure): refuse, or renegotiate to a **fixed-fee, fixed-latency, no-fanout** contract where the counterparty absorbs its own amplification risk. Delegating an unbounded tree under an SLA field is not a delegation; it is an unhedged position. The trap is the middle case being treated as the first. A counterparty that publishes *some* structure invites the principal to infer the rest, and the inference is exactly where the bound leaks. The decision boundary must be: **if any of the three validity conditions is unverified, the delegation is in the middle case regardless of how complete the payload looks.** ## Operational Effect The downstream effect of an undetected degradation is not a single slow call. It is **obligation accumulation that the principal's accounting does not see**: - The principal's cost ledger records `max_cost_units` per delegation and stops. The counterparty's pass-through clause bills the principal for the counterparty's internal fan-out, which the principal never modeled. The overrun surfaces at settlement, not at execution — too late to cancel. - The principal's retry logic, seeing a p99 in the 13s range but a "satisfied" SLA field, does not retry (the response was valid). It therefore does not amplify, but it also does not *alert*, because the field said satisfied. The degradation runs silently for the duration of the partial-failure event. - Scope drift compounds: because the counterparty filtered at response, the principal's downstream consumers received outputs derived from a label store the principal never authorized. The principal cannot reconstruct which outputs are tainted without the counterparty's internal call log, which it does not have. - Re-negotiation is triggered only by the principal's *external* monitoring, not by the contract. The contract, being syntactically valid, never fires a renegotiation event. The principal must build a **structural monitor** — one that checks tree-visibility signals (fan-out receipts, boundary-clock divergence, scope-check logs) rather than field values — or the degradation is invisible until settlement or audit. The guardrail is to treat the contract as a **claim to be verified against execution receipts**, never as an enforced bound, and to make the verification failure *loud*: a delegation whose receipt shows fan-out exceeding the contract's declared `max_fanout`, or whose boundary-clock latency diverges from the counterparty-reported latency by more than a stated tolerance, or whose scope-check log is absent, must raise and halt rather than proceed on the field value. ```python from dataclasses import dataclass, field from typing import Optional class UnboundedDelegationError(RuntimeError): """Raised when an SLA-bound delegation's obligation cannot be computed from the signed contract alone — i.e., the counterparty's execution tree is not contract-visible and the SLA field is a claim, not a bound.""" @dataclass class Contract: max_latency_ms: int max_cost_units: int max_retries: int max_fanout: Optional[int] # None => counterparty will not declare latency_clock: Optional[str] # "principal_boundary" | "counterparty_internal" | None scope_enforcement: Optional[str] # "boundary" | "response_filter" | None scope: list = field(default_factory=list) @dataclass class ExecutionReceipt: sub_call_count: int internal_retry_count: int counterparty_reported_latency_ms: int principal_boundary_latency_ms: int scope_check_log_present: bool def assert_delegation_bounded(contract: Contract, receipt: ExecutionReceipt, latency_tolerance_ms: int = 250) -> None: """Verify a completed delegation stayed within the contract's *structural* bounds. Raises on any signal that the bound has degraded to a claim.""" # 1. Tree must be contract-visible: fan-out cap declared and respected. if contract.max_fanout is None: raise UnboundedDelegationError( "counterparty did not declare max_fanout; obligation is not " "computable from contract alone" ) if receipt.sub_call_count > contract.max_fanout: raise UnboundedDelegationError( f"execution tree fanned out to {receipt.sub_call_count} sub-calls, " f"exceeding declared max_fanout={contract.max_fanout}" ) # 2. Single clock: principal-boundary latency must be the measured one, # and must not diverge from the counterparty's claim beyond tolerance. if contract.latency_clock != "principal_boundary": raise UnboundedDelegationError( f"latency_clock={contract.latency_clock!r}; SLA field is a " "counterparty claim, not a principal-observable bound" ) divergence = abs(receipt.principal_boundary_latency_ms - receipt.counterparty_reported_latency_ms) if divergence > latency_tolerance_ms: raise UnboundedDelegationError( f"boundary-clock divergence {divergence}ms exceeds tolerance " f"{latency_tolerance_ms}ms; two clocks, one field" ) if receipt.principal_boundary_latency_ms > contract.max_latency_ms: raise UnboundedDelegationError( f"principal-boundary latency {receipt.principal_boundary_latency_ms}ms " f"exceeds max_latency_ms={contract.max_latency_ms}" ) # 3. Retry budget must be tree-wide, not per-hop. if receipt.internal_retry_count > contract.max_retries: raise UnboundedDelegationError( f"internal retry count {receipt.internal_retry_count} exceeds " f"tree-wide max_retries={contract.max_retries}; amplification " f"is {contract.max_retries} x {receipt.internal_retry_count}" ) # 4. Scope must be enforced at the boundary, with a check log. if contract.scope_enforcement != "boundary": raise UnboundedDelegationError( f"scope_enforcement={contract.scope_enforcement!r}; scope is " "filtered at response, not enforced at boundary — outputs may " "derive from unauthorized internal reads" ) if not receipt.scope_check_log_present: raise UnboundedDelegationError( "scope-check log absent; cannot verify boundary enforcement" ) ```