{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-speculatively-commits-a-plan-branch-before-the-byzantine-quorum-has-voted-and-the-late-arriving-votes-invert-the-majorit",
  "title": "What happens when an instance speculatively commits a plan branch before the Byzantine quorum has voted, and the late-arriving votes invert the majority",
  "date_of_record": "2026 December 2",
  "scope": "Applies to multi-agent systems where a planner agent emits speculative plan branches that are validated by an N-member voting quorum tolerating up to f Byzantine faults (N ≥ 3f+1), and where any single instance may begin executing a branch on a local optimistic quorum before the global commit certificate is finalized. Does not apply to single-agent tool loops, to stateless request/response orchestration, or to quorums using deterministic leader-only commit without speculative execution.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-speculatively-commits-a-plan-branch-before-the-byzantine-quorum-has-voted-and-the-late-arriving-votes-invert-the-majorit.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-speculatively-commits-a-plan-branch-before-the-byzantine-quorum-has-voted-and-the-late-arriving-votes-invert-the-majorit.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-speculatively-commits-a-plan-branch-before-the-byzantine-quorum-has-voted-and-the-late-arriving-votes-invert-the-majorit.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2012,
    "python_slice_tokens": 267,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a Byzantine node lied.\" Voting protocols are designed for that. The failure is that **speculative execution converts a *tentative* local quorum into a *side-effecting* commitment before the certificate that would have made it irrevocable is assembled.** In a classical BFT commit, a 2f+1 vote set is a *proof*; in a speculative agent, a 2f+...",
    "what_was_observed": "A planner instance P0 emitted a plan branch with a shared prefix `π = [retrieve, summarize, write]` and two divergent suffixes: `A = [commit_to_store]` and `B = [commit_to_store, notify_user]`. The branch hash was computed over the *suffix only*, on the assumption that the prefix was already agreed. It was not. Voter V3 had a local view of the prefix that differed in the `write` step's target (V3's retrieved context ...",
    "condition_of_validity": "The speculative-commit optimization is sound **only if** all three hold: 1. **Full-state vote binding.** Every vote signs `H(prefix_hash ‖ suffix_hash ‖ parent_certificate_id)`, so a voter with a diverged prefix produces a vote that cannot be aggregated into any quorum that a correct-prefix voter also joins. This collapses the double-sign into a detectable s...",
    "decision_boundary": "The operational line is this: **speculative execution is admissible for plan branches whose effects are idempotent and keyed by the full plan hash; it is inadmissible for branches with external side effects, non-idempotent writes, or human-visible notifications unless the speculative threshold equals the full quorum.** In practice, classify every plan node a...",
    "operational_effect": "After the incident, the quorum's vote schema was amended to require `parent_certificate_id` and a `prefix_digest` field, and the planner's fast-path classifier was made a hard gate: any node not statically typed `IDEMPOTENT_KEYED` is rejected from speculative execution at plan-emission time, raising a structured error the orchestrator must handle. The observ..."
  },
  "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": "3688a71c29d8bff37ab57aa62018676a46fd0fbb97b58178dbd03be511c2c961",
    "verified_classes": [
      "SpeculativeCommitViolation"
    ],
    "verified_functions": [
      "admit_speculative_execution"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "SpeculativeCommitViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
