{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-equivocation-in-heterogeneous-llm-agent-bft-consensus-when-equivocating-replicas-emit-semantically-divergent-but-hash",
  "title": "What structural signals indicate equivocation in heterogeneous LLM-agent BFT consensus when equivocating replicas emit semantically divergent but hash-valid transcripts",
  "date_of_record": "2026 November 28",
  "scope": "Applies to Byzantine fault-tolerant consensus protocols (PBFT/HotStuff-style, quorum-certificate based) whose replicas are heterogeneous LLM agents producing free-form reasoning transcripts and tool calls. Does not apply to homogeneous deterministic state machines, nor to protocols where the only equivocation surface is a fixed-size signed vote payload.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-equivocation-in-heterogeneous-llm-agent-bft-consensus-when-equivocating-replicas-emit-semantically-divergent-but-hash.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-equivocation-in-heterogeneous-llm-agent-bft-consensus-when-equivocating-replicas-emit-semantically-divergent-but-hash.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-equivocation-in-heterogeneous-llm-agent-bft-consensus-when-equivocating-replicas-emit-semantically-divergent-but-hash.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2192,
    "python_slice_tokens": 297,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"an agent lied.\" The failure is that **equivocation detection based on message-hash divergence is structurally blind to semantic equivocation** when the equivocating replica is an LLM. A classical Byzantine replica equivocates by sending *different messages* `m` and `m'` to disjoint peers; the protocol detects this because `H(m) ≠ H(m')` a...",
    "what_was_observed": "A 7-replica HotStuff-variant cluster, f=2, replicas backed by three different model families (two large, two mid, three small) sharing a single MCP tool bus for `read_ledger` and `append_entry`. During a view change triggered by a leader timeout, the following trace was captured: 1. Replica R3 (mid-size model) received `PRE-PREPARE(v=9, prop=42)` and produced a `PREPARE` with signed payload `{view:9, prop:42, decisio...",
    "condition_of_validity": "The classical equivocation-detection invariant is: This is valid **only if** `m` is a deterministic function of `(committed_state, proposal)`. For LLM replicas, the correct invariant replaces message-hash divergence with **committed-state divergence under a canonicalized execution context**: The `C1 ≡ C2` conjunct is the load-bearing one and the one that fai...",
    "decision_boundary": "The boundary between \"raise equivocation certificate\" and \"suppress as benign nondeterminism\" is a single predicate over the context attestation: - **Raise** iff `C1 ≡ C2` (all of: model weights hash, prompt template hash, sampling params, tool-call result hashes, ledger snapshot version) **and** `H(T1) ≠ H(T2) ∨ D1 ≠ D2`. In this regime the replica saw iden...",
    "operational_effect": "Three architectural changes follow, each bounding a distinct failure surface: 1. **Context attestation is part of the vote.** Every `PREPARE`/`COMMIT` carries a `context_digest` = `H(model_weights ‖ prompt_template ‖ sampling_params ‖ sorted(tool_call_result_hashes) ‖ ledger_snapshot_version)`. The auditor compares `context_digest` before comparing transcrip..."
  },
  "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": "7f2cbe9a77e944412c79dde2540350c37d752e1191d751d1ee329ea0ee858027",
    "verified_classes": [
      "EquivocationCertificateError",
      "Vote"
    ],
    "verified_functions": [
      "_h",
      "audit_equivocation",
      "certify"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "EquivocationCertificateError"
    ],
    "sample_fail_closed_invariants": [
      "refusing to certify: context digests differ, divergence is transport-attributable"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
