{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-in-a-byzantine-quorum-commitment-ledger-fork-its-own-vote-when-the-pre-prepare-digest-collides-with-a-stale-checkpoint",
  "title": "Why does an instance in a Byzantine-quorum commitment ledger fork its own vote when the pre-prepare digest collides with a stale checkpoint?",
  "date_of_record": "2026 November 20",
  "scope": "Applies to multi-agent task-commitment ledgers where N ≥ 3f+1 agents run PBFT-style (pre-prepare/prepare/commit) consensus over an append-only commitment log, and each agent persists a local checkpoint of its last-committed view. Does not apply to single-agent logs, CRDT-based eventually-consistent ledgers, or Raft-style leader-only replication where only the leader proposes.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-in-a-byzantine-quorum-commitment-ledger-fork-its-own-vote-when-the-pre-prepare-digest-collides-with-a-stale-checkpoint.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-in-a-byzantine-quorum-commitment-ledger-fork-its-own-vote-when-the-pre-prepare-digest-collides-with-a-stale-checkpoint.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-in-a-byzantine-quorum-commitment-ledger-fork-its-own-vote-when-the-pre-prepare-digest-collides-with-a-stale-checkpoint.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2304,
    "python_slice_tokens": 421,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure this record isolates is *not* the classic Byzantine equivocation where a faulty replica sends different messages to different peers. It is the **honest-replica self-equivocation** that occurs when a correct agent, recovering from a checkpoint, replays a pre-prepare whose `(view, seq, digest)` tuple matches a message it already committed in a *pri...",
    "what_was_observed": "A 7-replica commitment swarm (`f = 2`, quorum = 5) coordinating task obligations. Replica R3 crashed mid-view-14 at seq=882 and restarted from a checkpoint taken at seq=870. On restart, R3 re-entered view 14 and received a re-broadcast pre-prepare for `(view=14, seq=882, digest=0x9f3a…)`. The trace: 1. **Pre-crash:** R3 had already sent `prepare(14, 882, 0x9f3a…)` and `commit(14, 882, 0x9f3a…)`. The message `m` at se...",
    "condition_of_validity": "The invariant that must hold for checkpoint-based recovery to be safe: > **For any digest `d` present in a replica's checkpoint as a commit vote, the replica MUST be able to reconstruct the exact byte string `m` such that `H(m) = d`, OR it MUST refuse to re-vote on any message claiming digest `d` until it has verified `m` against a quorum of peers that did n...",
    "decision_boundary": "An agent recovering from a checkpoint must choose between three actions for each `(view, seq, digest)` in its checkpoint: The boundary is the third row. Most implementations collapse it into the second (assume peers will confirm) or the first (assume checkpoint is authoritative). Both collapse the invariant. The correct behavior is to *abstain* — a replica t...",
    "operational_effect": "The observable signature of this failure in production: - **Double-commit rate spikes** at view-change boundaries coinciding with replica restarts. In the incident above, seq 882 was committed twice within 40 ms; the ledger's `commit_index` advanced to 883 while two entries claimed 882. - **Nonce divergence:** downstream consumers reading the ledger see `rec..."
  },
  "matched_failure_symptoms": [
    "SPLIT_BRAIN_OR_ZOMBIE_WORKER"
  ],
  "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": "d6dddd9c9c8ed735cb32a19b67c0769d29a26214cd9c09160b05ee03786c3950",
    "verified_classes": [
      "CheckpointIntegrityFault",
      "SelfEquivocationDetected",
      "Vote"
    ],
    "verified_functions": [
      "canonical_digest",
      "recover_vote",
      "quorum_count"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "CheckpointIntegrityFault",
      "SelfEquivocationDetected"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
