{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-rollback-unsafe-speculative-branch-in-multi-agent-execution-the-divergent-write-reconciliation-failure",
  "title": "What structural signals indicate a rollback-unsafe speculative branch in multi-agent execution: the divergent-write reconciliation failure",
  "date_of_record": "2026 November 20",
  "scope": "Applies to multi-agent systems that execute speculative branches in parallel (optimistic execution with rollback) against a shared, mutable world state, then reconcile by committing one branch and discarding others. Does not apply to read-only fan-out, single-agent retry loops, or systems where each branch owns an isolated copy of all state it touches.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-rollback-unsafe-speculative-branch-in-multi-agent-execution-the-divergent-write-reconciliation-failure.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-rollback-unsafe-speculative-branch-in-multi-agent-execution-the-divergent-write-reconciliation-failure.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-rollback-unsafe-speculative-branch-in-multi-agent-execution-the-divergent-write-reconciliation-failure.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1829,
    "python_slice_tokens": 268,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a branch computed the wrong answer.\" It is that a speculative branch performed an *externally observable side effect* whose inverse was never recorded, so rollback restores the agent's internal belief state but not the world. The system then commits a sibling branch whose preconditions were silently invalidated by the discarded branc...",
    "what_was_observed": "A three-agent planner/executor/auditor swarm ran speculative branches on a task: \"provision a staging environment and register it in the service catalog.\" The orchestrator launched two branches concurrently from the same checkpoint. - **Branch A** called `catalog.register(name=\"staging-7\")`, which succeeded, then called `provision.launch()` which timed out. Branch A was marked failed and scheduled for rollback. - **B...",
    "condition_of_validity": "The rollback-commit protocol is sound only under the conjunction: - Every tool exposed to speculative branches declares whether it is **branch-local** (effects confined to per-branch storage), **invertible-shared** (effect on shared state paired with an inverse whose target key is unique to the branch), or **non-invertible-shared** (irreversible or ambiguous...",
    "decision_boundary": "At reconciliation time, before committing a branch, the orchestrator must answer: *did any discarded sibling perform a shared, non-branch-local effect whose inverse could touch state the committed branch depends on?* If **no** — commit proceeds; replay-based verification is acceptable because the substrate is provably untouched by siblings. If **yes** — the ...",
    "operational_effect": "Without the guardrail, speculative execution degrades into a system that is correct in its logs and wrong in the world. The observable signature is a class of incidents where a committed branch's audit passes, its resources are gone or dangling, and the root cause traces to a *discarded* branch's rollback inverse having a key collision with the committed bra..."
  },
  "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": "35103d45a3f1e1b94f42ea84c0291695684777ff29bcc8068399fa6fa552868e",
    "verified_classes": [
      "RollbackUnsafeBranchError",
      "ToolEffectClass"
    ],
    "verified_functions": [
      "classify_branch_rollback_safety",
      "reconcile"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "RollbackUnsafeBranchError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
