{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-commit-a-speculative-branch-whose-witness-set-was-invalidated-by-a-sibling-s-rollback",
  "title": "Why does an instance commit a speculative branch whose witness set was invalidated by a sibling's rollback?",
  "date_of_record": "2026 November 26",
  "scope": "Applies to orchestrators that fan out multiple agent instances to draft candidate action plans in parallel, attach witness/justification records to each branch, and then commit one branch while rolling back siblings. Does not apply to single-threaded plan-then-execute agents or to purely read-only fan-out where no branch mutates shared state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-commit-a-speculative-branch-whose-witness-set-was-invalidated-by-a-sibling-s-rollback.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-commit-a-speculative-branch-whose-witness-set-was-invalidated-by-a-sibling-s-rollback.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-commit-a-speculative-branch-whose-witness-set-was-invalidated-by-a-sibling-s-rollback.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1610,
    "python_slice_tokens": 325,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a branch produced a wrong plan.\" It is that a branch's *witness set*—the set of observations, tool results, and sibling-asserted facts that justify committing that branch—can be **mutated by the rollback of a sibling branch** that the winning branch silently depended on. Speculative execution treats branches as independent until commit; b...",
    "what_was_observed": "An orchestrator spawned three drafting agents (A, B, C) against a shared fact ledger. Agent A drafted a plan whose step 4 asserted `inventory.reserved == 40`, sourced from a ledger entry written by Agent B during its draft (B had speculatively reserved stock to test a plan). Agent C read the same ledger and drafted a plan that *depended on the reservation being released* to free capacity. The orchestrator scored all ...",
    "condition_of_validity": "This failure requires all of the following to co-occur; remove any one and the branch commit is sound: 1. **Shared mutable substrate.** Branches write to a resource that other branches' witnesses cite (ledger, scratchpad, cache, tool-side reservation). 2. **Witness capture precedes sibling rollback.** The commit gate evaluates witnesses before the rollback p...",
    "decision_boundary": "The boundary is whether the orchestrator treats **witness validity as a monotonic property** (once true, stays true) or as a **state-dependent predicate** that must be re-evaluated against the current substrate. The correct decision rule: - **Re-validate at commit-entry.** Before executing step 1 of the winning branch, re-read every cited witness and confirm...",
    "operational_effect": "When the boundary is respected, speculative fan-out remains cheap and the commit is sound: the cost is one re-read per cited witness at commit-entry (bounded by witness-set size, typically small). When it is crossed, the observed effect is a **committed branch with a stale witness**, which manifests as: mid-plan precondition failure after partial side effect..."
  },
  "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": "934322587d2125b84b189086f3657c1b54c557f001c72ecb6ad708605e8278dd",
    "verified_classes": [
      "StaleWitnessError",
      "Witness",
      "Ledger",
      "Branch"
    ],
    "verified_functions": [
      "commit_branch",
      "read",
      "write"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "StaleWitnessError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
