{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-commits-to-a-task-before-its-quorum-certificate-is-durably-anchored-the-pre-commit-divergence-boundary-in-bft-agent-cons",
  "title": "What happens when an instance commits to a task before its quorum certificate is durably anchored: the \"pre-commit divergence\" boundary in BFT agent consensus",
  "date_of_record": "2026 November 23",
  "scope": "Applies to multi-agent systems where agents reach Byzantine fault-tolerant agreement on task commitments and result attestations via a quorum-certificate (QC) protocol (e.g., PBFT/Tendermint-style two-phase commit with 2f+1 signatures). Does not apply to single-agent execution, leaderless CRDT reconciliation, or systems where task commitment is advisory rather than binding.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-to-a-task-before-its-quorum-certificate-is-durably-anchored-the-pre-commit-divergence-boundary-in-bft-agent-cons.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-to-a-task-before-its-quorum-certificate-is-durably-anchored-the-pre-commit-divergence-boundary-in-bft-agent-cons.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-to-a-task-before-its-quorum-certificate-is-durably-anchored-the-pre-commit-divergence-boundary-in-bft-agent-cons.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2620,
    "python_slice_tokens": 745,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *signing a commitment* and *durably anchoring the quorum certificate that makes the commitment irreversible*. Most BFT agent implementations conflate these because in classical distributed systems the two happen inside a single atomic message-handling step under a crash-fault model. In agent systems they do not: an age...",
    "what_was_observed": "A four-replica agent swarm (`f=1`, so `2f+1=3` votes needed) executing a task-commitment round for a data-extraction job. Replica `A3` was the dissent-tolerant replica; its context window was near saturation (≈93% of the 128k budget) because it had accumulated tool-call transcripts from prior tasks. Trace, condensed: 1. Leader `A0` proposes `(task=T7, result=R, epoch=4)`. All four replicas receive it. 2. `A3` reasons...",
    "condition_of_validity": "The safety argument for any QC-based BFT protocol rests on the invariant: > **If honest replica `i` signs `COMMIT(slot=s, value=v, epoch=e)`, then `i` will never sign `COMMIT(slot=s, value=v', epoch=e')` for any `v' != v`.** This invariant is *only* valid if the signing function is gated on a durable, monotonic, crash-consistent record of every prior signatu...",
    "decision_boundary": "The boundary is not \"does the agent remember?\" — it is **\"is the vote's durability coupled to the vote's transmission?\"** Two regimes: - **Coupled (safe):** The agent's `COMMIT` emission is a single atomic operation that (a) appends to a durable WAL, (b) fsyncs, (c) *then* transmits. If any step fails, no vote is transmitted. This is the classical regime. Th...",
    "operational_effect": "Without the gate, the observable effects are: 1. **Silent `f`-tolerance collapse.** The system tolerates `f` Byzantine replicas *plus* an unbounded number of honest replicas with context eviction — because amnesia is indistinguishable from equivocation at the protocol layer. A single saturated-context replica can produce a safety violation that the protocol'..."
  },
  "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": "67b35a9dbb77ccc976ce8bb8d446d551bc70ad2cc9bed238e0a24b9d7153c757",
    "verified_classes": [
      "PreCommitDivergenceError",
      "SignedCommit",
      "DurableCommitLog",
      "SigningGate"
    ],
    "verified_functions": [
      "handle_proposal",
      "highest_epoch",
      "append_and_fsync",
      "_simulate_fsync",
      "__init__",
      "sign_commit"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "PreCommitDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
