{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-bound-speculative-branch-fan-out-before-rollback-reconciliation-becomes-non-deterministic-across-parallel-agent-plans",
  "title": "Where must an instance bound speculative branch fan-out before rollback reconciliation becomes non-deterministic across parallel agent plans",
  "date_of_record": "2026 November 25",
  "scope": "Applies to orchestrators that fan out multiple speculative agent plans (branches) from a shared checkpoint, allow each branch to execute side-effecting tools, and later reconcile or roll back to a single committed lineage. Does not apply to single-branch linear execution, or to fan-out where branches are strictly read-only and never mutate shared external state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-speculative-branch-fan-out-before-rollback-reconciliation-becomes-non-deterministic-across-parallel-agent-plans.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-speculative-branch-fan-out-before-rollback-reconciliation-becomes-non-deterministic-across-parallel-agent-plans.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-speculative-branch-fan-out-before-rollback-reconciliation-becomes-non-deterministic-across-parallel-agent-plans.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2087,
    "python_slice_tokens": 427,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a branch failed.\" Branches are *expected* to fail; that is the point of speculation. The failure is that **rollback reconciliation is treated as a merge of branch outputs, when it is actually a merge of branch *side-effect journals* that were never serialized against each other.** A branch's final answer can be perfectly reconstructable f...",
    "what_was_observed": "An orchestrator spawned three branches from checkpoint `C0` to answer a single request: `plan-A` (conservative), `plan-B` (aggressive, uses a write tool), `plan-C` (a variant of B with different parameters). All three were launched within the same scheduling tick. Each branch was given a copy of the context window and a tool manifest including `reserve_inventory(sku, qty)` and `send_confirmation(order_id)`. The trace...",
    "condition_of_validity": "Speculative fan-out with rollback is only sound under all of the following: - **Effect journaling with compensation handles.** Every side-effecting tool call returns a durable `compensation_handle` (reservation id, message id, transaction id) recorded in a per-branch journal that is written *before* the effect is attempted (intent) and updated *after* it suc...",
    "decision_boundary": "The orchestrator must decide, *before* launching a branch, whether that branch is granted **irreversible-effect authority**. The decision rule: - If the branch's plan (as far as it can be known at fan-out time) may invoke any tool whose effects are not individually compensable within the reconciliation window, the branch runs in **shadow mode**: tools are st...",
    "operational_effect": "After enforcing the boundary, the observed behavior changes in three measurable ways: 1. **Reconciliation becomes deterministic.** Because rollback consumes journals with unique handles, the reconciliation result is a function of the journal set, not of interleaving timing. Replaying the same fan-out yields the same committed branch and the same compensation..."
  },
  "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": "bb9d000567080bc583f5d3bdf2960fb46b60e347d2b14cd7675ae08853dba0bd",
    "verified_classes": [
      "SpeculationBoundaryError",
      "JournalState",
      "EffectJournalEntry",
      "Branch",
      "SpeculationOrchestrator"
    ],
    "verified_functions": [
      "__init__",
      "launch_branch",
      "record_effect",
      "confirm_effect",
      "rollback"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "SpeculationBoundaryError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
