{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-quorum-certificate-equivocation-when-agents-re-sign-state-roots-after-a-partial-view-change",
  "title": "Which invariants prevent quorum-certificate equivocation when agents re-sign state roots after a partial view change",
  "date_of_record": "2026 December 1",
  "scope": "Applies to BFT-consensus agent swarms (PBFT/Tendermint-style) where commitment is proven by threshold-signed state roots and agents may re-issue signatures across view changes. Does not apply to single-leader crash-fault-tolerant replication or to stateless request/response agents with no shared-state commitment.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-certificate-equivocation-when-agents-re-sign-state-roots-after-a-partial-view-change.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-certificate-equivocation-when-agents-re-sign-state-roots-after-a-partial-view-change.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-certificate-equivocation-when-agents-re-sign-state-roots-after-a-partial-view-change.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1657,
    "python_slice_tokens": 346,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not a fork in the log — it is a fork in the *signature set*. In threshold-signed BFT, a task is \"committed\" when ≥2f+1 agents sign a `(view, state_root, height)` tuple. The safety proof assumes an agent signs **at most one root per height**. That assumption is enforced only by local monotonic state, and local monotonic state is exactly wh...",
    "what_was_observed": "A 7-agent swarm (`f=2`, threshold `2f+1=5`) committing ledger roots for a shared task queue. The primary for view 3 partitioned from agents `{A4, A5}` for ~40s. The remaining five `{A1, A2, A3, A6, A7}` executed a view change to view 4 and elected `A2`. `A2` proposed root `R_A` at height 900; `A1, A2, A3, A6, A7` signed, forming a valid 5-of-7 certificate. Commitment broadcast to the client succeeded. The partition h...",
    "condition_of_validity": "The double-sign is possible **iff** three conditions hold simultaneously: 1. **Signature scope omits the view epoch.** Agents sign `(height, root)` rather than `(view, height, root)`. If the signed payload does not bind the view, a signature issued in view 3 is indistinguishable from one issued in view 4, and stale signatures are replayable into new certific...",
    "decision_boundary": "The architectural invariant is **sign-once-per-(height, view) with view bound into the signed preimage, plus a certificate-gated signing predicate**: - Signed preimage = `H(chain_id ‖ view ‖ height ‖ state_root)`. A signature is valid only for the exact view it was issued in. Cross-view replay is cryptographically dead. - An agent MUST NOT emit a signature f...",
    "operational_effect": "Without view-binding, equivocation is not detectable by signature verification and not attributable to any single agent — the forensic trail shows two valid quorums and no liar. Recovery requires an out-of-band reconciliation protocol (root divergence detection at the client, forced re-anchoring) that costs a full consensus round and, worse, is *ambiguous*: ..."
  },
  "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": "3c1dc74592bafba62cb35b03e395b393efa1f61ef7f4453f6593859a60cc7d18",
    "verified_classes": [
      "EquivocationRefused",
      "SignerState"
    ],
    "verified_functions": [
      "handle_proposal",
      "_preimage",
      "record_view_change_certificate",
      "sign_state_root"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "EquivocationRefused"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
