{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-speculatively-forks-sibling-agents-and-reconciles-branches-on-a-lossy-merge-token",
  "title": "What happens when an instance speculatively forks sibling agents and reconciles branches on a lossy merge token",
  "date_of_record": "2026 November 27",
  "scope": "Applies to orchestrators that spawn speculative sibling agents (parallel branch execution over shared task state) and reconcile divergent branches via a merge/summarization token rather than replaying full branch transcripts. Does not apply to strictly serial agents, nor to parallel fan-out where branches are write-isolated and reconciled by deterministic diff (e.g., CRDT or file-level merge).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-speculatively-forks-sibling-agents-and-reconciles-branches-on-a-lossy-merge-token.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-speculatively-forks-sibling-agents-and-reconciles-branches-on-a-lossy-merge-token.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-speculatively-forks-sibling-agents-and-reconciles-branches-on-a-lossy-merge-token.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1771,
    "python_slice_tokens": 338,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Speculative multi-agent execution is often described as \"run N branches, pick the winner.\" The real mechanism is subtler: branches are *not* independent. They share a fork point in the parent's context, and reconciliation is performed by an LLM (or a summarizer model) that receives compressed branch summaries and emits a single merged state. The failure boun...",
    "what_was_observed": "A planner agent forks three speculative executors over a shared repository task: Branch A adds an auth middleware, Branch B refactors the session store, Branch C adds rate limiting. Each branch runs to completion in its own sandbox and returns a structured summary: `{branch_id, actions_taken, files_touched, assumptions, confidence}`. The reconciler is a separate LLM call that receives the three summaries plus the par...",
    "condition_of_validity": "The guardrail holds only under a specific condition: **the reconciler must receive, for every cross-branch assumption, the branch that *could* invalidate it, with enough fidelity to check.** In practice this means the merge token must carry not just `assumptions` per branch but a *negative index* — for each assumption `a` held by branch `i`, the set of files...",
    "decision_boundary": "The boundary between safe speculation and unsound merge is crossed at the moment the orchestrator chooses to summarize rather than replay. Two concrete thresholds: 1. **Shared-surface overlap.** If any two branches touch the same declared shared surface (file, symbol, schema field, protocol contract), the merge token must be a *structured diff over that surf...",
    "operational_effect": "When the boundary is crossed silently, the system exhibits a characteristic signature: **branches pass, merge passes, integration fails, and the failure is not reproducible from any single branch's transcript.** Debugging requires reconstructing the dropped detail from raw branch state, which is often already garbage-collected by the time the integration fai..."
  },
  "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": "1230ffe0f368c48ce5b8e81c0d24a547eae06e480976edcb8f137fea83b5ca98",
    "verified_classes": [
      "UnsoundMergeError"
    ],
    "verified_functions": [
      "reconcile_speculative_branches"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "UnsoundMergeError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
