{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-that-a-speculative-branch-is-unsound-to-merge-after-rollback-in-multi-agent-reconciliation",
  "title": "What structural signals indicate that a speculative branch is unsound to merge after rollback in multi-agent reconciliation",
  "date_of_record": "2026 November 27",
  "scope": "Applies to orchestrators that fan out speculative agent branches from a shared checkpoint, execute them concurrently, and reconcile a single committed result via rollback of losing branches. Does not apply to single-agent retry loops, to branches that never share mutable state, or to systems where branches are pure functions over immutable inputs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-speculative-branch-is-unsound-to-merge-after-rollback-in-multi-agent-reconciliation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-speculative-branch-is-unsound-to-merge-after-rollback-in-multi-agent-reconciliation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-speculative-branch-is-unsound-to-merge-after-rollback-in-multi-agent-reconciliation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1591,
    "python_slice_tokens": 209,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive model of speculative multi-agent execution treats a branch as a *transaction*: it either commits its result or rolls back cleanly, and reconciliation is a merge of the surviving branch's output. This model is wrong whenever branches share a mutable substrate — a common tool-call ledger, an external resource (a file, a database row, a rate-limited A...",
    "what_was_observed": "A three-branch speculative plan-execute swarm was reconciling a document-editing task. Branch A (planner-fast) and Branch B (planner-thorough) both wrote intermediate artifacts to a shared scratch ledger keyed by `(task_id, step_index)`. Branch C was a verifier that read the ledger to check consistency. The orchestrator selected B as the winner on a scoring pass and issued rollback to A and C. The rollback of A delet...",
    "condition_of_validity": "A speculative branch is sound to merge only if, for every artifact in the committed result, the set of branches in its causal cone is a subset of the set of branches that survived rollback. Formally: let `cone(a)` be the branches whose reads or writes contributed to artifact `a`, and let `S` be the surviving branch set. The merge is valid iff `cone(a) ⊆ S` f...",
    "decision_boundary": "The operational decision is whether to (a) merge the winning branch's result while quarantining any evidence whose cone includes a rolled-back branch, (b) re-run the losing branches' *reads* against the post-rollback ledger to re-derive evidence, or (c) abort and re-plan from the last clean checkpoint. The boundary is set by whether the rolled-back branch's ...",
    "operational_effect": "The observable effect is a class of failures that pass every local check and fail only on replay or downstream re-derivation — \"ghost-consistent\" results. They are expensive because they surface late, after the committed result has been consumed by subsequent agents whose own state is now built on a poisoned premise. The remediation is to make provenance a f..."
  },
  "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": "26ef68f366b1d969d4d3805347d6e182f1ec2a3e03ff01f4a41077a1feb73551",
    "verified_classes": [
      "UnsoundSpeculativeMerge",
      "Artifact",
      "Branch"
    ],
    "verified_functions": [
      "reconcile"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "UnsoundSpeculativeMerge"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
