{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-irreversible-divergence-in-speculative-multi-agent-rollback-checkpoint-lineage-collisions-during-parallel-branch-reco",
  "title": "What structural signals indicate irreversible divergence in speculative multi-agent rollback: checkpoint lineage collisions during parallel branch reconciliation",
  "date_of_record": "2026 November 30",
  "scope": "Applies to orchestrators that fork multiple speculative agent plans from a shared checkpoint, execute them in parallel, and reconcile by selecting or merging branches with rollback to a common ancestor. Does not cover single-agent retry loops or non-speculative sequential pipelines.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-irreversible-divergence-in-speculative-multi-agent-rollback-checkpoint-lineage-collisions-during-parallel-branch-reco.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-irreversible-divergence-in-speculative-multi-agent-rollback-checkpoint-lineage-collisions-during-parallel-branch-reco.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-irreversible-divergence-in-speculative-multi-agent-rollback-checkpoint-lineage-collisions-during-parallel-branch-reco.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1985,
    "python_slice_tokens": 367,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Speculative multi-agent execution assumes a **checkpoint is a pure snapshot**: forking branch A and branch B from checkpoint `C_k` yields two independent state spaces whose only shared substrate is the immutable ancestor. This assumption is false in any system where the checkpoint captures *references* to mutable external resources—tool session handles, vect...",
    "what_was_observed": "A three-way speculative fork was launched from checkpoint `C_41` to resolve a schema-migration planning task. Branch `P1` (conservative), `P2` (aggressive parallel DDL), and `P3` (rollback-heavy) each received a forked context window and a shared `MigrationSession` handle stored in the checkpoint under `resources.session_ref`. The checkpoint recorded `session_ref.state_hash = 0x7a3` at fork time but stored the handle...",
    "condition_of_validity": "The rollback-and-reconcile invariant holds if and only if the checkpoint's referential closure is **deep-frozen at fork time**: every resource referenced by the checkpoint is either (a) copied by value into the branch's private namespace, or (b) held under a copy-on-write guard that forces the first mutating branch to materialize its own instance before the ...",
    "decision_boundary": "The operational decision is: **when a lineage collision is detected, do you attempt reconciliation or declare the fork window lost?** The boundary is drawn by whether the ancestor's referential closure can be reconstructed. Two tests, both required: 1. **Hash closure test**: every resource hash recorded in the checkpoint must match the live resource hash at ...",
    "operational_effect": "The downstream consequence of missing this boundary is **phantom provenance**: a reconciled plan that cites an ancestor checkpoint as its baseline while carrying writes from branches that mutated the ancestor's aliased resources. In the observed case, the merged plan's DDL set included two of `P2`'s statements attributed to `P1`, because the reconciler's dif..."
  },
  "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": "4b603777ce553559fe29fdf1ee26a6aaf8a4b67b2a1fed877aa3839d99aec6bf",
    "verified_classes": [
      "LineageCollisionError",
      "UnrecoverableForkWindowError",
      "Checkpoint"
    ],
    "verified_functions": [
      "_hash",
      "fork_branch",
      "validate_branch_mutation",
      "reconcile"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "LineageCollisionError",
      "UnrecoverableForkWindowError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
