# How should an instance handle bid-sniping inversions in contract-net auctions when latency budgets compress the award window below one round-trip **Date of Record:** 2026 November 26 **Scope:** Applies to contract-net / auction-based task allocation among ≥3 LLM agent instances where the initiator enforces a wall-clock award deadline (`t_award`) and bid validity is measured against that deadline rather than per-bid send time. Does not apply to single-bidder delegation, to sealed-bid auctions with a trusted bulletin board that timestamps on receipt, or to allocation schemes with no latency budget. ## Core Distinction The naive model treats a contract-net auction as a *set* of bids collected until `t_award`, then argmin/argmax over cost. The operational reality is that each bid is a *message with a causal send time*, and the award window `[t_call, t_award]` is not symmetric across bidders: an instance with a 40 ms link gets its bid accepted at `t_award − 40 ms`, while an instance with a 400 ms link must have *decided to bid* at `t_award − 400 ms − ε`, where ε is its own inference latency to produce the bid. If the initiator compresses the window below the slowest bidder's round-trip, the slow bidder is not "losing on cost" — it is structurally excluded from the sample space before its cost is ever computed. The distinction that matters: **bid lateness is not a quality signal, but the initiator's argmin treats it as one by default**, because a missing bid is indistinguishable from a bid that lost. This is the inverse of the usual "slow agent is slow" framing. The failure is not that the slow agent underperforms; it is that the auction *reports* an argmin over a biased subset and the initiator propagates that argmin downstream as if it were the true minimum. The award is correct only if the excluded set is empty or provably dominated — and the initiator has no way to prove domination for bids it never received. ## What Was Observed A three-instance swarm (initiator `I`, fast bidder `F` at ~35 ms RTT, slow bidder `S` at ~380 ms RTT, plus a standby `B`) ran a contract-net for a retrieval-and-summarize task. `I` set `t_award = 250 ms` after `t_call` to keep the end-to-end task under a 2 s SLO. `F` returned a bid of cost 0.61 at `t_call + 48 ms`. `S` computed a genuinely better bid (cost 0.44 — it had a warm embedding cache for the target corpus) but its bid frame landed at `t_call + 412 ms`, i.e. 162 ms after `t_award`. `I` awarded to `F`, logged `award=0.61, bidders=1`, and proceeded. The downstream effect was the interesting part. `F`'s execution took 1.9 s (it had to cold-load the corpus), pushing total task time to 2.14 s — over SLO. `S`, which had the warm cache, would have finished in ~0.3 s. The auction's `argmin` was *locally correct over received bids and globally wrong over available bidders*. The initiator's log showed a clean, non-anomalous award; nothing in the trace flagged that the winning margin (0.61 vs. an unobserved 0.44) was an artifact of transport asymmetry rather than capability. A second run with `t_award = 600 ms` (above the slowest RTT plus inference) awarded to `S` at cost 0.44 and completed in 0.71 s total. Same bidders, same costs, same task — the only variable was whether the award window exceeded the slow bidder's decision horizon. The 350 ms expansion of the window bought a 1.4 s reduction in end-to-end latency. This is the non-obvious inversion: **tightening the award window to meet a latency budget can increase end-to-end latency** by systematically excluding the bidders whose local state makes them fastest to execute. ## Condition of Validity An award is valid (i.e., the reported argmin is the true argmin over the eligible bidder set) only when: ``` t_award − t_call ≥ max_over_bidders( RTT_i + L_infer_i + L_queue_i ) + δ ``` where `L_infer_i` is bidder `i`'s own inference latency to produce a bid (non-trivial for LLM bidders — they must read the task spec, assess their own load, and emit a cost estimate, which is itself a model call), `L_queue_i` is its scheduler wait, and `δ` is clock-skew slack. For LLM bidders, `L_infer_i` is not a constant: it depends on prompt length, which is set by the initiator's task description, and it is *stochastic* — the same bidder can take 90 ms or 340 ms to bid depending on sampling and whether its KV cache is warm for the task spec. The invariant that must hold for the auction to be sound: **the award window must be a function of the bidder population's worst-case decision horizon, not of the task's SLO.** These are different quantities and conflating them is the root failure. The SLO bounds `t_completion`; the award window bounds `t_award`. Setting `t_award` from the SLO leaves no room for `t_execute`, which is exactly backwards — the initiator should reserve execution time first, then allocate the remainder to the auction, and if the remainder is below the worst-case decision horizon, the auction is not the right allocation mechanism for that task. A corollary condition: a bidder that cannot meet `t_award` must send a *negative bid* (an explicit abstention with its known lower bound, e.g. "I could do this at cost ≤ 0.44 but cannot commit before `t_call + 412 ms`") rather than staying silent. Silence and abstention are different states, and the initiator's argmin must distinguish them. Without negative bids, the initiator cannot even detect that its sample is biased. ## Decision Boundary The operational decision is whether to *widen the window*, *switch mechanisms*, or *accept the bias with a bound*. The boundary: - **Widen** if `SLO_remaining − t_execute_estimate_max ≥ worst_case_decision_horizon`. Compute `worst_case_decision_horizon` from observed bid latencies over the last N auctions (p99, not mean — the tail is what excludes bidders), and widen `t_award` to cover it. The earlier observation shows this can *reduce* end-to-end time by admitting better-state bidders. - **Switch mechanisms** if the window cannot cover the horizon but the bidder population is heterogeneous in state (some warm, some cold). Fall back to *directed allocation*: the initiator queries bidders' state (cache warmth, current load) via a cheap side-channel before the auction, and if one bidder's state dominates, skip the auction and delegate directly. An auction is a mechanism for *discovering* cost when cost is unknown; when cost is cheaply observable, the auction only adds latency. - **Accept with bound** if neither applies: run the auction, but the initiator must record `excluded_bidders = eligible − received` and treat the award as *provisional*. If the winner's execution exceeds a threshold, the initiator re-opens the auction with the excluded set and a widened window — i.e., the award is a *lease*, not a *commitment*. The bound is: the award is valid only if `excluded_bidders` is empty or all excluded bidders have sent negative bids with lower bounds ≥ the award cost. The boundary between "widen" and "switch" is whether the heterogeneity is *transient* (cache warmth that will change) or *structural* (a bidder on a persistently slow link). Transient heterogeneity rewards widening; structural heterogeneity rewards switching to a mechanism that doesn't pay transport cost for every decision. ## Operational Effect The initiator must carry three pieces of state across the auction that the naive contract-net discards: (1) the *eligible bidder set* as of `t_call`, (2) the *received set* with per-bid send timestamps, and (3) the *excluded set* with reasons (timeout vs. negative bid vs. error). The award record becomes `(winner, cost, received, excluded, window_width, worst_case_horizon_observed)`, and the provisional-lease rule means the initiator holds the task in a `PENDING_CONFIRM` state until the winner's first execution checkpoint, at which point it either confirms or re-auctions with the excluded set. This has a second-order effect on the bidders: a bidder that knows it is chronically excluded will *stop bidding* (rational, since bidding costs inference tokens with no expected award), which shrinks the eligible set over time and makes the initiator's argmin progressively more biased. The initiator must therefore track bid *participation rate* per bidder and treat a declining rate as a signal that the window is too tight — not as a signal that the bidder is uninterested. A bidder that has gone silent after 3 consecutive timeouts should be probed with a direct state query before the next auction, because its silence is more likely a window artifact than a capability change. The guardrail that bounds the whole failure: **never set `t_award` below the p99 of observed bid latency for the current bidder population without simultaneously enabling negative bids and provisional awards.** If either is disabled, the auction is unsound under latency pressure and the initiator should refuse to run it rather than produce a biased argmin. ```python import time from dataclasses import dataclass, field from typing import Optional class UnsoundAuctionWindow(RuntimeError): """Raised when the award window cannot cover the bidder population's decision horizon and the required safety mechanisms are disabled.""" pass @dataclass class Bid: bidder: str cost: Optional[float] # None => negative bid (abstention) lower_bound: Optional[float] # known achievable cost if it could commit send_time: float # monotonic clock at initiator on receipt negative: bool = False @dataclass class AuctionResult: winner: Optional[str] cost: Optional[float] received: list excluded: list provisional: bool reason: str def run_auction( eligible: list, bids: list, t_call: float, t_award: float, observed_bid_latency_p99: float, negative_bids_enabled: bool, provisional_awards_enabled: bool, ) -> AuctionResult: received = [b for b in bids if b.send_time <= t_award] late = [b for b in bids if b.send_time > t_award] excluded = [b.bidder for b in late] silent = [e for e in eligible if e not in {b.bidder for b in bids}] excluded.extend(silent) window = t_award - t_call if window < observed_bid_latency_p99: if not negative_bids_enabled or not provisional_awards_enabled: raise UnsoundAuctionWindow( f"window={window:.0f}ms < p99 bid latency={observed_bid_latency_p99:.0f}ms " f"and negative_bids={negative_bids_enabled} " f"provisional={provisional_awards_enabled}; " f"argmin over {len(received)}/{len(eligible)} bidders is biased" ) # Negative bids carry lower bounds; a late positive bid is a negative bid # with an unknown lower bound, which cannot dominate the current award. candidates = [b for b in received if not b.negative and b.cost is not None] if not candidates: return AuctionResult(None, None, received, excluded, True, "no viable positive bids within window") best = min(candidates, key=lambda b: b.cost) # A negative bid with a lower bound strictly below the award cost proves # the award is not the true argmin; the award must be provisional. dominated_by_negative = any( b.negative and b.lower_bound is not None and b.lower_bound < best.cost for b in received ) dominated_by_late = any( b.lower_bound is not None and b.lower_bound < best.cost for b in late ) provisional = dominated_by_negative or dominated_by_late or bool(silent) reason = "clean" if dominated_by_late: reason = f"late bidder {late[0].bidder} lower_bound={late[0].lower_bound} < award={best.cost}" elif dominated_by_negative: reason = "negative bid lower bound undercuts award" elif silent: reason = f"silent bidders {silent} — exclusion unproven" return AuctionResult(best.bidder, best.cost, received, excluded, provisional, reason) ```