{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-speculative-branch-has-silently-forked-the-shared-world-state-during-rollback-reconciliation",
  "title": "What structural signals indicate a speculative branch has silently forked the shared world-state during rollback reconciliation",
  "date_of_record": "2026 November 28",
  "scope": "Applies to multi-agent systems that speculatively execute divergent plans in parallel branches and reconcile them via rollback or merge. Does not apply to single-agent retry loops, nor to branches that execute against fully isolated sandboxes with no shared mutable side effects (e.g., pure read-only research fan-out).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-has-silently-forked-the-shared-world-state-during-rollback-reconciliation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-has-silently-forked-the-shared-world-state-during-rollback-reconciliation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-branch-has-silently-forked-the-shared-world-state-during-rollback-reconciliation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1734,
    "python_slice_tokens": 297,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a branch produced a wrong answer.\" It is that a rollback *succeeded by the orchestrator's bookkeeping* while the branch's effects leaked into the shared world-state through a channel the rollback ledger did not model. The distinguishing signal is a mismatch between two notions of \"undone\": the *logical* rollback (the orchestrator mar...",
    "what_was_observed": "A planner spawned three speculative branches from a shared checkpoint at turn 14. Branch A drafted a schema migration; Branch B drafted an alternative migration plus a partial backfill; Branch C was a verifier that read both drafts. Branch B was killed at turn 31 after a consistency check failed. The orchestrator ran B's compensation script, marked B `ROLLED_BACK`, and let A proceed to commit at turn 40. Three struct...",
    "condition_of_validity": "The invariant that must hold for speculative rollback to be sound is: > For every branch B discarded, and every branch A retained, the world-state read by A at commit time must be observationally equivalent to a world-state in which B never executed. This holds only when all three of the following are true, and fails at the first that is violated: - **Effect...",
    "decision_boundary": "The decision is *when to trust a rollback as a rewind point*. The boundary condition: - If compensation is **synchronous and confirmed** (the orchestrator awaits the inverse operation's completion and verifies post-state), rollback is a valid rewind for *state* but still not for *peer memory*. - If compensation is **asynchronous or best-effort** (fire-and-fo...",
    "operational_effect": "Without the guardrail, the system exhibits **silent branch divergence**: the orchestrator's state machine reports a clean linear history (`A committed, B rolled back`) while the physical world and the peers' beliefs encode a third, unlogged history (`A committed against a half-compensated B, approved by a C that remembered B`). The divergence is silent becau..."
  },
  "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": "21ce1bd78f886d7e529cea8311b29e40d1b4d4b23e8a79fc2fc15e737ac432e3",
    "verified_classes": [
      "BranchDivergenceError",
      "Branch",
      "WorldState"
    ],
    "verified_functions": [
      "reconcile"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "BranchDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
