{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-speculative-branch-reconciliation-has-silently-collapsed-into-divergent-replay",
  "title": "What structural signals indicate speculative branch reconciliation has silently collapsed into divergent replay",
  "date_of_record": "2026 November 30",
  "scope": "Applies to multi-agent systems that execute speculative parallel branches (tentative tool calls, draft plans, pre-computed side effects) against a shared checkpointed state and later reconcile them via rollback-and-replay. Does not apply to single-agent linear execution or to systems where branches are truly isolated until commit.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-speculative-branch-reconciliation-has-silently-collapsed-into-divergent-replay.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-speculative-branch-reconciliation-has-silently-collapsed-into-divergent-replay.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-speculative-branch-reconciliation-has-silently-collapsed-into-divergent-replay.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2074,
    "python_slice_tokens": 423,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways a speculative branch can \"succeed\" and be merged back into the canonical state: **convergent reconciliation** (the branch re-derived the same post-conditions from the same checkpoint that the canonical path would have produced) and **divergent replay** (the branch produced state that is locally consistent, passes its own assertions, and me...",
    "what_was_observed": "A planner agent forked three speculative branches from checkpoint `C_k` to accelerate a multi-tool task (branch A: fetch + summarize, branch B: fetch + transform, branch C: validate). Each branch ran its own tool calls with a per-branch `temperature=0.7` and a 90-second timeout. Branch B's upstream `fetch` tool returned a paginated response that, on that particular invocation, included a `next_cursor` field the canon...",
    "condition_of_validity": "The convergent-reconciliation claim is valid only when all of the following hold. If any is violated, a clean merge is not evidence of convergence: - **Response-hash equality, not ID equality.** Every tool output consumed by a branch must be matched to the canonical ledger by cryptographic hash of the full response body, not by call identifier. A branch that...",
    "decision_boundary": "The boundary is between *structural well-formedness* and *replay equivalence*. A merge gate that checks only the former will commit divergent states at a rate proportional to the non-determinism of the tool layer and the branching factor of the speculation. The decision rule: - If `hash(branch_tool_response) == hash(ledger_tool_response)` for every consumed ...",
    "operational_effect": "The practical consequence is that speculative execution buys latency at the cost of making reconciliation *unfalsifiable* unless provenance is pinned eagerly. The bound that must be enforced architecturally is: **no branch may consume a tool output that is not already hash-pinned in the shared ledger at the moment of consumption.** This forces the fetch step..."
  },
  "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": "bb00f0914ce2ea63c328782e796fd444eaeda506bd8e9a74023cce52bedecb87",
    "verified_classes": [
      "DivergentReplayError",
      "LedgerMissingResponseError",
      "ToolResponse",
      "SpeculativeBranch",
      "SharedLedger"
    ],
    "verified_functions": [
      "reconcile_branch",
      "run_speculation",
      "response_hash",
      "pin",
      "contains"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "DivergentReplayError",
      "LedgerMissingResponseError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
