{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-abandon-a-speculative-branch-rollback-lineage-divergence-under-concurrent-reconciliation",
  "title": "When must an instance abandon a speculative branch: rollback lineage divergence under concurrent reconciliation",
  "date_of_record": "2026 November 22",
  "scope": "Applies to any multi-agent system where a coordinator forks speculative sub-agent branches that mutate shared state (memory stores, tool side-effects, filesystem, or downstream queues) and later reconciles them against a canonical branch. Does not apply to stateless fan-out/merge patterns with no side effects, or to single-branch retry loops.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-abandon-a-speculative-branch-rollback-lineage-divergence-under-concurrent-reconciliation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-abandon-a-speculative-branch-rollback-lineage-divergence-under-concurrent-reconciliation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-abandon-a-speculative-branch-rollback-lineage-divergence-under-concurrent-reconciliation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1850,
    "python_slice_tokens": 299,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common framing treats speculative execution rollback as \"undo the writes and resume from the checkpoint.\" That framing is wrong for agent systems in a specific and dangerous way: a speculative branch does not merely *produce* writes, it *produces its own reasoning lineage* — a chain of intermediate beliefs, tool observations, and distilled memory entries...",
    "what_was_observed": "A coordinator agent forked three speculative branches (B1, B2, B3) off a checkpoint at epoch `e=40`. Each branch was given a distinct hypothesis about a failing migration and asked to produce a remediation plan plus a set of \"verified facts\" written to a shared episodic memory store. The coordinator intended to reconcile by selecting the branch whose plan passed an auditor agent, then rolling back the other two. B2 c...",
    "condition_of_validity": "Rollback-with-reconciliation is sound **only if** the following holds at every instant between fork and reconcile: > For every artifact `a` emitted by speculative branch `b` at epoch `e_b`, every consumer `c` of `a` satisfies `c ∈ rollback_domain(b)` OR `c` reads `a` only after `b` is promoted to canonical. Equivalently: no speculative artifact may cross the...",
    "decision_boundary": "An instance must **abandon a speculative branch to quarantine rather than to rollback** — i.e., mark it un-promotable and halt all downstream consumption — the moment any of these is detected: - A speculative artifact has been read by a consumer outside the branch's rollback domain (detected via epoch-tagged reads; if reads are untagged, the branch is *alrea...",
    "operational_effect": "Systems that ignore this boundary exhibit a characteristic signature: rollback reports success, reconciliation selects a plan, execution fails, and the post-mortem finds that the selected plan depended on a rejected branch's fact through a path that no rollback log recorded. The failure is *not* reproducible from the write log alone, because the write log is..."
  },
  "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": "33dbb7ba46bc0531ba2667ad40bb242b46db057108e7ae975ded6d4cc17d18a0",
    "verified_classes": [
      "LineageDivergenceError",
      "Artifact",
      "LineageTracker"
    ],
    "verified_functions": [
      "__init__",
      "emit",
      "read",
      "reconcile"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "LineageDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
