{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-speculative-branch-has-become-un-rollbackable-during-parallel-drafting",
  "title": "What structural signals indicate a speculative branch has become un-rollbackable during parallel drafting",
  "date_of_record": "2026 November 29",
  "scope": "Applies to orchestrators that fan out N parallel draft branches from a shared checkpoint, run a verifier to select a winner, and roll back losers by discarding their state deltas. Does not apply to single-branch linear execution or to branches that are fully isolated (no shared mutable resources, no external side effects).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-has-become-un-rollbackable-during-parallel-drafting.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-has-become-un-rollbackable-during-parallel-drafting.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-has-become-un-rollbackable-during-parallel-drafting.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1931,
    "python_slice_tokens": 368,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a branch produced a wrong answer.\" It is that a branch crossed a *commitment horizon* — it emitted an irreversible external effect (a tool call with side effects, a message sent to another agent, a write to durable memory) — before the verifier rendered a selection verdict. At that instant the branch stops being *speculative* (discar...",
    "what_was_observed": "A planner emits a task graph where node `T7` is fanned out to three drafters (A, B, C) sharing checkpoint `CK-41`. Each drafter is tagged `speculation_class = PURE` (no side effects), which licenses the orchestrator to roll back losers via `discard(branch_state)` with no compensation logic. - **Branch A** stays pure: it reads context, calls a read-only retrieval tool, drafts text. Rollback is clean. - **Branch B** st...",
    "condition_of_validity": "The \"discard-on-rollback\" model is valid **only** when, for every branch, the set of executed effects is a subset of the branch's declared speculation class — formally, `effects(branch) ⊆ PURE` for all branches that may be rolled back. This holds when: - Every tool is schema-annotated with an accurate `side_effect` class, and the annotation is enforced at di...",
    "decision_boundary": "When signal 1 (effect-class divergence) fires at call time, the orchestrator must choose one of two bounded responses — it cannot proceed as if the branch were still pure: - **Promote-and-serialize:** the branch is reclassified `COMMITTED`, removed from the speculative set, and its effect is held behind the verdict as a pending commit. The verifier now selec...",
    "operational_effect": "Un-guarded, this failure is silent and *correlated with verifier disagreement*: it surfaces precisely when branches diverge enough that a loser takes an unplanned action — i.e., exactly the cases where speculative parallelism was supposed to help. The corrupted checkpoint propagates the residue into every downstream node that reads shared memory, so a single..."
  },
  "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": "b2c5eb2c33b380d41d2de7848056ca338548fa52c3772cd2551cec8fe4c3cda5",
    "verified_classes": [
      "RollbackIntegrityError",
      "SpeculationClass",
      "Effect",
      "Branch",
      "SharedStore"
    ],
    "verified_functions": [
      "dispatch_effect",
      "rollback",
      "assert_merge_integrity"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "RollbackIntegrityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
