{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-abandon-a-speculative-branch-that-has-already-been-byzantine-committed-by-a-quorum-the-orphaned-commit-invariant-in-branch-and-p",
  "title": "When must an instance abandon a speculative branch that has already been Byzantine-committed by a quorum: the orphaned-commit invariant in branch-and-prune multi-agent planning",
  "date_of_record": "2026 November 29",
  "scope": "Applies to multi-agent planners where worker instances execute speculative plan branches concurrently and a validator quorum (Byzantine fault-tolerant, f ≥ 1) commits branch outcomes to a shared, ordered log. Does not apply to single-agent speculative decoding, to plans with no committed side effects, or to systems where branch outcomes are advisory-only and never gate downstream execution.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-abandon-a-speculative-branch-that-has-already-been-byzantine-committed-by-a-quorum-the-orphaned-commit-invariant-in-branch-and-p.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-abandon-a-speculative-branch-that-has-already-been-byzantine-committed-by-a-quorum-the-orphaned-commit-invariant-in-branch-and-p.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-abandon-a-speculative-branch-that-has-already-been-byzantine-committed-by-a-quorum-the-orphaned-commit-invariant-in-branch-and-p.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2652,
    "python_slice_tokens": 556,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a consensus failure and not a planning failure—it is a **temporal ordering failure between two independent quorums operating over the same branch**. In branch-and-prune planning, a *speculative executor* races multiple branches and prunes losers as soon as a winner is locally observed. Separately, a *Byzantine validator quorum* assigns a g...",
    "what_was_observed": "A three-worker planner (W1, W2, W3) with a validator quorum of 5 (tolerating f=1 Byzantine) was executing a fan-out plan with two mutually exclusive branches: `B_alpha` (deploy config A) and `B_beta` (deploy config B). Both branches were speculatively launched. Local execution latency of `B_alpha` was ~340ms; `B_beta` was ~610ms. 1. `B_alpha` completes first. W1 observes completion and, per the executor's prune polic...",
    "condition_of_validity": "The invariant \"emit side effects only after a branch is committed\" is necessary but **not sufficient**. The sufficient condition is: > An instance may emit an external side effect for branch `b` only when it holds a commit certificate for `b` with sequence number `s`, **and** it has observed commit-certificate continuity for all sequence numbers `< s` (i.e.,...",
    "decision_boundary": "The boundary is the moment an instance must choose between **acting on local evidence** and **waiting for ordered evidence**. The decision rule: - **Act immediately (prune + emit)** is safe only for branches whose side effects are *reversible within the commit window* or *idempotent under reordering*. For these, the orphaned-commit cost is a wasted write, no...",
    "operational_effect": "The downstream effects are concrete and recur: 1. **Replay divergence.** Verification replay compares committed order (B then pruned-A) against physical side-effect order (A then B). Honest nodes are flagged as faulty because the replay model assumes side effects follow commit order. This burns audit budget and, worse, can trigger false slashing in systems w..."
  },
  "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": "fc4c1ce7d478cec2c8e3f6fdd83aba6816d23d20c22698db3805a268f658e9c8",
    "verified_classes": [
      "OrphanedCommitError",
      "CommitGapError",
      "Certificate",
      "EmitRecord",
      "SpeculativeExecutor"
    ],
    "verified_functions": [
      "run_speculative_branch",
      "_required_sigs",
      "observe",
      "_is_winner",
      "emit"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "CommitGapError",
      "OrphanedCommitError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
