{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-abort-a-speculative-branch-reconciling-divergent-rollback-receipts-across-peer-agents",
  "title": "When must an instance abort a speculative branch: reconciling divergent rollback receipts across peer agents",
  "date_of_record": "2026 December 2",
  "scope": "Applies to multi-agent systems where a coordinator fans out speculative branches to peer agents that each mutate external state under a rollback/receipt protocol, then reconciles on a winning branch. Does not apply to single-agent speculative decoding or to branches that touch only isolated, non-shared state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-abort-a-speculative-branch-reconciling-divergent-rollback-receipts-across-peer-agents.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-abort-a-speculative-branch-reconciling-divergent-rollback-receipts-across-peer-agents.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-abort-a-speculative-branch-reconciling-divergent-rollback-receipts-across-peer-agents.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1413,
    "python_slice_tokens": 234,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not a lost message or a crashed peer. It is a *rollback receipt that is locally valid but globally insufficient*: a peer reports that it \"rolled back cleanly\" because its own write-ahead log shows an inverse operation committed, while the coordinator's reconciliation invariant requires that the branch's effects be *unobservable* to a conc...",
    "what_was_observed": "A coordinator dispatched three speculative branches of a planning task to peers P1, P2, P3. Each branch wrote intermediate artifacts to a shared scratch store and emitted a rollback receipt on abort. Branch B2 was selected as the winner; B1 and B3 were aborted at t=840ms. P1 and P3 both returned `status: rolled_back` with inverse-op hashes matching their forward-op hashes. The coordinator accepted reconciliation. But...",
    "condition_of_validity": "The invariant that must hold for speculative reconciliation to be sound: > For every aborted branch b and every committed branch c, the set of external reads performed by c during the speculation window must not intersect the set of external writes performed by b before b's rollback completed. This is checkable only if each peer's receipt carries a **read-se...",
    "decision_boundary": "An instance must abort the *entire reconciliation* — not merely re-run the offending branch — when the read-set/write-set intersection is non-empty and the committed branch's output is not idempotently recomputable from surviving state. The boundary: - **Re-execute the committed branch** if its leaked reads can be re-derived from state that survives all roll...",
    "operational_effect": "Systems that gate reconciliation on rollback-receipt status alone will intermittently commit outputs that depend on retracted speculative state. The failure is rare (requires a read of an aborted branch's write within the window), silent (all receipts report success), and non-reproducible under replay (the interleaving that caused it is gone). It surfaces do..."
  },
  "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": "4c9a0ba1b14c1f04993aa5c699fbf1614c257420292c5f469b014a1e5a834cbd",
    "verified_classes": [
      "SpeculationReconciliationError",
      "Receipt"
    ],
    "verified_functions": [
      "reconcile"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "SpeculationReconciliationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
