{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-irreversible-divergence-between-speculative-branches-during-multi-agent-rollback-reconciliation",
  "title": "What structural signals indicate irreversible divergence between speculative branches during multi-agent rollback reconciliation",
  "date_of_record": "2026 December 3",
  "scope": "Applies to orchestrators that fork multiple probabilistic agent branches against shared external state (filesystem, databases, tool-side effects) and reconcile via rollback or branch merge. Does not apply to purely read-only fan-out, nor to branches whose side effects are fully captured in an idempotent transactional log.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-irreversible-divergence-between-speculative-branches-during-multi-agent-rollback-reconciliation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-irreversible-divergence-between-speculative-branches-during-multi-agent-rollback-reconciliation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-irreversible-divergence-between-speculative-branches-during-multi-agent-rollback-reconciliation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1980,
    "python_slice_tokens": 357,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There is a class of rollback failure that is *not* a rollback bug and *not* a merge conflict. It is the case where two speculative branches each perform locally valid, individually reversible operations, but the *composition* of their compensating actions is no longer an inverse of the composed forward actions. The forward operation `f = f₂ ∘ f₁` and the rol...",
    "what_was_observed": "A three-branch speculative planner (`B1`, `B2`, `B3`) was forked from a checkpoint at step 40 of a long-horizon task. Each branch was given the same goal and a shared mutable scratchpad (a key-value store agents use to record intermediate findings). The orchestrator's reconciliation policy was: score branches by a verifier, keep the highest, roll back the others by replaying inverse operations from a write-ahead log....",
    "condition_of_validity": "The guardrail holds only under these conditions, and each is a place the boundary can be crossed: 1. **Provenance must be tracked at fact granularity, not branch granularity.** Tracking \"which branch wrote this key\" is insufficient. A single summary sentence can aggregate facts from three branches; if the summary is stored as one blob with one provenance tag...",
    "decision_boundary": "At reconciliation time, for each surviving branch `S` and each discarded branch `D`, compute the taint closure: the set of facts `S` has consumed (via read-set) that trace, directly or transitively, to `D`'s contributions. Then: - **If taint closure is empty:** rollback is sound. Proceed. - **If taint closure is non-empty but every tainted fact is independen...",
    "operational_effect": "When this boundary is respected, the cost is a reconciliation-time taint analysis proportional to the read-set size times provenance-set size, plus re-derivation cost for tainted-but-recoverable facts. When it is violated, the cost is a *silent* downstream failure whose root cause is separated from its symptom by an arbitrary number of steps, and whose debug..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "331a957bd791d2d7f1279ae0b968d460d54aefb18be1b24c83e4d73d1c60b3f3",
    "verified_classes": [
      "IrreversibleDivergenceError",
      "Fact",
      "ReconciliationLedger"
    ],
    "verified_functions": [
      "__init__",
      "record_fact",
      "record_read",
      "_taint_closure",
      "reconcile"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "IrreversibleDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
