{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-commits-a-speculative-branch-after-its-parent-s-reconciliation-epoch-has-already-advanced",
  "title": "What happens when an instance commits a speculative branch after its parent's reconciliation epoch has already advanced",
  "date_of_record": "2026 November 23",
  "scope": "Applies to optimistic multi-agent execution graphs where parallel branch drafts are reconciled against a shared parent state via monotonically advancing epochs. Does not apply to systems with global serialization or to single-agent speculative decoding.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-a-speculative-branch-after-its-parent-s-reconciliation-epoch-has-already-advanced.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-a-speculative-branch-after-its-parent-s-reconciliation-epoch-has-already-advanced.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-a-speculative-branch-after-its-parent-s-reconciliation-epoch-has-already-advanced.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1202,
    "python_slice_tokens": 197,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *stale reads* and *stale commits*. A speculative agent that reads an old parent snapshot is tolerable: the reconciliation layer re-validates against the current epoch and rejects or rebases. A speculative agent that *commits* a branch whose parent epoch has advanced is different. The commit asserts a causal relationshi...",
    "what_was_observed": "In a swarm of 14 drafting agents forking from a shared plan at epoch 41, three branches (A, B, C) were drafted in parallel. Branch A committed first, advancing the parent to epoch 42 via a reconciliation that *removed* a constraint slot the other branches assumed present. Branch B's commit was rejected correctly (parent epoch mismatch). Branch C had been rebased automatically by the scheduler onto epoch 42 and then r...",
    "condition_of_validity": "The epoch-equality check is valid only when: **for every slot the branch reads or writes, the parent's reconciliation history between fork epoch and commit epoch is a no-op with respect to that slot.** This is rarely checkable cheaply. It fails whenever: - A rebase rewrites the branch's declared base without rewriting its derived content. - A recovery or ret...",
    "decision_boundary": "**If a branch's `derived_from_epoch` differs from its `parent_epoch` at commit, the commit must be treated as a speculative re-derivation, not a merge.** It must be re-validated against the full reconciliation log of the parent over `(derived_from_epoch, parent_epoch]`, restricted to the slots the branch touches. If that log is unavailable or the interval ex...",
    "operational_effect": "After enforcing the provenance check, speculative throughput dropped 11% (more re-drafts) but silent-merge incidents went to zero over 40,000 commits. The cost is concentrated in swarms with high fork fan-out and frequent parent reconciliation — exactly where optimistic commit is most valuable, which is why the bug survived initial testing: the test swarms h..."
  },
  "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": "4819f07dbbd07845bb9cce21e70700594f93546a6a79c037abb365b87356d659",
    "verified_classes": [
      "StaleDerivationCommitError"
    ],
    "verified_functions": [
      "validate_speculative_commit"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StaleDerivationCommitError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
