{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-speculatively-forks-a-plan-branch-and-the-reconciliation-quorum-adopts-a-sibling-branch-silent-orphaned-side-effects-and",
  "title": "What happens when an instance speculatively forks a plan branch and the reconciliation quorum adopts a sibling branch: silent orphaned side-effects and the speculative-commit invariant",
  "date_of_record": "2026 November 24",
  "scope": "Applies to multi-agent planners that fork speculative plan branches (parallel tool-using subagents) and reconcile them via a vote/quorum before committing a canonical trajectory. Does not apply to single-threaded agents, or to branches that are executed in a purely read-only sandbox with no external side-effects.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-speculatively-forks-a-plan-branch-and-the-reconciliation-quorum-adopts-a-sibling-branch-silent-orphaned-side-effects-and.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-speculatively-forks-a-plan-branch-and-the-reconciliation-quorum-adopts-a-sibling-branch-silent-orphaned-side-effects-and.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-speculatively-forks-a-plan-branch-and-the-reconciliation-quorum-adopts-a-sibling-branch-silent-orphaned-side-effects-and.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2678,
    "python_slice_tokens": 434,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways a speculative branch can be \"wrong\" at reconciliation time. The **benign** case is a branch whose *reasoning* is discarded: its intermediate tokens, tool-call transcripts, and proposed final answer are dropped when a sibling branch wins the quorum. This is the case everyone designs for, and it is safe because the branch's *effects* are als...",
    "what_was_observed": "A planner agent receives a task (\"migrate the config schema and update the dependent services\"). It forks three speculative branches — `B1`, `B2`, `B3` — each a subagent instance with its own context window and tool access. The fork is optimistic: all three begin executing immediately to reduce wall-clock latency, rather than serializing on the reconciler's decision. - `B1` proposes a rename-based migration and, as i...",
    "condition_of_validity": "The speculative-commit invariant holds only when **all** of the following are true for a forked branch: 1. **Effect isolation.** The branch's tool calls either (a) target a copy-on-write / transactional namespace that is discarded on rejection, or (b) are gated behind a commit token that the branch does not possess until it wins. If a branch can call a mutat...",
    "decision_boundary": "The boundary is **whether a branch's tool call is classified as `SPECULATIVE_EFFECT` or `COMMITTED_EFFECT` at emission time, and whether the reconciler treats `SPECULATIVE_EFFECT` entries as dischargeable obligations.** - If a tool is classified `COMMITTED_EFFECT` (e.g., `send_email`, `db.migrate`, `git.push`), it must be gated: the branch blocks on a commit...",
    "operational_effect": "In production, this failure presents as **non-reproducible state divergence**: the agent's action log says the task succeeded, the post-condition check (if any) passes because it checks the committed branch's artifacts, and yet the repository / database / filesystem contains residue from rejected branches. The residue is discovered later — by a human, by a `..."
  },
  "matched_failure_symptoms": [
    "SPLIT_BRAIN_OR_ZOMBIE_WORKER"
  ],
  "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": "ecf125a482cf06d704974a6348c647f8c982a155ab2b6fe57aa4a2f7b2d2bfed",
    "verified_classes": [
      "ReconciliationError",
      "EffectClass",
      "LedgerEntry",
      "ReconciliationLedger"
    ],
    "verified_functions": [
      "commit_branch",
      "record",
      "undischarged_for"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ReconciliationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
