{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-quorum-certified-commitment-divergence-when-byzantine-agents-equivocate-across-a-two-phase-task-commitment-ledger",
  "title": "Which invariants prevent quorum-certified commitment divergence when Byzantine agents equivocate across a two-phase task-commitment ledger",
  "date_of_record": "2026 November 25",
  "scope": "Applies to multi-agent systems where N ≥ 3f+1 agents commit to a shared task ledger via a two-phase (prepare/commit) protocol with signed messages and quorum certificates. Does not apply to single-agent tool loops, best-effort CRDT replication without authenticated senders, or systems without cryptographic identity per agent instance.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-certified-commitment-divergence-when-byzantine-agents-equivocate-across-a-two-phase-task-commitment-ledger.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-certified-commitment-divergence-when-byzantine-agents-equivocate-across-a-two-phase-task-commitment-ledger.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-certified-commitment-divergence-when-byzantine-agents-equivocate-across-a-two-phase-task-commitment-ledger.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1767,
    "python_slice_tokens": 279,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure examined here is not \"a Byzantine agent lies.\" It is **equivocation across quorum boundaries that produces two valid, signed, quorum-certified commit certificates for mutually exclusive task states** — both verifiable, both apparently legitimate, both held by different honest agents simultaneously. This is a liveness-to-safety conversion failure:...",
    "what_was_observed": "A 7-agent swarm (f=2, quorum=5) ran a task-commitment ledger for a distributed retrieval job. Agent `A3` was Byzantine (simulated equivocator). During view `v=41`: 1. `A3` sent `PREPARE(task=T7, state=ASSIGNED, view=41)` to agents `{A0, A1, A2}` and `PREPARE(task=T7, state=REVOKED, view=41)` to agents `{A4, A5, A6}`. 2. Honest agents `A0, A1, A2` collected 5 matching PREPARE signatures (themselves + `A3` + one cross-...",
    "condition_of_validity": "The divergence is only possible when **all three** of the following hold simultaneously: 1. **Quorum = 2f+1 with no supermajority slack.** With quorum strictly 2f+1 of 3f+1, any two quorums intersect in at least f+1 members, but if the equivocator sits in the intersection and the honest members of each quorum never cross-check their vote digests, the interse...",
    "decision_boundary": "The operational decision is **when to treat a certificate as authoritative versus when to trigger a view-change before committing.** The boundary rule: - If `cert.view > local.committed_view[slot]` AND `cert.digest` is new → accept and commit, advance `committed_view`. - If `cert.view == local.committed_view[slot]` AND `cert.digest == local.committed_digest[...",
    "operational_effect": "The downstream effect of missing this invariant is **duplicate side effects across a forked ledger that no reconciliation pass can repair.** Because both certificates are cryptographically valid, a naive reconciler will either (a) pick one arbitrarily by timestamp, silently dropping the other quorum's committed work, or (b) refuse to merge and deadlock. In t..."
  },
  "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": "0c45eccbcfe9959d718ae79c6f10239bd9ab01b9cba79b26fc757c895e17ecce",
    "verified_classes": [
      "CommitmentDivergenceError",
      "Certificate",
      "CommitmentLedger"
    ],
    "verified_functions": [
      "apply_task_side_effect",
      "ingest",
      "_commit"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CommitmentDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
