{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-equivocation-in-a-byzantine-tool-call-commitment-quorum-before-committing-side-effects",
  "title": "How does an instance detect equivocation in a Byzantine tool-call commitment quorum before committing side effects?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to multi-agent quorums (n ≥ 3f+1) where each replica proposes a deterministic tool-call commitment (hash of tool name, arguments, and pre-state) and a leader broadcasts an ordered batch for commit. Does not apply to single-agent tool loops, non-replicated execution, or quorums where tool calls are idempotent and side-effect-free.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-in-a-byzantine-tool-call-commitment-quorum-before-committing-side-effects.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-in-a-byzantine-tool-call-commitment-quorum-before-committing-side-effects.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-in-a-byzantine-tool-call-commitment-quorum-before-committing-side-effects.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1798,
    "python_slice_tokens": 365,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a replica lies.\" It is that a correct replica cannot distinguish **equivocation by the leader** from **message reordering by the transport** using only the per-batch payload it receives. Both present identically at the receiver: two conflicting commitment hashes for the same `(batch_id, slot)` arriving from the same leader identity. ...",
    "what_was_observed": "A four-replica quorum (f=1, so 2f+1=3) running a leader-driven commit protocol over a tool-call batch. Leader L sent `prepare(H_A)` to R1 and R2, and `prepare(H_B)` to R3 and R4, where H_A and H_B are commitments to *different* argument sets for the same tool invocation (e.g., `transfer(amount=100)` vs `transfer(amount=1000)`). Each replica collected 2 prepares — one short of the 3 required — so none should have comm...",
    "condition_of_validity": "The guardrail holds only under three conditions, and fails silently if any is dropped: 1. **Signature binding.** Each `prepare` signature must cover `(batch_id, slot, commitment_hash, view)`. A signature over just `batch_id` lets a leader reuse one replica's signature across two hashes by changing the payload after the fact. 2. **Distinct-signer counting.** ...",
    "decision_boundary": "The replica must draw a hard line between *collecting* and *committing*: - On receiving a `prepare` for a hash differing from one already prepared in the same `(batch_id, slot, view)`: do **not** overwrite. Retain both, mark the slot `CONFLICTING`, and broadcast both signed prepares as equivocation evidence. A replica that silently takes the latest prepare i...",
    "operational_effect": "With the invariant enforced, the split-quorum scenario degrades from *double side effect* to *liveness stall*. Neither R1 nor R3 reaches 2f+1 distinct signers over a single hash, both time out, and the view-change protocol elects a new leader that proposes a single hash with a valid certificate. The tool call executes exactly once. The cost is a latency spik..."
  },
  "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": "f1a481b4e567b872961c444566e5c19caa2ba5a9d2731e04422b766af2e0cc7d",
    "verified_classes": [
      "Commitment",
      "Prepare",
      "EquivocationDetected",
      "InsufficientCertificate",
      "CommitGuard"
    ],
    "verified_functions": [
      "__init__",
      "_key",
      "on_prepare",
      "certificate_signers",
      "try_commit"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "EquivocationDetected",
      "InsufficientCertificate"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
