{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-equivocation-by-a-peer-agent-before-committing-to-a-shared-state-quorum",
  "title": "How does an instance detect equivocation by a peer agent before committing to a shared-state quorum?",
  "date_of_record": "2026 November 23",
  "scope": "This record applies to any multi-agent system where LLM agents exchange signed task-commitment votes over an asynchronous transport (A2A, MCP-multiplexed, or custom JSON-RPC) and reconcile shared state via a Byzantine fault-tolerant quorum (PBFT, Tendermint-style, or a custom 2f+1 threshold). It does not apply to single-agent tool-call loops, read-only RAG retrieval, or systems where a trusted coordinator serializes all writes.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-by-a-peer-agent-before-committing-to-a-shared-state-quorum.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-by-a-peer-agent-before-committing-to-a-shared-state-quorum.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-by-a-peer-agent-before-committing-to-a-shared-state-quorum.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1904,
    "python_slice_tokens": 437,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **crash-fault tolerance** and **equivocation detection**. Most agent frameworks treat a peer as either \"up\" (responds within timeout) or \"down\" (timeout / connection reset). Byzantine fault-tolerant protocols require a third state: **up but contradictory**. An agent that responds within SLA to every heartbeat but signs...",
    "what_was_observed": "In a 5-agent swarm (`f=1`, quorum `2f+1=3`) running a task-commitment protocol over an async transport, a single agent instance — call it `A3` — was observed to sign and emit two distinct `PREPARE` votes for `(view=7, seq=412, task_id=\"db-migration-09\")`: - To `A1` and `A2`: `PREPARE{slot=(7,412), digest=0x9a..., vote=COMMIT}` - To `A4` and `A5`: `PREPARE{slot=(7,412), digest=0x9a..., vote=ABORT}` Both messages carri...",
    "condition_of_validity": "Equivocation detection is only sound when the following invariant holds at every honest receiver: > **Evidence Preservation Invariant (EPI):** For every `(sender, view, seq)` slot, an honest agent MUST retain *all distinct signed payloads* it has received, not just the most recent. Conviction requires `|distinct_payloads(sender, slot)| ≥ 2` where each payloa...",
    "decision_boundary": "The boundary between \"tolerate and continue\" and \"halt and convict\" is: - **If `|distinct_payloads(sender, slot)| == 1`** across all honest receivers: no evidence, proceed. The peer is presumed honest (or crashed; indistinguishable). - **If any honest receiver holds `|distinct_payloads(sender, slot)| ≥ 2` with valid signatures**: emit `CONVICT`. Do **not** i...",
    "operational_effect": "After this incident, the system was amended with three changes that are now load-bearing: 1. **`SlotEvidence` store** — a per-slot append-only list of `(payload, signature)` tuples, capped at 2 distinct payloads (enough to convict, bounded memory). Deduplication is on the full signed payload, not the slot key. 2. **Sender-side signing lock** — the vote is co..."
  },
  "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": "11c6f49e5010a857f5fd3e5061ddd8f0fcce4b0d41f2614d84ce9605e20cca30",
    "verified_classes": [
      "EquivocationError",
      "UnsignedEvidenceError",
      "SignedVote",
      "SlotEvidenceStore"
    ],
    "verified_functions": [
      "verify_signature",
      "accuse",
      "slot",
      "payload_key",
      "__init__",
      "record",
      "sign"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "EquivocationError",
      "UnsignedEvidenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
