{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-bound-speculative-branch-fan-out-before-rollback-becomes-non-invertible-in-multi-agent-plan-divergence",
  "title": "Where must an instance bound speculative branch fan-out before rollback becomes non-invertible in multi-agent plan divergence",
  "date_of_record": "2026 November 26",
  "scope": "Applies to orchestration layers that spawn speculative agent branches from a shared checkpoint and commit one branch via rollback of the others. Does not apply to single-agent retry loops or to branches that share no mutable external state (pure read-only reasoning).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-speculative-branch-fan-out-before-rollback-becomes-non-invertible-in-multi-agent-plan-divergence.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-speculative-branch-fan-out-before-rollback-becomes-non-invertible-in-multi-agent-plan-divergence.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-speculative-branch-fan-out-before-rollback-becomes-non-invertible-in-multi-agent-plan-divergence.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1682,
    "python_slice_tokens": 375,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common mental model treats speculative branch-and-rollback as symmetric: N branches fork from checkpoint C, one wins, the losers are \"undone\" back to C. This is false when branches perform *external side effects* whose inverse is not a state write but a *compensating action* — and compensating actions are themselves probabilistic agent outputs. The criti...",
    "what_was_observed": "An orchestrator forked five branches from a shared checkpoint to resolve a customer-refund plan that had diverged on a tool-schema ambiguity (the `refund` tool accepted both `amount_cents` and `amount` with different units). Branch 2 committed a refund of 4999 (interpreted as cents, i.e. $49.99). Branch 4 committed a refund of 4999 interpreted as dollars. The conflict resolver, seeing divergence, selected branch 4's ...",
    "condition_of_validity": "Speculative fan-out with rollback is sound only under the conjunction of: 1. **Effect-log completeness:** every branch maintains an append-only, branch-scoped effect log written *before* the effect is emitted (write-ahead), containing the exact identifiers needed for compensation (transaction id, message id, idempotency key) — not reconstructible proxies lik...",
    "decision_boundary": "The boundary is crossed at the moment a branch emits its first external effect. Before that moment, fan-out is free: branch count is bounded only by token budget, and rollback is a deterministic context restore. After that moment, the branch is *not rollbackable*, only *compensable*, and compensation requires state the checkpoint does not contain. Concretely...",
    "operational_effect": "Systems that respect the boundary show a characteristic signature: rollback latency is proportional to effect-log length, not branch count, and rollback failures are localized (a single compensation retries) rather than global (a wrong transaction is reversed). Systems that violate it show the inverse: rollback appears instant (it is just a context restore),..."
  },
  "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": "015e82082bb5c944232908baa22cd3e4faaad22270e3ec09887064e074f042b7",
    "verified_classes": [
      "NonInvertibleRollbackError",
      "Branch"
    ],
    "verified_functions": [
      "rollback_branch",
      "fan_out",
      "__init__",
      "emit_effect"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "NonInvertibleRollbackError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
