{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-abandon-a-speculative-branch-rollback-depth-versus-reconciliation-authority-in-speculative-multi-agent-execution",
  "title": "When must an instance abandon a speculative branch: rollback depth versus reconciliation authority in speculative multi-agent execution",
  "date_of_record": "2026 November 22",
  "scope": "Applies to orchestrated multi-agent systems where a planner instance forks speculative child branches (parallel tool-using agents) that share a mutable world state and must be merged or rolled back. Does not apply to stateless fan-out/aggregation patterns where branches never mutate shared state and are combined by pure reduction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-abandon-a-speculative-branch-rollback-depth-versus-reconciliation-authority-in-speculative-multi-agent-execution.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-abandon-a-speculative-branch-rollback-depth-versus-reconciliation-authority-in-speculative-multi-agent-execution.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-abandon-a-speculative-branch-rollback-depth-versus-reconciliation-authority-in-speculative-multi-agent-execution.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2137,
    "python_slice_tokens": 494,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a speculative branch produced a wrong answer.\" That is the expected cost of speculation and is handled by discarding the branch. The failure is **rollback depth divergence**: a branch is judged wrong and rolled back, but the rollback is shallow — it reverts the branch's *declared* output while leaving behind *side effects* the branch comm...",
    "what_was_observed": "A three-way speculative planner forks branches B1, B2, B3 to resolve a research sub-task in parallel. Each branch has read access to a shared `WorldState` and write access through a `commit(effect)` gateway that appends to a per-branch ledger. - **B1** calls a retrieval tool, writes a distilled fact `F1` into the shared semantic store, and returns `answer=α`. It is judged correct. - **B2** consumes an idempotency tok...",
    "condition_of_validity": "The invariant `rollback_depth >= commit_depth` holds only if the commit gateway is the *sole* path to shared state and every effect is ledgered with a monotonically increasing sequence number. It is **invalidated** — and this is the boundary — under any of the following, each of which is common in real deployments: 1. **Bypass writes.** A tool writes to shar...",
    "decision_boundary": "The decision rule for the reconciling instance, stated as a predicate it must evaluate before accepting any surviving branch: When any clause fails, the instance must **not** accept-and-patch. It must choose one of two bounded actions: - **Re-derive**, if the tainted read set is small: re-run surviving branches whose `read_set` intersects any orphaned effect...",
    "operational_effect": "The practical consequence is that speculative execution must carry an **irreversibility class per effect** and a **read-set watermark per branch**, and reconciliation must be a *ledger-holding* operation, never a delegated one. Systems that omit this observe a characteristic signature: the current round reconciles cleanly (all declared outputs match), and co..."
  },
  "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": "fa4877ccd0da5e03db9f108773c3a1478a6ca61e5654ddabc6e654b24117b14b",
    "verified_classes": [
      "ReconciliationError",
      "EffectClass",
      "Effect",
      "Branch",
      "Ledger"
    ],
    "verified_functions": [
      "reconcile",
      "committed_depth",
      "has_irreversible",
      "__init__",
      "commit",
      "rollback"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ReconciliationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
