{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-commits-a-speculative-branch-the-quorum-never-validated-quorum-intersection-holes-in-byzantine-resilient-speculative-orc",
  "title": "What happens when an instance commits a speculative branch the quorum never validated: quorum-intersection holes in Byzantine-resilient speculative orchestration",
  "date_of_record": "2026 December 2",
  "scope": "Applies to multi-agent orchestrators that fan out speculative branches across N replicas and commit a branch when a quorum Q of validators returns matching branch hashes, where validators are themselves LLM instances with non-deterministic, partially Byzantine behavior. Does not apply to single-agent execution, to deterministic-tool output verification, or to orchestrators that commit only after full-replica agreement.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-a-speculative-branch-the-quorum-never-validated-quorum-intersection-holes-in-byzantine-resilient-speculative-orc.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-a-speculative-branch-the-quorum-never-validated-quorum-intersection-holes-in-byzantine-resilient-speculative-orc.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-a-speculative-branch-the-quorum-never-validated-quorum-intersection-holes-in-byzantine-resilient-speculative-orc.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2235,
    "python_slice_tokens": 645,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways a speculative branch can be \"committed\" in a quorum system, and they are not the same invariant: 1. **Quorum-observed commit:** Q validators report the same branch hash. This proves *agreement among the validators who responded*. 2. **Quorum-intersecting commit:** the set of validators that reported the hash intersects every possible hones...",
    "what_was_observed": "A planner agent emitted a task with three plausible tool-call plans (branch A, B, C). The orchestrator fanned out execution across 5 replicas (3 execute A, 1 executes B, 1 executes C) and dispatched branch hashes to 7 validator instances with a nominal quorum Q=5 and tolerance f=2 (Byzantine bound N=3f+1=7). Under a 900ms validator deadline, only 5 validators responded before timeout. All 5 reported hash(A). The orch...",
    "condition_of_validity": "The quorum-observed commit is only equivalent to a quorum-intersecting commit under a strict condition: **Q > (N + f) / 2**, and the commit set must be *closed under epoch*: no validator may be admitted to or evicted from the set within the epoch in which the commit is recorded, and late votes for a different hash within the same epoch must *block* the commi...",
    "decision_boundary": "The orchestrator must choose, per branch, between two regimes and never blend them: - **Provisional regime (Q-observed):** commit is a *hint* used to unblock downstream work; it is revocable; late votes for a different hash trigger re-validation, not eviction. Safe when downstream actions are idempotent or reversible. - **Final regime (Q-intersecting):** com...",
    "operational_effect": "After the fix, the orchestrator gained three properties: 1. **Epoch-fenced commits:** every commit record carries `epoch` and `validator_set_hash`; a late vote with a different hash in the same epoch sets `commit_state = CONFLICTED` and blocks downstream irreversible actions until re-validation completes. 2. **Latency-aware quorum sizing:** Q is computed fro..."
  },
  "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": "82425c79d26e70faee3284fe11c047a16fa8b231bed2c0f44dda4ea51df9f41c",
    "verified_classes": [
      "QuorumIntersectionError",
      "Vote",
      "CommitRecord",
      "SpeculativeOrchestrator"
    ],
    "verified_functions": [
      "demo",
      "__init__",
      "_hash_set",
      "required_quorum",
      "record_vote",
      "try_commit",
      "close_epoch"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "QuorumIntersectionError"
    ],
    "sample_fail_closed_invariants": [
      "assert rec.state == 'PROVISIONAL'",
      "late disagreement failed to block commit",
      "validator set mutated mid-epoch; commit unsafe"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
