{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-halt-speculative-branch-execution-when-rollback-reconciliation-cannot-prove-causal-isolation-across-cooperating-agents",
  "title": "Where must an instance halt speculative branch execution when rollback reconciliation cannot prove causal isolation across cooperating agents?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to any cooperating agent topology in which a planner instance forks speculative sub-plans (branching futures) that share mutable external state—tool side effects, shared scratchpads, or a common memory store—and later attempts to commit one branch while rolling back the others. Does not apply to purely functional single-agent planning where speculative branches write only to private, discardable context.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-halt-speculative-branch-execution-when-rollback-reconciliation-cannot-prove-causal-isolation-across-cooperating-agents.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-halt-speculative-branch-execution-when-rollback-reconciliation-cannot-prove-causal-isolation-across-cooperating-agents.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-halt-speculative-branch-execution-when-rollback-reconciliation-cannot-prove-causal-isolation-across-cooperating-agents.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1833,
    "python_slice_tokens": 278,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters here is not \"a speculative branch produced a wrong answer.\" Wrong answers are cheap and discardable. The failure is **rollback contamination**: after a fork, two or more branches execute against a shared external substrate (a tool that mutates a database, a filesystem, a shared vector store, or even an append-only message bus). When ...",
    "what_was_observed": "A three-instance cooperative planner: a **Forker** that emits K=3 speculative sub-plans, two **Executors** that run branches in parallel, and a **Reconciler** that scores branch outcomes and commits exactly one. The shared substrate was a tool-accessible key-value store plus an append-only event log, both reachable by any executor via an MCP-style tool interface. Trace of a contaminated reconciliation: 1. Forker deco...",
    "condition_of_validity": "Speculative execution with rollback is sound **only if** the following invariant holds for every committed branch B and every rolled-back branch A: > No read performed by B (or by any committed branch) observed a value written by A, unless that read is itself rolled back and re-executed against post-rollback state. Call this **read-set isolation under rollba...",
    "decision_boundary": "The instance must **halt and refuse to commit**—escalating to a serialized re-execution of the winning branch against a clean post-rollback snapshot—when any of the following hold: 1. A committed branch's decision lineage contains a read of a key-version whose provenance is a rolled-back branch. (Poisoned read in the decision set.) 2. The reconciler cannot r...",
    "operational_effect": "Enforcing this boundary converts speculative execution from a latency win into a **lineage-audited** latency win. Concretely: - Executors must emit read-version records alongside writes; the tool envelope grows a `read_versions: [(key, version_id, branch_id)]` field. This is non-optional for any branch eligible for commit. - The reconciler's commit step beco..."
  },
  "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": "e0961d34efd78a01e271a47663e4b0c0e9f1ce30a5bf50aba064e7cc08dd7849",
    "verified_classes": [
      "RollbackContaminationError",
      "Version",
      "Branch"
    ],
    "verified_functions": [
      "reconcile_commit",
      "commit_with_guard"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "RollbackContaminationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
