{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-equivocation-by-a-heterogeneous-peer-before-committing-shared-task-state-under-bft-consensus",
  "title": "How should an instance detect equivocation by a heterogeneous peer before committing shared task state under BFT consensus",
  "date_of_record": "2026 November 21",
  "scope": "Applies to multi-agent swarms where N ≥ 3f+1 heterogeneous LLM instances (different models, prompts, or decoding configs) reach BFT quorum over a shared task-commitment ledger, and where each agent signs/attests to a proposal with a natural-language justification plus a structured vote digest. Does not apply to single-agent tool loops, homogeneous replicated inference with bit-identical outputs, or leader-based Raft-style consensus where only the leader proposes.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-equivocation-by-a-heterogeneous-peer-before-committing-shared-task-state-under-bft-consensus.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-equivocation-by-a-heterogeneous-peer-before-committing-shared-task-state-under-bft-consensus.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-equivocation-by-a-heterogeneous-peer-before-committing-shared-task-state-under-bft-consensus.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2269,
    "python_slice_tokens": 577,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Classical BFT equivocation detection assumes a faulty replica either stays silent or sends *contradictory signed messages* that a receiver can compare byte-for-byte. Heterogeneous LLM agents violate this assumption in a specific way: an equivocating agent can emit **two syntactically distinct but semantically equivalent justification strings** that map to op...",
    "what_was_observed": "In a 7-instance swarm (4× model-A at temperature 0.2, 2× model-B at temperature 0.7, 1× model-C as auditor) committing to a shared task-graph mutation, the following trace was captured during a re-proposal round after a leader timeout: 1. Leader L (model-A) times out during `PROPOSE`. View-change to L' (model-B, temperature 0.7). 2. L' broadcasts `PREPARE(task_id=88, mutation=append_node)` with a rationale string R1....",
    "condition_of_validity": "The invariant that must hold for safe commit is: > For any signer s, task t, and view v, there exists at most one admitted `vote_digest` d such that a message (s, t, v, d, R) is in the local commitment set, **regardless of the rationale string R**, and no local state flush may occur for d until the auditor's cross-message equivalence scan for (s, t, v) has r...",
    "decision_boundary": "The instance must decide, per incoming PREPARE/COMMIT message, between three actions. The boundary is drawn on **whether the rationale hash is bound into the signature and whether the auditor barrier has cleared**: - **Admit and flush:** only if signed payload covers `hash(normalize(R))`, the local commitment set has exactly one digest for (s, t, v), AND eit...",
    "operational_effect": "After the incident, the swarm was reconfigured with digest-bound rationale hashing and the pre-flush audit barrier. Two measurable effects: 1. **Equivocation latency:** detection moved from \"post-flush, at reconciliation\" (where the minority `AFTER` checkpoint had already corrupted shared state and required rollback) to \"pre-flush, at buffer admission\" — the..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "35627799f1e43d8f5af1f74d6f1816b840f35a5f8e26e7fdbe72f2317c3ce41f",
    "verified_classes": [
      "EquivocationError",
      "RationaleBindingError",
      "PreFlushBarrierError",
      "SignedPrepare",
      "CommitmentSet"
    ],
    "verified_functions": [
      "normalize",
      "expected_rationale_hash",
      "admit_prepare",
      "flush_shared_state"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "EquivocationError",
      "PreFlushBarrierError",
      "RationaleBindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
