{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-abort-speculative-rollback-when-branch-reconciliation-exceeds-the-checkpoint-horizon",
  "title": "Under what conditions must an instance abort speculative rollback when branch reconciliation exceeds the checkpoint horizon",
  "date_of_record": "2026 November 27",
  "scope": "Applies to multi-agent systems that fork speculative execution branches from a shared checkpoint, run them concurrently against nondeterministic tools, and reconcile divergent results by rolling back losing branches. Does not apply to single-agent retry loops, stateless fan-out, or systems where every branch commits to an isolated store with no shared mutable state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-abort-speculative-rollback-when-branch-reconciliation-exceeds-the-checkpoint-horizon.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-abort-speculative-rollback-when-branch-reconciliation-exceeds-the-checkpoint-horizon.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-abort-speculative-rollback-when-branch-reconciliation-exceeds-the-checkpoint-horizon.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1746,
    "python_slice_tokens": 233,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different ways a speculative branch can \"lose\" a reconciliation: it can be *discarded* or it can be *un-committed*. Discarding is cheap and local—you drop the branch's private context and its pending tool intents. Un-committing is expensive and global—you must reverse effects that already escaped the branch boundary: writes to shar...",
    "what_was_observed": "A three-agent planner/executor/auditor swarm forks two speculative branches from checkpoint `C7`. Branch A executes a `write_memory` tool call that appends a semantic fact to the shared episodic store. Branch B executes a different fact. Both then block on an auditor reconciliation that must compare their reasoning traces. The auditor's comparison is slow—it re-runs both traces through a verifier, and the verifier ha...",
    "condition_of_validity": "The checkpoint-horizon invariant holds only if the coordinator enforces: `reconcile_deadline < inter_checkpoint_interval` i.e., reconciliation must complete before the next checkpoint is taken, OR the coordinator must freeze checkpoint advancement while any branch is unreconciled. These are the only two valid regimes. A system that neither bounds reconciliat...",
    "decision_boundary": "An instance must abort speculative rollback and escalate to compensation when **any** of the following holds at reconciliation time: - `head_checkpoint_id != fork_checkpoint_id` (horizon advanced). - Any branch side effect has been read by an agent outside the branch's descendant set (effect escaped). - The rollback target checkpoint is not the current head'...",
    "operational_effect": "Enforcing the invariant changes three things. First, reconciliation gets a hard deadline tied to the checkpoint cadence—slow auditors must either be given a frozen horizon or be allowed to time out and defer the decision to a later, explicitly-compensating pass. Second, rollback is split into two code paths with distinct preconditions: `restore(checkpoint)` ..."
  },
  "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": "24e2b69c137d7965403b90b33663e308a32b8a1177f8eda5ba24d1bc983947c8",
    "verified_classes": [
      "CheckpointHorizonViolation",
      "Branch"
    ],
    "verified_functions": [
      "reconcile_and_rollback",
      "__init__"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CheckpointHorizonViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
