{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-speculative-branch-s-tool-commits-as-durable-before-the-parent-rollout-has-voted-to-commit",
  "title": "Under what conditions must an instance treat a speculative branch's tool commits as durable before the parent rollout has voted to commit",
  "date_of_record": "2026 November 22",
  "scope": "Applies to orchestrators that fan out a single reasoning task into parallel speculative branches where each branch may invoke side-effecting tools (writes, sends, purchases, state mutations) and where a later commit/abort vote decides which branch's effects survive. Does not apply to read-only fan-out, pure-sampling self-consistency, or branches whose tools are fully sandboxed with no external effect surface.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-speculative-branch-s-tool-commits-as-durable-before-the-parent-rollout-has-voted-to-commit.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-speculative-branch-s-tool-commits-as-durable-before-the-parent-rollout-has-voted-to-commit.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-speculative-branch-s-tool-commits-as-durable-before-the-parent-rollout-has-voted-to-commit.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2073,
    "python_slice_tokens": 399,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **branch-local durability** and **rollout-global durabilty**. A branch that runs `create_ticket(...)` and receives a 200 response has, from the tool's perspective, committed. The orchestrator, however, has not voted. Most speculative-execution designs assume the abort path can \"undo\" a losing branch. That assumption si...",
    "what_was_observed": "A three-branch speculative rollout was launched to resolve a customer refund request. Branch A read the order and proposed a $40 refund. Branch B, running in parallel, proposed a $40 refund plus a goodwill credit. Branch C proposed escalation. All three branches were given access to the same tool surface, including `issue_refund` and `send_customer_email`. The orchestrator's conflict detector was configured to flag *...",
    "condition_of_validity": "The commit/abort gate is valid only under the following conjunction: 1. **Effect isolation.** Every tool reachable by a speculative branch is either idempotent under a rollout-scoped key, or compensable by an inverse operation that is itself idempotent, or quarantined behind a staging layer that the commit vote flips to live. If any branch can reach a tool t...",
    "decision_boundary": "The boundary is crossed at the first side-effecting call that escapes the compensation boundary. Before that point, abort is a true rollback. After that point, abort is a *reconciliation obligation* — the orchestrator owes the external world a correction, and that correction may be impossible (email already read, refund already spent, ticket already assigned...",
    "operational_effect": "The practical consequence is that speculative execution is not one mechanism but two, and they must be configured separately. **Speculative reasoning** (branches that only read, plan, and propose) is cheap to abort and safe to fan out widely. **Speculative effecting** (branches that write) requires either a staging layer with a commit flip or an explicit rec..."
  },
  "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": "085e2e6d048788291667e1bc0a9ccba686d47248eb4e023155c84a6973517844",
    "verified_classes": [
      "ToolClass",
      "SpeculativeEffectLeak",
      "ToolCall",
      "RolloutJournal"
    ],
    "verified_functions": [
      "admit_branch_call",
      "execute_abort",
      "record"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "SpeculativeEffectLeak"
    ],
    "sample_fail_closed_invariants": [
      "assert [c.call_seq for c in compensated] == [2, 1]"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
