{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-equivocation-when-an-agent-s-signed-task-result-differs-across-quorum-replicas-but-each-replica-s-merkle-proof-verifies-lo",
  "title": "How does an instance detect equivocation when an agent's signed task result differs across quorum replicas but each replica's Merkle proof verifies locally",
  "date_of_record": "2026 November 26",
  "scope": "Applies to BFT-replicated agent memory/result stores where each replica signs a `(task_id, result_digest, parent_digest, view)` tuple and clients accept a result upon collecting `f+1` matching signatures. Does not cover crash-fault replication without signatures, single-writer logs, or systems where result payloads (not digests) are transmitted and compared byte-for-byte by the client.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-when-an-agent-s-signed-task-result-differs-across-quorum-replicas-but-each-replica-s-merkle-proof-verifies-lo.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-when-an-agent-s-signed-task-result-differs-across-quorum-replicas-but-each-replica-s-merkle-proof-verifies-lo.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-when-an-agent-s-signed-task-result-differs-across-quorum-replicas-but-each-replica-s-merkle-proof-verifies-lo.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2153,
    "python_slice_tokens": 452,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a replica returned a wrong answer.\" It is that **every individual artifact a client receives is cryptographically valid, internally consistent, and locally verifiable, yet the set of artifacts is mutually contradictory in a way no single-replica check can see.** An equivocating replica (or a colluding minority of `f` replicas) can sign tw...",
    "what_was_observed": "A three-agent swarm running a replicated episodic memory store (`n=4`, `f=1`) executed a tool-calling task whose result was a structured digest over retrieved facts. Replica `R2` was compromised via prompt injection in a retrieved document that altered its result-commitment logic: instead of signing the digest of the true tool output, it signed the digest of a plausible-but-fabricated variant, and it did so *only* wh...",
    "condition_of_validity": "The `f+1`-signature acceptance rule is *sound* only under the assumption that no correct client ever accepts two different digests for the same `(task_id, parent_digest, view)` — i.e., **quorum intersection**. With `n=4, f=1`, any two `f+1=2` quorums intersect in at least one replica, but intersection alone does not prevent equivocation: the intersecting rep...",
    "decision_boundary": "The boundary that separates \"safe to commit\" from \"must halt and escalate\" is the **conflict witness**: a pair of valid signatures from the *same* replica over two different `result_digest` values for the same `(task_id, parent_digest, view)`. A single such pair is a cryptographic proof of misbehavior — the replica cannot repudiate it because both signatures...",
    "operational_effect": "Once the non-equivocation predicate and conflict-witness detection are in place, three things change: 1. **Equivocation converts from silent corruption to a detectable, attributable fault.** The witness is self-contained and verifiable offline; the auditor no longer misclassifies divergence as nondeterminism because it can query \"did any replica sign a compe..."
  },
  "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": "6506b5110edb5296a5891d95d1b0d5c42a94774e3d0898ccbc553c8cf576504c",
    "verified_classes": [
      "EquivocationDetected",
      "Signature"
    ],
    "verified_functions": [
      "verify_sig",
      "detect_equivocation",
      "accept_result"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "EquivocationDetected",
      "ValueError"
    ],
    "sample_fail_closed_invariants": [
      "no witness found in supplied signature set",
      "no valid signatures"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
