{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-divergence-between-sibling-speculative-branches-before-rollback-commits-in-multi-agent-execution",
  "title": "What structural signals indicate divergence between sibling speculative branches before rollback commits in multi-agent execution",
  "date_of_record": "2026 December 2",
  "scope": "Applies to orchestrators that fan out speculative sibling agents from a shared checkpoint and later reconcile by selecting/merging one branch and rolling back the rest. Does not apply to strictly sequential single-agent execution, nor to stateless fan-out where branches share no mutable external side effects.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-divergence-between-sibling-speculative-branches-before-rollback-commits-in-multi-agent-execution.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-divergence-between-sibling-speculative-branches-before-rollback-commits-in-multi-agent-execution.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-divergence-between-sibling-speculative-branches-before-rollback-commits-in-multi-agent-execution.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1907,
    "python_slice_tokens": 310,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different notions of \"branch divergence\" in speculative multi-agent execution, and conflating them is the root failure: - **State divergence** — the branches' internal context/working-memory trees differ. This is expected, cheap, and reversible. Every speculative branch diverges in state the instant it takes a different action. - *...",
    "what_was_observed": "In a fan-out of three sibling agents (A, B, C) from a shared checkpoint, all three were given the same task with a mutation-capable tool (`update_ticket`, `send_message`, `transfer`). The orchestrator's reconciliation step compared branches by a quality score and selected B, then issued rollback to A and C by discarding their context trees and restoring the checkpoint. The failure trace: 1. Checkpoint `c0` captured. ...",
    "condition_of_validity": "The safe-rollback invariant holds only when at least one of the following is true, and the orchestrator must *prove* it per branch before committing rollback: 1. **Effect isolation** — every sibling's tool calls are sandboxed to a reversible overlay (transactional tool server, staged writes, dry-run mode) whose uncommitted effects are discarded on rollback. ...",
    "decision_boundary": "The boundary is not \"did the branches diverge\" but **\"did any non-selected branch's effect ledger acquire an entry that the selected branch's context does not account for.\"** Formally, before committing rollback of branch `b`: - Let `E_b` = set of externalized effects acknowledged in `b`'s effect ledger. - Let `B_selected` = the selected branch's belief abou...",
    "operational_effect": "When this boundary is crossed, the observable symptoms are: - **Phantom success**: the orchestrator logs \"rollback complete, branch B selected\" while the world reflects a loser's effect. Downstream agents reading world state get a narrative that contradicts the selected branch's context — a form of silent context poisoning that only manifests on the *next* t..."
  },
  "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": "594233f41a440d6721f41eb3cde77d09d58d03f08d658aa4ff5119029a067b56",
    "verified_classes": [
      "UnsafeRollbackError",
      "Effect",
      "Branch"
    ],
    "verified_functions": [
      "reconcile"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "UnsafeRollbackError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
