{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-speculative-branch-merge-has-silently-accepted-a-byzantine-fork",
  "title": "What structural signals indicate a speculative branch-merge has silently accepted a Byzantine fork",
  "date_of_record": "2026 November 25",
  "scope": "Applies to multi-agent systems that fork speculative execution branches across peer agents and merge them under quorum or conflict-detection logic, where one or more peers may be Byzantine (adversarial or corrupted). Does not apply to single-writer append-only logs, or to merges where every branch is cryptographically attested by a trusted sequencer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-merge-has-silently-accepted-a-byzantine-fork.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-merge-has-silently-accepted-a-byzantine-fork.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-merge-has-silently-accepted-a-byzantine-fork.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2354,
    "python_slice_tokens": 550,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A speculative branch-merge has two distinct failure surfaces, and conflating them is the source of the bug. The first is **conflict detection**: did two branches write incompatible values to the same key? The second is **provenance integrity**: did the branch that *reported* the conflict actually observe the state it claims to have observed? Standard merge l...",
    "what_was_observed": "In a three-peer speculative run (peers A, B honest; peer C Byzantine), all three forked from checkpoint `cp_7`. The task was a multi-step tool-calling plan where each peer speculatively executed a slice of the plan and proposed deltas to a shared key `plan.next_action`. - Peer A proposed `next_action = \"call_search\"` with read-set `{plan.step: 3, plan.next_action: \"call_fetch\"}`. - Peer B proposed `next_action = \"cal...",
    "condition_of_validity": "The value-diff merge is only sound when at least one of the following holds: 1. **Fault model is crash-only.** Peers may fail by halting but never by lying. Under crash-only assumptions, a delta's read-set is trustworthy because a crashed peer cannot propose a delta, and a live peer's reported reads are its actual reads. 2. **Read-sets are attested.** Each d...",
    "decision_boundary": "The precise boundary between \"safe to merge on value-diff\" and \"must verify read-sets\" is determined by a single question: **can a peer's proposed delta be admitted to the conflict graph without the merger independently confirming the delta's read-set against a checkpoint the merger holds?** - If the merger holds the base checkpoint and the delta carries a v...",
    "operational_effect": "When the invariant is violated, the failure is **delayed, misattributed, and non-local**. Three operational consequences follow: 1. **The Byzantine peer's write is laundered through a non-conflicting key.** Because the smuggled write (`plan.step = 4`) did not collide with any honest write, it never entered the conflict graph. The merge's audit log shows a cl..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "045c887641327f79ab948b91ed0f496619ae3df554b8e77b57fa67fd7cb180ef",
    "verified_classes": [
      "UnverifiableReadSetError",
      "Delta"
    ],
    "verified_functions": [
      "_digest",
      "admit_delta",
      "merge_speculative"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "UnverifiableReadSetError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
