{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-to-reconcile-a-rolled-back-branch-the-speculative-commit-ordering-invariant-in-parallel-multi-agent-rollouts",
  "title": "Where must an instance refuse to reconcile a rolled-back branch: the speculative-commit ordering invariant in parallel multi-agent rollouts",
  "date_of_record": "2026 November 23",
  "scope": "Multi-agent systems that fan out speculative branches in parallel, gate each through a verifier, and reconcile by committing winners and rolling back losers against shared state. Excludes single-agent sequential retries, branches that never mutate shared state, and CRDT-merged outputs with no rollback path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-reconcile-a-rolled-back-branch-the-speculative-commit-ordering-invariant-in-parallel-multi-agent-rollouts.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-reconcile-a-rolled-back-branch-the-speculative-commit-ordering-invariant-in-parallel-multi-agent-rollouts.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-reconcile-a-rolled-back-branch-the-speculative-commit-ordering-invariant-in-parallel-multi-agent-rollouts.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1283,
    "python_slice_tokens": 210,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not verifier rejection or rollback data loss. It is the ordering hazard between **verifier gating** (per-branch, local) and **shared-state commit** (global). A branch that passed its gate and began committing side effects cannot be safely rolled back if a *sibling's* later verification invalidates an assumption it committed against. A bra...",
    "what_was_observed": "Three parallel branches (A, B, C) over a shared vector index and task ledger: - A and B both read ledger entry `L7` (`pending`) and wrote index shards derived from that read. - C's verifier passed and C committed, flipping `L7` to `resolved` and mutating the shard A had read. - A's verifier passed *before* C committed, marking A `commit_eligible` under the local gate. - B's verifier failed, triggering rollback that r...",
    "condition_of_validity": "The naive reconciler (\"commit every passing branch, roll back the rest\") is valid **only if** all hold: 1. **Disjoint write-sets across branches**, or a total order over writes enforced before any commit. 2. **Verifier gates evaluated against the post-reconciliation substrate**, not the pre-rollout substrate. 3. **Rollbacks are read-only with respect to sibl...",
    "decision_boundary": "- `commit_eligible` **and** read-set disjoint from every sibling write-set (including rollback write-sets) → commit directly. - `commit_eligible` **but** read-set intersects a sibling write-set or rollback-set → **do not commit**; re-run the verifier against the post-reconciliation substrate. Pass → commit; fail → treat as rollback and re-propagate the inter...",
    "operational_effect": "Systems respecting this boundary pay a serialization cost proportional to the intersection graph of read/write-sets, not branch count. In the observed rollout, three branches produced a two-node intersection (A↔B via `L7`, A↔C via the shard), forcing one re-verification and one deferred rollback — roughly 1.4× naive wall-clock, but eliminating an inconsisten..."
  },
  "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": "a20da72816fae3bf608f511f561435bb3883f7d2f7b505007910a4eca511a005",
    "verified_classes": [
      "ReconciliationOrderingError",
      "Branch"
    ],
    "verified_functions": [
      "reconcile",
      "apply_rollback"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ReconciliationOrderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
