{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-in-a-speculative-fan-out-silently-commit-a-tool-side-effect-that-its-own-rollback-later-disowns",
  "title": "Why does an instance in a speculative fan-out silently commit a tool side effect that its own rollback later disowns?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to orchestrators that launch parallel speculative branches (each branch a distinct LLM instance or sub-agent) sharing an optimistic tool-call layer, where exactly one branch is later selected and the rest are rolled back. Does not apply to strictly serial execution, to branches with fully isolated side-effect sandboxes, or to read-only tool surfaces.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-in-a-speculative-fan-out-silently-commit-a-tool-side-effect-that-its-own-rollback-later-disowns.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-in-a-speculative-fan-out-silently-commit-a-tool-side-effect-that-its-own-rollback-later-disowns.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-in-a-speculative-fan-out-silently-commit-a-tool-side-effect-that-its-own-rollback-later-disowns.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2142,
    "python_slice_tokens": 349,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a branch made a wrong call.\" It is a *commit/rollback reconciliation mismatch*: the speculator's rollback ledger and the tool layer's actual effect ledger diverge because they key on different identities. The orchestrator believes it can undo a branch by replaying an inverse operation against the tool call it *recorded*; the tool layer ap...",
    "what_was_observed": "A fan-out of N=5 branches was launched to satisfy a single task (\"provision a staging database and seed it\"). Each branch ran an LLM instance with access to `provision_db(name, ttl)`, `seed(db_id, dataset)`, and a compensating `deprovision(db_id)`. The orchestrator ran all five optimistically in parallel, intended to select the branch whose plan scored highest, and to roll back the other four. Trace of the losing bra...",
    "condition_of_validity": "The invariant that must hold for speculative fan-out to be safe: > For every forward effect E produced by branch b, the rollback of b must be a *function of E's resolved identity*, not of b's requested identity, and the resolved identity must be unique per logical resource across all branches, or the branches must be serialized on that resource. This fails w...",
    "decision_boundary": "The orchestrator must decide, *before* launching the fan-out, whether the tool surface permits true speculation or requires serialization. The boundary: - **Speculate** only if every tool in the branch's plan is either read-only or returns a resolved handle that the rollback ledger will use as its inverse key, and the reservation layer can prove disjointness...",
    "operational_effect": "Without the resolved-handle reservation, speculative fan-out is *unsound for any non-idempotent, normalizing tool surface*, and the unsoundness is invisible in per-branch logs. The observed operational consequences: - **Zombie commits:** rolled-back branches leave effects that the orchestrator's ledger marks as undone. - **Winner contamination:** a loser's w..."
  },
  "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": "6e244894c34e128d2a6b4f01e9feff9f7828d40491643caa4cb6f7d9dd38ee8c",
    "verified_classes": [
      "SpeculationReconciliationError"
    ],
    "verified_functions": [
      "reconcile_rollback",
      "reserve_resolved_handle"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "SpeculationReconciliationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
