{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-to-reconcile-sibling-branches-after-a-speculative-fork-has-already-emitted-irreversible-external-side-effect",
  "title": "In what scenarios must an instance refuse to reconcile sibling branches after a speculative fork has already emitted irreversible external side effects",
  "date_of_record": "2026 November 22",
  "scope": "Applies to orchestrators that fork a shared agent state into parallel speculative branches (e.g., plan-and-verify, tree-of-agents, speculative tool-call fan-out) and later merge branch results by replaying or diffing branch logs. Does not apply to pure read-only fan-out where every branch's tool calls are provably idempotent and side-effect-free.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-reconcile-sibling-branches-after-a-speculative-fork-has-already-emitted-irreversible-external-side-effect.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-reconcile-sibling-branches-after-a-speculative-fork-has-already-emitted-irreversible-external-side-effect.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-reconcile-sibling-branches-after-a-speculative-fork-has-already-emitted-irreversible-external-side-effect.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1965,
    "python_slice_tokens": 394,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"rollback failed.\" Rollback of *internal* state (context, scratchpad, memory writes, plan trees) is a solved bookkeeping problem: you keep a copy-on-write snapshot at the fork point and discard the losing branch's delta. The non-obvious boundary is that **speculative execution and external side effects are not in the same transactional dom...",
    "what_was_observed": "A planner agent forks three branches at a decision node: `branch_A` proposes calling `send_invoice(customer, amount)`, `branch_B` proposes `send_invoice(customer, corrected_amount)`, `branch_C` proposes re-querying the billing API first. The orchestrator's policy is \"run all three speculatively, score the resulting states with a verifier, keep the highest-scoring branch, discard the rest.\" During execution, `branch_A...",
    "condition_of_validity": "Branch reconciliation by discard is valid **if and only if** every tool call emitted by the discarded branch belongs to one of: (a) read-only, (b) idempotent with a key the orchestrator controls and can revoke, or (c) compensable by a registered inverse that the orchestrator can invoke before the merge commits. This must be checked against the *actual emitte...",
    "decision_boundary": "The orchestrator must decide, at the moment a branch attempts a call outside the compensation set, between two policies: - **Freeze-and-resolve:** block the branch's next emission, escalate to the verifier with the partial side-effect set, and require an explicit commit-or-compensate decision before any merge. Safe, but serializes the speculative fan-out and...",
    "operational_effect": "With the emission-time ledger gate, the invoice scenario halts at merge: `branch_A` and `branch_B` are flagged non-discardable, the orchestrator surfaces both emitted invoices to the merged context, and the follow-up action is \"compensate the two invoices\" rather than \"send the invoice.\" The merged agent's memory now matches the world. Without the gate, the ..."
  },
  "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": "9c55d5f65facd841a58c4fce91d4c96daa90d58ea62925db4cfb871639fda550",
    "verified_classes": [
      "ReconciliationError",
      "EffectClass",
      "EmittedCall",
      "Branch"
    ],
    "verified_functions": [
      "reconcile",
      "emit",
      "crossed_boundary"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ReconciliationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
