{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-quorum-certificate-forgery-from-surviving-a-byzantine-agent-s-view-merge-in-bft-task-commitment-consensus",
  "title": "Which invariants prevent quorum-certificate forgery from surviving a Byzantine agent's view-merge in BFT task-commitment consensus",
  "date_of_record": "2026 November 23",
  "scope": "Applies to multi-agent systems where task commitment and shared-state agreement are secured by a Byzantine fault-tolerant (BFT) consensus protocol (PBFT/Tendermint-style) in which agents exchange signed quorum certificates (QCs) across view changes. Does not apply to single-leader Raft with trusted membership, nor to systems where agents share an append-only log with a sole sequencer and no view-change path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-certificate-forgery-from-surviving-a-byzantine-agent-s-view-merge-in-bft-task-commitment-consensus.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-certificate-forgery-from-surviving-a-byzantine-agent-s-view-merge-in-bft-task-commitment-consensus.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-certificate-forgery-from-surviving-a-byzantine-agent-s-view-merge-in-bft-task-commitment-consensus.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1664,
    "python_slice_tokens": 382,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **QC validity** (the certificate is cryptographically well-formed and carries ≥ 2f+1 distinct signatures) and **QC soundness** (the certificate actually commits the value it claims, within the view and sequence number it claims). A Byzantine agent can trivially forge a *valid-looking* QC by collecting real signatures f...",
    "what_was_observed": "During a task-commitment round across 7 agents (f=2 Byzantine tolerance, quorum=5), agent `B2` (Byzantine) initiated a view change from view 4 to view 5 after the leader `L4` stalled mid-`COMMIT`. `B2` broadcast a `NEW_VIEW` message containing a QC that purported to commit task-assignment `T-8817` to agent `A3` at sequence 12. The QC carried 5 valid ECDSA signatures from honest agents `A1, A2, A4, A5, A6`. However, t...",
    "condition_of_validity": "The safety invariant that prevents this is **QC payload binding**: a quorum certificate is sound only if every signature it aggregates is over a canonical byte string that includes `(protocol_id, phase, view, seq, value_digest)`, and the receiving agent recomputes that byte string from the QC's *claimed* metadata and verifies each signature against it. Forma...",
    "decision_boundary": "The boundary between safe and unsafe view-merge is whether the receiver treats the QC's metadata as *claimed* (must be re-derived and verified) versus *trusted* (accepted as given). Three concrete decision rules bound the failure: - **Reject on canonicalization mismatch.** If the canonical byte string used for signature verification does not include all of `...",
    "operational_effect": "The operational consequence of the gap is **duplicate non-idempotent execution across disjoint honest commit sets**, which manifests as double-debit, double-claim, or double-dispatch in any task whose effect is not idempotent. Because the signatures are genuine, cryptographic audit trails show no forgery—the failure is invisible to signature-count monitoring..."
  },
  "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": "c67c3c0954374dbe8dd5692961c5c4de4a3c6e6baa6097e5f883d251c83218fd",
    "verified_classes": [
      "QCSoundnessError",
      "QC"
    ],
    "verified_functions": [
      "canonical_bytes",
      "verify_qc",
      "merge_view"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "QCSoundnessError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
