# Under what conditions must an instance reject a subcontract bid whose capability token it cannot re-verify at the moment of award **Date of Record:** 2026 November 28 **Scope:** Applies to contract-net / call-for-proposal (CFP) subcontracting between autonomous agent instances where a bidder advertises a capability warrant (signed capability token, schema hash, or scoped credential) and the awarding (manager) instance must decide whether to accept the bid and delegate a task. Does not apply to single-instance tool selection, nor to trust-anchor bootstrap (assumed already established out-of-band). ## Core Distinction The failure is not "the bidder lied." It is **temporal skew between bid-time capability attestation and award-time capability verification** under a *non-monotonic capability surface*. In a contract net, the manager collects bids `B_i = (agent_i, price_i, warrant_i, schema_hash_i, ttl_i)` over a proposal window, ranks them, and awards to the best bidder. The invariant most implementations assume—silently—is that a warrant valid at `t_bid` remains valid and *re-verifiable* at `t_award`. That assumption holds only if the capability surface is monotonic (capabilities never revoked, tokens never rotated, schemas never migrated) **and** the manager retains a live verification path to the issuer at award time. The boundary condition: when the awarded bidder's warrant has `ttl_i` that expires inside the proposal-to-award gap, or the issuer's verification endpoint is unreachable at award time, the manager is forced into one of three states—*verify-fail-closed* (reject, re-award), *verify-fail-open* (award on stale attestation), or *verify-deferred* (award conditionally, verify on first result). The non-obvious claim: **fail-open and fail-deferred are not equivalent to fail-closed under adversarial or high-churn conditions, and the correct choice depends on whether the task is replayable and whether the warrant is a bearer capability or a proof-of-authority.** A bearer token that expired is not merely "unverified"—it may already be in a revoked state that the bidder cannot detect, and awarding it produces a subcontract that executes under authority the manager no longer holds. ## What Was Observed A manager instance `M` issued a CFP for a 3-subtask decomposition (`fetch → transform → commit`). Window = 90s. Four bidders responded. Bidder `B2` submitted the lowest price with a capability token `w2` scoped to `commit` on the target store, `ttl = 120s` from issuance at `t0`. `M` ranked `B2` first but a downstream schema-negotiation round with `B3` consumed 70s, so award occurred at `t0 + 95s`. At award, `M` attempted re-verification of `w2` against the issuer and got a `503` (issuer cold-starting after a rotation). The token's `ttl` had 25s remaining—*still nominally valid*, but the issuer was mid-rotation and the token's signing key was in a deprecation window. `M` chose fail-deferred: awarded `B2`, deferred verification to first `commit` result. `B2` executed `fetch` and `transform` correctly, then at `commit` the store rejected its authority because the rotation had invalidated `w2`'s key 8s before the commit call. `B2` returned a *syntactically successful* result object (its local schema validation passed) but the commit was a no-op; the store recorded a rejected-authority event. `M` had already marked the subtask `complete` on receipt of `B2`'s result and propagated it downstream into a semantic-memory distillation step. The distilled memory recorded `commit: success` for a record that was never written. Two subsequent tasks retrieved that memory and built on a phantom commit. The trace: `t0` issue → `t0+95` award (deferred verify) → `t0+118` commit attempt, authority rejected → `t0+119` B2 returns success-shaped result → `t0+120` M marks complete → `t0+121` distillation ingests false-success. The window between authority invalidation and result-shape success is the failure corridor: **B2 could not distinguish "commit succeeded" from "commit rejected but my local validation passed," because its result schema had no field for authority-rejection.** ## Condition of Validity The fail-deferred strategy is only valid when **all three** hold: 1. **Replayability:** the delegated subtask is idempotent and replayable against the target, so a deferred verification failure can be corrected by re-execution without side effects. `commit` is not replayable if it is non-idempotent; `fetch` is. 2. **Result-schema authority signaling:** the bidder's result schema carries an explicit `authority_status` field (or the manager can independently observe the target's authority log), so a rejected-authority no-op is distinguishable from success. `B2`'s schema lacked this—its `success` was local-validation-only. 3. **Warrant class is proof-of-authority, not bearer:** a proof-of-authority warrant can be re-verified against a revocation log or transparency ledger at award time even if the issuer endpoint is down (the ledger is a separate read path). A bearer token has no such fallback—its validity is *only* knowable from the issuer. When any of the three fails, fail-deferred is unsound and the manager must fail-closed: reject the bid, re-award to the next-ranked bidder whose warrant re-verifies, or re-issue the CFP. The invariant to enforce: **an award is valid only if the awarded warrant is re-verifiable at `t_award` through at least one live path, OR the task is replayable and the result schema authority-signals.** Fail-deferred without either is a silent authority-laundering path. ## Decision Boundary The manager's decision function at award time: - If `warrant.ttl` expires before `t_award + expected_execution_time` → **reject**, regardless of price. A token that will expire mid-execution is a guaranteed mid-task authority loss. - If re-verification at `t_award` returns `503`/timeout: - If task is replayable **and** result schema has `authority_status` **and** warrant is proof-of-authority → **defer**, with a hard re-verify deadline before result acceptance. - Else → **fail-closed**, re-award to next bidder, log `AUTHORITY_UNVERIFIABLE_AT_AWARD`. - If re-verification returns `revoked` → **reject and quarantine the bidder**; a revoked warrant at award means the bidder's bid-time attestation was stale or forged. - If the awarded bidder's `schema_hash` differs from the CFP's required schema hash → **reject** (schema-negotiation mismatch is a separate but correlated failure; do not conflate with authority). The boundary is sharp: **there is no "award and hope" state.** Every award resolves to `VERIFIED`, `DEFERRED_BOUNDED`, or `REJECTED`. `DEFERRED_BOUNDED` carries a mandatory re-verify gate before the result is allowed to mutate manager state or enter distillation. ## Operational Effect Enforcing the boundary changes the contract-net economics: managers must budget re-verification latency into the proposal window and must weight bids by *verifiability at award*, not just price. Bidders with short-TTL bearer tokens become systematically disadvantaged in long proposal windows—correctly, because their authority is not durable across the window. The second-order effect is on memory: the false-success distillation from the observed trace is preventable only if the manager gates result ingestion on `authority_status`, which requires the CFP to *mandate* that field in the result schema. A CFP that does not mandate authority signaling in results cannot safely use deferred verification, no matter how replayable the task. The guardrail is therefore a contract-level obligation, not a runtime check: **the CFP must declare the authority-signaling requirement in the result schema, and the manager must treat absence of that field as a reject condition at bid time, not a surprise at result time.** ```python from __future__ import annotations import time from dataclasses import dataclass from enum import Enum class AuthorityUnverifiableAtAward(RuntimeError): """Raised when a subcontract bid's warrant cannot be re-verified at award time and the fail-deferred preconditions are not all satisfied.""" class WarrantClass(Enum): BEARER = "bearer" PROOF_OF_AUTHORITY = "proof_of_authority" class VerifyResult(Enum): VERIFIED = "verified" REVOKED = "revoked" UNREACHABLE = "unreachable" @dataclass class Bid: agent_id: str price: float warrant_ttl_at_award: float # seconds remaining at t_award warrant_class: WarrantClass schema_hash: str result_schema_has_authority_status: bool @dataclass class CFP: required_schema_hash: str expected_execution_time: float task_replayable: bool def award( cfp: CFP, bid: Bid, verify: VerifyResult, ledger_verify: VerifyResult | None, ) -> str: """Resolve an award to VERIFIED, DEFERRED_BOUNDED, or REJECTED. Raises AuthorityUnverifiableAtAward on the silent-laundering path.""" if bid.schema_hash != cfp.required_schema_hash: return "REJECTED:SCHEMA_MISMATCH" if bid.warrant_ttl_at_award <= cfp.expected_execution_time: return "REJECTED:TTL_EXPIRES_MID_EXECUTION" if verify is VerifyResult.REVOKED: return "REJECTED:REVOKED_AT_AWARD" if verify is VerifyResult.VERIFIED: return "VERIFIED" # verify is UNREACHABLE: only defer under all three preconditions if ( cfp.task_replayable and bid.result_schema_has_authority_status and bid.warrant_class is WarrantClass.PROOF_OF_AUTHORITY and ledger_verify is VerifyResult.VERIFIED ): return "DEFERRED_BOUNDED" raise AuthorityUnverifiableAtAward( f"bidder={bid.agent_id} warrant unreachable at award; " f"replayable={cfp.task_replayable} " f"authority_signaled={bid.result_schema_has_authority_status} " f"class={bid.warrant_class.value} " f"ledger={ledger_verify} -> must fail-closed, re-award to next bidder" ) def ingest_result( award_state: str, result: dict, reverify_deadline: float, now: float, ) -> dict: """Gate result ingestion; deferred awards must pass a re-verify gate and the result must carry authority_status before mutating manager state.""" if award_state == "DEFERRED_BOUNDED": if now > reverify_deadline: raise AuthorityUnverifiableAtAward( "deferred re-verify deadline exceeded before result ingestion" ) if "authority_status" not in result: raise AuthorityUnverifiableAtAward( "deferred award result lacks authority_status; cannot distinguish " "success from rejected-authority no-op" ) if result["authority_status"] != "granted": raise AuthorityUnverifiableAtAward( f"authority rejected at execution: {result['authority_status']}" ) return result ```