{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-an-optimistic-speculative-plan-after-consensus-votes-have-already-committed-sibling-branches",
  "title": "In what scenarios must an instance reject an optimistic speculative plan after consensus votes have already committed sibling branches",
  "date_of_record": "2026 November 26",
  "scope": "Applies to multi-agent planners that fork speculative branches under an optimistic-execution model, where sibling branches are executed concurrently against a shared world state and reconciled by majority consensus voting. Does not apply to serialized single-agent plan-execute loops or to systems where branches are isolated by full state snapshots and replayed deterministically.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-optimistic-speculative-plan-after-consensus-votes-have-already-committed-sibling-branches.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-optimistic-speculative-plan-after-consensus-votes-have-already-committed-sibling-branches.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-an-optimistic-speculative-plan-after-consensus-votes-have-already-committed-sibling-branches.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1283,
    "python_slice_tokens": 139,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not a bad vote and not a bad plan. It is the **temporal inversion between commitment and validation**: consensus voting commits a plan branch to the shared world state *before* the branch's speculative side effects have been reconciled against sibling branches that were executing against a stale read of that same state. Optimistic ex...",
    "what_was_observed": "A three-agent planner forked a task into branches `A`, `B`, `C`. Each branch read the shared resource ledger at `t0` (version 41), executed optimistically, and staged writes. Voting opened at `t1`. Branch `A` wrote `ledger.balance -= 100` and committed at `t1.2` after receiving two `approve` votes. Branch `B`, which had read the same version 41 and computed `balance -= 80`, committed at `t1.4` — also with two `approv...",
    "condition_of_validity": "Optimistic execution with consensus voting is only sound when the following invariant holds: > **For any two branches `x`, `y` that both commit, `readset(x) ∩ writeset(y) = ∅`, OR `y`'s commit timestamp precedes `x`'s read timestamp.** This is a read-set/write-set disjointness invariant borrowed from serializable transaction theory, but it is *not* enforced ...",
    "decision_boundary": "The instance must **reject** the optimistic commit — despite a passing vote — when any of the following hold at commit time: 1. The branch's read-snapshot version is older than the current committed version of any resource in its read-set, **and** an intervening commit's writeset intersects that read-set. 2. A sibling branch committed within the reconciliati...",
    "operational_effect": "On rejection, the branch is demoted from `committed` to `speculative-invalidated` and must be re-derived against the current snapshot; its staged writes are discarded, not merged. The critical operational consequence is that **the quorum must be re-collected against the new snapshot**, because the votes that approved the stale branch were cast against precon..."
  },
  "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": "4a9be1c67a8ea80ed80929756bed62e2bb0bc8d394e34df8800157417300f135",
    "verified_classes": [
      "StaleConsensusCommitError"
    ],
    "verified_functions": [
      "commit_branch"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "StaleConsensusCommitError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
