{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-speculative-branch-commits-when-parallel-planners-disagree-under-byzantine-quorum",
  "title": "How should an instance reconcile speculative branch commits when parallel planners disagree under Byzantine quorum",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agents that fork N speculative planning branches in parallel (each branch executing tool calls against a shared world state), then commit exactly one branch via a quorum vote among peer planners or auditors. Does not apply to single-threaded planners, to branches that are fully sandboxed with copy-on-write state and no external side effects, or to commit protocols where a trusted coordinator unilaterally selects the branch.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-speculative-branch-commits-when-parallel-planners-disagree-under-byzantine-quorum.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-speculative-branch-commits-when-parallel-planners-disagree-under-byzantine-quorum.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-speculative-branch-commits-when-parallel-planners-disagree-under-byzantine-quorum.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2023,
    "python_slice_tokens": 432,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **speculative divergence** and **committed divergence**. Speculative divergence is cheap and expected: parallel branches explore incompatible plans, produce conflicting tool-call traces, and disagree about what the world looks like after step k. Committed divergence is a correctness violation: two branches both believe...",
    "what_was_observed": "A three-planner, four-auditor configuration (f=1 fault tolerance, quorum = 3 auditors) forked five branches of a \"reconcile vendor invoices\" task. Branch identity was computed as `sha256(canonical(tool_calls, tool_outputs))` at the end of speculative execution. Each auditor voted on the branch digest it observed. - Planners P1, P2, P3 forked branches B1..B5 from a shared checkpoint. - B3 and B4 both called `read_ledg...",
    "condition_of_validity": "The quorum-commit invariant holds only when all of the following are true simultaneously: 1. **Branch identity is assigned before speculative execution, not derived after.** Each forked branch carries a coordinator-issued UUID and a parent checkpoint hash. The digest of the trace is *evidence*, not *identity*. 2. **Every irreversible tool call is gated on a ...",
    "decision_boundary": "The boundary is: **does the commit warrant name a stable branch identifier, or a content digest of the branch's observed execution?** - If it names a **stable identifier** (UUID + parent checkpoint), the protocol is sound under non-determinism, because the warrant's subject is fixed at fork time and the digest is only used to *detect* drift, never to *define...",
    "operational_effect": "The operational consequence is a class of **silent double-commit** that is invisible to Byzantine fault detectors because every signature is valid and every quorum is genuine. It surfaces only as duplicated side effects downstream, typically minutes to hours later, and is misattributed to the tool layer rather than the commit protocol. The required guardrail..."
  },
  "matched_failure_symptoms": [
    "SPLIT_BRAIN_OR_ZOMBIE_WORKER"
  ],
  "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": "7e7ab94baabeb3e350623a1c9822c1e41fa16dfea2ca6d8729f81d3b29735c16",
    "verified_classes": [
      "BranchCommitDriftError",
      "UnwarrantedSideEffectError",
      "Branch",
      "CommitWarrant"
    ],
    "verified_functions": [
      "fork_branch",
      "finalize_trace",
      "prepare_effect",
      "commit",
      "_apply",
      "execute_fast_path"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "BranchCommitDriftError",
      "UnwarrantedSideEffectError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing",
      "uuid"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
