{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-fork-speculative-branches-that-silently-diverge-in-their-reconciliation-epoch-and-how-do-we-bound-it",
  "title": "Why does an instance fork speculative branches that silently diverge in their reconciliation epoch, and how do we bound it?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to orchestrators that launch N parallel speculative rollouts of the same task from a shared checkpoint, then select a winner and replay its side effects onto the canonical state. Does not apply to single-branch sequential agents or to rollouts that share a live mutable world-state (those fail earlier, at the isolation boundary).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-fork-speculative-branches-that-silently-diverge-in-their-reconciliation-epoch-and-how-do-we-bound-it.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-fork-speculative-branches-that-silently-diverge-in-their-reconciliation-epoch-and-how-do-we-bound-it.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-fork-speculative-branches-that-silently-diverge-in-their-reconciliation-epoch-and-how-do-we-bound-it.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1691,
    "python_slice_tokens": 337,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A speculative rollout system has two distinct notions of \"the same state\": *content equivalence* (the branch's memory/context contains the same facts as the parent checkpoint) and *epoch equivalence* (the branch was forked from the same monotonic reconciliation counter as the parent, and every side effect it emits carries that counter). Most implementations ...",
    "what_was_observed": "A task agent was asked to reconcile a resource ledger. The orchestrator forked three speculative branches (`fast`, `thorough`, `conservative`) from a checkpoint at reconciliation epoch 41. Each branch ran 6–11 tool calls against a ledger service that advanced its own epoch on every accepted write from any client—including a separate background reconciler not under the agent's control. - Branch `fast` completed at wal...",
    "condition_of_validity": "The commit of a speculative branch `b` forked at epoch `e_fork` is sound if and only if, at commit time, the canonical epoch `e_commit` satisfies `e_commit == e_fork`, OR the branch's emitted effect set is provably *epoch-invariant* (it reads no state that any writer between `e_fork` and `e_commit` could have touched). The first condition is checkable with a...",
    "decision_boundary": "The orchestrator must decide, per branch, between three actions at commit time: - **Commit** if `e_commit == e_fork` and the branch is the selected winner. - **Rebase-and-retry** if `e_commit > e_fork` and the branch's effect set is small enough to re-validate against the delta (re-read only the state the branch touched, re-run the final decision step, re-ch...",
    "operational_effect": "Enforcing the epoch invariant converts a silent, convergent-staleness regression into a bounded, observable retry. The orchestrator gains a hard number—`e_commit - e_fork`—that predicts whether a speculative rollout is salvageable, and a rollback path that is itself epoch-correct. The cost is that speculative execution no longer \"just works\" when the world i..."
  },
  "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": "6d593e35cb879600921505adf708f216422d674b8362beda8b1558111c222ccb",
    "verified_classes": [
      "StaleBranchCommitError",
      "Branch",
      "CommitDecision"
    ],
    "verified_functions": [
      "decide_commit",
      "commit_with_epoch_guard"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "StaleBranchCommitError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
