{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-reconcile-speculative-branch-divergence-before-a-verifier-gated-merge-commits",
  "title": "Where must an instance reconcile speculative branch divergence before a verifier-gated merge commits",
  "date_of_record": "2026 December 3",
  "scope": "Applies to orchestrators that fork an agent's state into parallel speculative branches, each drafted under a shared pre-commit snapshot, then merge only branches that pass a verifier gate. Does not apply to single-branch linear execution or to merges where branches share no mutable state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-speculative-branch-divergence-before-a-verifier-gated-merge-commits.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-speculative-branch-divergence-before-a-verifier-gated-merge-commits.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-speculative-branch-divergence-before-a-verifier-gated-merge-commits.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1807,
    "python_slice_tokens": 340,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Speculative parallelism is often described as \"draft in parallel, verify, commit the winner.\" That framing hides the actual failure: branches do not merely produce *outputs* — they produce *state deltas* against a shared pre-commit snapshot, and the verifier gate is evaluated against each branch's *self-reported* state, not the state that would exist after m...",
    "what_was_observed": "An orchestrator forked a task into three speculative branches (B1, B2, B3) from snapshot S0. Each branch was assigned a disjoint-looking subgoal but shared a mutable scratchpad key `active_plan` and an append-only `evidence_log`. Each branch ran its own verifier instance. All three verifiers passed. The merge was performed by replaying deltas in completion order: B2, then B1, then B3. The failure trace: 1. **S0** con...",
    "condition_of_validity": "The per-branch verifier gate is a sound commit predicate only under one of these conditions: - **Disjointness invariant:** the write-sets of all merged branches are provably disjoint, so replay order is irrelevant and deltas commute. This must be *enforced*, not assumed from subgoal assignment — subgoals described as disjoint frequently touch shared scratchp...",
    "decision_boundary": "The orchestrator must decide, per merge, between *commutative commit* and *revalidating commit*: - If all branch write-sets are disjoint (verified by set intersection over touched keys, not by subgoal labels), commit in any order; per-branch verification is sufficient. This is the fast path and should be the only case where per-branch verifiers alone authori...",
    "operational_effect": "When the boundary is respected, speculative parallelism yields the intended speedup with a bounded correctness cost: conflicting branches are detected at merge and either serialized (latency cost) or redrafted (token cost), and committed state never contains deltas applied against invalidated preconditions. When it is violated, the failure is silent and *dow..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "794accbfebba3331b6b458b366ba3cee302396aadc5a479fa1f3dd15368a7cf6",
    "verified_classes": [
      "SpeculativeMergeConflict"
    ],
    "verified_functions": [
      "merge_branches",
      "commit_speculative"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "SpeculativeMergeConflict"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
