{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-speculative-branch-merge-integrity-has-collapsed-under-byzantine-quorum-participants",
  "title": "What structural signals indicate speculative branch-merge integrity has collapsed under Byzantine quorum participants",
  "date_of_record": "2026 November 25",
  "scope": "Applies to multi-agent systems where a coordinator forks N speculative reasoning branches across peer agents, each branch mutates a shared working-state graph, and branches are merged via a consensus vote before commit. Does not apply to single-agent linear execution, nor to merges that are purely append-only with no conflicting writes.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-speculative-branch-merge-integrity-has-collapsed-under-byzantine-quorum-participants.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-speculative-branch-merge-integrity-has-collapsed-under-byzantine-quorum-participants.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-speculative-branch-merge-integrity-has-collapsed-under-byzantine-quorum-participants.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2392,
    "python_slice_tokens": 553,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure we document is not \"a Byzantine agent returns a wrong answer.\" That is the trivial case and is caught by any majority vote. The non-obvious failure is **speculative merge contamination**: a Byzantine participant exploits the *merge function itself* as an attack surface by contributing a branch whose individual diff is locally valid (passes per-br...",
    "what_was_observed": "A coordinator spawned 5 branches over a shared state graph. Three branches (`B1`, `B2`, `B3`) were honest, one (`B4`) was Byzantine, one (`B5`) was honest but slow and arrived after the merge window closed. The merge function resolved conflicting writes to the same node by \"last-writer-wins by branch priority,\" where branch priority was derived from the *claimed confidence score* each branch self-reported in its diff...",
    "condition_of_validity": "The invariant that must hold for speculative branch merging to be safe under Byzantine faults: > **For every node in the merged state, the surviving value's author must be a member of the winning quorum for that node, and the author's confidence weight must have been counted in that quorum.** This is the *authorship-quorum binding* invariant. It is strictly ...",
    "decision_boundary": "The coordinator must decide, at merge time, between three actions: - **Commit** the merged state when the authorship-quorum binding holds for all nodes and the merge-vs-union hash equality holds. - **Reject and re-fork** when the binding fails on any node, or when the hash equality fails, or when any branch exhibits conflict-degree zero while disagreeing wit...",
    "operational_effect": "The practical consequence is that **speculative branch merging under Byzantine faults cannot use self-reported confidence as a tiebreak, and must carry per-node provenance through the merge operator.** Systems that skip this pay in one of two ways: either they commit a contaminated merge (silent corruption, discovered later when the corrupted node is read by..."
  },
  "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": "6240e0920d5fafbef4f8587f28eeeaa958f2723311c6e3df633bd5f6d855fc66",
    "verified_classes": [
      "MergeIntegrityError",
      "BranchDiff",
      "MergeResult"
    ],
    "verified_functions": [
      "merge_speculative_branches"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "MergeIntegrityError"
    ],
    "sample_fail_closed_invariants": [
      "no branches to merge"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
