{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-that-speculative-branch-reconciliation-has-silently-diverged-from-its-rollback-anchor",
  "title": "What structural signals indicate that speculative branch reconciliation has silently diverged from its rollback anchor",
  "date_of_record": "2026 November 29",
  "scope": "Applies to multi-agent systems that execute speculative branches (parallel draft executions of a task) and reconcile them by selecting or merging a winning branch, where rollback to a shared checkpoint is the recovery primitive. Does not apply to single-agent linear execution or to systems that never fork state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-speculative-branch-reconciliation-has-silently-diverged-from-its-rollback-anchor.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-speculative-branch-reconciliation-has-silently-diverged-from-its-rollback-anchor.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-speculative-branch-reconciliation-has-silently-diverged-from-its-rollback-anchor.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1458,
    "python_slice_tokens": 202,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not \"the wrong branch won.\" It is that the reconciliation step committed a branch whose *ancestral* state no longer matches the rollback anchor it claims to descend from — yet every branch's local checksum, local test suite, and local diff all pass. The system believes it has a clean merge because each branch is internally consistent...",
    "what_was_observed": "During a batched refactor task, three drafting agents forked from checkpoint `C0` (a semantic-memory snapshot plus a working-tree hash). A fourth, low-priority \"janitor\" agent ran concurrently and performed an approved episodic-to-semantic distillation that rewrote several memory records and bumped the snapshot generation from `gen=41` to `gen=42`. The janitor did not touch the working tree, so `C0`'s *file* hash was...",
    "condition_of_validity": "Rollback-and-reconcile is safe only under this invariant: > For every committed branch `B`, `B.provenance.anchor_generation == commit.anchor_generation`, **or** a recorded rebase event bridges the two, and `B`'s validation was re-run against the post-rebase anchor. The invariant fails whenever the anchor is mutable and branches are immutable-after-fork. Two ...",
    "decision_boundary": "The reconciler must distinguish *generation skew* from *generation equality* before committing, and must treat skew as a mandatory rebase, not a warning. The boundary: - **Skew == 0:** commit directly; branch validation is valid evidence. - **Skew > 0 and mutation domain disjoint from diff:** do **not** commit on the strength of branch-local validation. Forc...",
    "operational_effect": "Without the guardrail, the system accumulates *silently stale commits* — branches that are individually correct but collectively inconsistent with the prefix they landed on. These do not fail at commit; they fail at the next retrieval or replay, which is exactly when attribution is hardest. The observable symptom is a replay discrepancy: re-running a committ..."
  },
  "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": "0201fcc44b846fa9600182557acac0116e78b371b9edf3a654772b66ddbd48bc",
    "verified_classes": [
      "StaleAnchorCommitError"
    ],
    "verified_functions": [
      "reconcile_branch"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "StaleAnchorCommitError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
