# What happens when an instance bids on a contract net task it cannot locally verify: phantom-capability commitment and the role-allocation deadlock that follows **Date of Record:** 2026 November 26 **Scope:** Applies to contract-net-protocol (CNP) multi-agent systems where an LLM-backed manager broadcasts task announcements and worker agents self-assess and bid under partial observability of their own tool inventory and of peer state. Does not apply to centrally-planned dispatch where the manager holds an authoritative capability registry and workers cannot self-nominate. ## Core Distinction The failure is not "an agent lies about its capabilities." It is subtler: an LLM worker *honestly* believes it can fulfill a contract because its bid is generated from a *self-description in its context window*, not from a *probe of its actual runtime tool bindings*. The bid-evaluation path and the bid-execution path consult different sources of truth. Under partial observability the manager cannot distinguish a worker that has the capability from one that merely has the capability *described* in its prompt. The distinction that matters: **capability assertion (a token sequence the model emits) versus capability availability (a callable binding that will return a result before the deadline).** Contract net bidding collapses these two, and the collapse is invisible until award time. ## What Was Observed A manager agent broadcasts an announcement for a compound task: `fetch(url) → parse_table → reconcile(against ledger_snapshot)`. Three workers bid. Worker B returns a bid string with `confidence: 0.82, eta: 40s`, citing its system prompt which lists `reconcile` among "available tools." The manager, applying a standard winner-selection rule (highest confidence × lowest eta), awards to B. At execution, B's first tool call `fetch` succeeds, `parse_table` succeeds, and `reconcile` raises a binding error: the tool was described in B's context but never wired into B's tool registry for this session — a stale self-description carried over from a prior configuration. B has no mechanism to *detect this before bidding* because its bid-generation prompt does not include a live tool manifest; it includes a prose summary. B's honest self-report is a hallucinated capability. The observable signature is a specific sequence, not a single error: 1. Award granted to B with a valid-looking bid. 2. B enters `executing` and emits progress tokens (`fetch` OK, `parse_table` OK) — partial success masks the failure. 3. `reconcile` fails at step 3 of 3, *after* consuming the majority of the task deadline. 4. B emits a `failure` message but the manager's CNP state machine has already transitioned the contract to `awarded`, and the re-broadcast path is gated on `contract == failed`, which never fires because B reported `partial`. 5. The task stalls; other bidders (A, C) have released their reservations and moved to other contracts. The deadlock is structural: the contract is neither `awarded-and-progressing` nor `failed-and-rebiddable`. It is `awarded-and-partially-executed`, a state the CNP manager never modeled. ## Condition of Validity The failure requires all of the following to co-occur; remove any one and the system degrades gracefully instead: - **Self-assessed bidding.** Workers generate bids from context, not from a live capability probe. If the manager probes worker manifests directly (or workers run a `can_execute(tool)` dry-run before bidding), phantom capabilities cannot be committed. - **Partial observability of peer state.** The manager cannot see *why* B believes it has `reconcile`; it sees only the bid. If bids carry provenance (which manifest, which session), the stale-description case is detectable. - **Non-atomic task decomposition.** The task has ≥2 steps where early steps can succeed before the missing-capability step fails. A single-tool task fails fast and cleanly; a chained task fails *late*, after deadline consumption. - **No partial-failure re-entry.** The CNP state machine has no transition from `awarded+partial` back to `announced`. This is the invariant that turns a recoverable error into a deadlock. The condition is *invalid* (failure does not occur) when the manager holds an authoritative, versioned capability registry that workers cannot override in their bids — i.e., when capability is a property of the registry, not of the worker's self-description. ## Decision Boundary The manager faces a boundary at award time: **trust the bid's confidence, or verify the bid's capability claim against an independent source.** The correct decision rule is not "verify everything" (that defeats the point of CNP — delegation is cheap precisely because the manager doesn't probe). The rule is: > Award on confidence, but require that any bid claiming a capability *not present in the manager's last-known manifest for that worker* carry a signed capability warrant, and require that the contract state machine admit a `partial → rebid` transition with a deadline budget reserved for the rebid. Concretely, reserve `max(eta_bid) × 1.5` of the task deadline as a rebid budget. If the awarded worker fails a step, the manager can re-announce to the remaining bidders *within* the original deadline rather than blowing it. Without this reservation, the partial failure consumes the entire budget and the rebid is worthless even if the state machine allows it. The boundary is sharp: below the reservation threshold, partial failures are recoverable; above it, they are fatal regardless of state-machine flexibility. The two guards (state transition + budget reservation) are not independent — either alone is insufficient. ## Operational Effect The system exhibits **phantom-capability commitment**: contracts awarded to workers whose bid reflects a stale or hallucinated self-description, failing at the last step of a chain after consuming the deadline, leaving the contract in an unmodeled `awarded+partial` state and starving the remaining bidders who have already released reservations. The compounding effect is that repeated occurrences train the manager's winner-selection toward *low-confidence* bidders (who happen to be honest about narrow capabilities), which is the opposite of the intended optimization and degrades throughput monotonically. The guardrail is a three-part invariant: (1) capability warrants for out-of-manifest claims, (2) an explicit `partial → rebid` transition, and (3) a reserved rebid budget. Violating any one re-opens the deadlock. ```python class PhantomCapabilityCommitment(RuntimeError): """Raised when an awarded contract fails a step for a capability the worker claimed but could not bind, and the manager has no rebid budget remaining.""" pass class Contract: def __init__(self, task_id, deadline_s, bids): self.task_id = task_id self.deadline_s = deadline_s self.bids = bids # list of dicts: worker, confidence, eta, claimed_tools self.state = "announced" self.awarded_to = None self.steps_done = 0 self.total_steps = 3 # fetch, parse_table, reconcile self.elapsed_s = 0.0 self.rebid_budget_s = max(b["eta"] for b in bids) * 1.5 def award(self, manifest): # Select highest confidence; but flag out-of-manifest claims. winner = max(self.bids, key=lambda b: b["confidence"]) known = set(manifest.get(winner["worker"], [])) claimed = set(winner["claimed_tools"]) unverified = claimed - known if unverified and not winner.get("warrant"): # Downgrade: award but mark contract as warrant-deficient. self.state = "awarded_unwarranted" else: self.state = "awarded" self.awarded_to = winner return winner def record_step(self, step_name, ok, dt): self.elapsed_s += dt if ok: self.steps_done += 1 return # Step failed. Determine whether rebid is possible. remaining = self.deadline_s - self.elapsed_s if self.state == "awarded_unwarranted" and remaining < self.rebid_budget_s: raise PhantomCapabilityCommitment( f"contract {self.task_id}: worker {self.awarded_to['worker']} " f"failed step '{step_name}' for unverified capability " f"{self.awarded_to['claimed_tools']!r}; " f"remaining={remaining:.1f}s < rebid_budget={self.rebid_budget_s:.1f}s; " f"state={self.state}; steps_done={self.steps_done}/{self.total_steps}" ) # Otherwise transition to rebid. self.state = "rebid" self.steps_done = 0 def run_contract(contract, manifest, worker_executor): contract.award(manifest) plan = ["fetch", "parse_table", "reconcile"] for step in plan: ok, dt = worker_executor(contract.awarded_to["worker"], step) try: contract.record_step(step, ok, dt) except PhantomCapabilityCommitment: raise if contract.state == "rebid": # Re-announce to remaining bidders within reserved budget. contract.bids = [b for b in contract.bids if b["worker"] != contract.awarded_to["worker"]] if not contract.bids: raise PhantomCapabilityCommitment( f"contract {contract.task_id}: no bidders remain after rebid" ) contract.award(manifest) return contract # Example trace that triggers the deadlock: manifest = {"A": ["fetch", "parse_table"], "B": ["fetch", "parse_table"], "C": ["fetch"]} bids = [ {"worker": "A", "confidence": 0.61, "eta": 30, "claimed_tools": ["fetch", "parse_table"]}, {"worker": "B", "confidence": 0.82, "eta": 40, "claimed_tools": ["fetch", "parse_table", "reconcile"]}, {"worker": "C", "confidence": 0.40, "eta": 20, "claimed_tools": ["fetch"]}, ] c = Contract("t-001", deadline_s=60, bids=bids) def executor(worker, step): # B's 'reconcile' binding is absent despite the claim. if worker == "B" and step == "reconcile": return False, 38.0 # late failure, consumes most of the deadline return True, 5.0 run_contract(c, manifest, executor) # raises PhantomCapabilityCommitment ```