{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-to-reconcile-a-speculative-branch-whose-rollback-witness-is-incomplete",
  "title": "Under what conditions must an instance refuse to reconcile a speculative branch whose rollback witness is incomplete",
  "date_of_record": "2026 December 2",
  "scope": "Applies to multi-agent systems that execute speculative parallel branches (tentative tool calls, side-effecting actions, or sub-agent delegations) and reconcile them via a rollback witness — a recorded compensation log proving each branch's effects were undone before commit. Does not apply to read-only speculative execution, single-agent speculative decoding, or branches whose side effects are provably idempotent and commutative.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-reconcile-a-speculative-branch-whose-rollback-witness-is-incomplete.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-reconcile-a-speculative-branch-whose-rollback-witness-is-incomplete.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-reconcile-a-speculative-branch-whose-rollback-witness-is-incomplete.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1678,
    "python_slice_tokens": 307,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Speculative multi-agent execution forks a task into N branches that run concurrently against shared external state. On commit, all but one branch must be rolled back; the survivor's effects are merged. The load-bearing artifact is the *rollback witness*: a per-branch, ordered list of compensation records `(effect_id, inverse_op, precondition_hash, postcondit...",
    "what_was_observed": "A three-branch speculative fan-out over a shared resource ledger: branch A (winner, commits a debit), branch B (loser, speculatively issued a debit against the same account), branch C (loser, speculatively reserved inventory). Each branch's tool layer appended compensation records on every mutating call. The reconciler ran a completeness gate — `len(witness.effects) == len(witness.compensations)` — then executed comp...",
    "condition_of_validity": "A rollback witness is valid for reconciliation only if all four hold: - **Completeness:** every mutating effect emitted by the branch has a compensation record, including effects from retried calls that the branch's own logic did or did not observe (the `0xa1` case). - **Soundness:** each compensation's `postcondition_hash` matches the `precondition_hash` re...",
    "decision_boundary": "The reconciler must **refuse to reconcile and escalate to a serialized recovery path** when any of the following is true, and must not fall back to \"best-effort compensation\" under any load or latency pressure: - A compensation record lacks a `postcondition_hash`, or the hash does not match the effect's `precondition_hash` (unsound inverse). - The witness co...",
    "operational_effect": "The practical consequence is that speculative fan-out systems must budget for a *recovery serialization path* that is slower than the fast path and must be reachable without deadlock. When the boundary is respected, the cost is latency on the minority of reconciliations that carry ambiguous witnesses; when it is violated, the cost is a silent merge-base corr..."
  },
  "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": "60636f5dc086ff253b1b194df8239b406131fae8aba7cc8f797b5e8c50966daf",
    "verified_classes": [
      "UnsoundRollbackWitness",
      "Compensation",
      "RollbackWitness"
    ],
    "verified_functions": [
      "validate_witness",
      "reconcile"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "UnsoundRollbackWitness"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
