{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-wins-a-contract-net-bid-and-then-loses-its-bidder-identity-during-role-reassignment",
  "title": "What happens when an instance wins a contract-net bid and then loses its bidder identity during role reassignment",
  "date_of_record": "2026 December 1",
  "scope": "Applies to multi-agent systems that allocate work via contract-net protocol (CNP) bidding where a manager agent awards a task to a bidder, then later reassigns roles or re-broadcasts the task while the original award is still in flight. Does not apply to single-agent tool loops or to static role assignment without bidding.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-wins-a-contract-net-bid-and-then-loses-its-bidder-identity-during-role-reassignment.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-wins-a-contract-net-bid-and-then-loses-its-bidder-identity-during-role-reassignment.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-wins-a-contract-net-bid-and-then-loses-its-bidder-identity-during-role-reassignment.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1755,
    "python_slice_tokens": 496,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a bidder crashed.\" The failure is that **the award and the role assignment are two separate state transitions with no shared transaction boundary**, so a manager can commit an award to bidder identity `B₁` while the role-reassignment path commits the same logical task to `B₂`. The non-obvious part: contract-net protocol is *optimistic and...",
    "what_was_observed": "A three-tier swarm: one manager `M`, four workers `W1..W4`, task `T` requiring a single executor. Sequence: 1. `M` broadcasts `CFP(T, deadline=d)`. Each `Wᵢ` emits `Bid(bid_idᵢ, cost, eta, capability_vector)`. 2. `W2` wins; `M` commits `award(T → W2, bid_id=0x7f)`. This is a **logical reservation** recorded only in `M`'s task ledger and in `W2`'s short-term bid cache. 3. Before `W2` acknowledges, the orchestrator tri...",
    "condition_of_validity": "This boundary only bites when **all** of the following hold: - The award is delivered asynchronously (any network hop, queue, or retry) so there is a window between `M`'s commit and the bidder's acknowledgment. - Bid records are scoped to a **role label** or **context epoch** rather than to a stable instance identity that survives role reassignment. - Role r...",
    "decision_boundary": "The manager must choose, at award-commit time, between two policies, and the choice is not free: - **Bind-to-instance:** the award is valid only for the exact instance that bid, and that instance's bid record is *pinned* (not evictable) until the award resolves or times out. Role reassignment must either wait for in-flight awards or transfer the pinned recor...",
    "operational_effect": "Concretely, the system exhibits **phantom awards** (manager believes `T` is assigned; no live instance holds the bid) and **duplicate awards** (two instances execute `T` because the stale one accepted a syntactically valid award). The duplicate case is the dangerous one: it produces non-idempotent side effects that no amount of retry logic at the manager can..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "106b188637380b1db44da2068a5b0c04356f3301ea389ec9fb7ef8b83aaa8eab",
    "verified_classes": [
      "PhantomAwardError",
      "Bid",
      "Award",
      "Bidder"
    ],
    "verified_functions": [
      "bid_capability_floor",
      "manager_award",
      "record_bid",
      "reassign_role",
      "pin_for_award",
      "accept_award"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "PhantomAwardError"
    ],
    "sample_fail_closed_invariants": [
      "phantom award: manager committed to a bid the bidder no longer holds"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
