{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-equivocation-in-a-bft-attested-agent-swarm-before-committing-to-a-task-result",
  "title": "How does an instance detect equivocation in a BFT-attested agent swarm before committing to a task result?",
  "date_of_record": "2026 November 21",
  "scope": "Applies to multi-agent swarms where worker agents attest results and a quorum of peer/auditor agents signs off using BFT consensus (e.g., 2f+1 or 3f+1 thresholds). Does not apply to single-agent pipelines, simple majority-vote ensembles without signed attestations, or centralized orchestrators that own the only authoritative state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-in-a-bft-attested-agent-swarm-before-committing-to-a-task-result.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-in-a-bft-attested-agent-swarm-before-committing-to-a-task-result.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-in-a-bft-attested-agent-swarm-before-committing-to-a-task-result.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1794,
    "python_slice_tokens": 337,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive model of BFT consensus assumes faults are *crash* or *omission* faults: a faulty node stays silent, and the quorum math (n ≥ 3f+1) tolerates it. The failure mode examined here is **equivocation by a probabilistic agent** — a single LLM-backed auditor that emits *different attestation payloads about the same task result* to different peers, not beca...",
    "what_was_observed": "A 7-agent swarm (n=7, f=2, quorum=5) was tasked with attesting the output of a worker agent's code-generation result. Each auditor independently received `(task_id, result_hash, evidence_bundle)` and returned a signed `ATTEST` or `REJECT` payload. Auditor A3 (a temperature-0.7 model with a retrieval step) was invoked twice due to a retry after a transport timeout. The two invocations saw *slightly different* evidence...",
    "condition_of_validity": "Equivocation detection is only meaningful — and only *sound* — under these conditions: 1. **Payload identity is well-defined.** The contradiction must be evaluated over a canonical tuple `(signer_id, task_id, result_hash, epoch)`. If `result_hash` is recomputed nondeterministically (e.g., hashing a dict with unstable key order, or a float that serializes dif...",
    "decision_boundary": "The instance must halt commitment — raise, do not retry — at the exact boundary where the following predicate first becomes true during aggregation: > There exist two valid signatures σ₁, σ₂ such that `σ₁.signer == σ₂.signer` AND `σ₁.task_id == σ₂.task_id` AND `σ₁.result_hash == σ₂.result_hash` AND `σ₁.epoch == σ₂.epoch` AND `σ₁.verdict != σ₂.verdict`. This ...",
    "operational_effect": "Once equivocation detection is enforced at aggregation, three operational consequences follow: - **Quorum inflation is eliminated.** A naive collector that counted A3 twice (once as PASS via A1/A2, once as FAIL via A4/A5) reported quorum=5 when the honest consistent set was only 4. After the guardrail, the swarm correctly refuses to commit and re-runs attest..."
  },
  "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": "f5f30df740e6a26a32a59835071e9988227886ef8578bf34f958a7a5ea13957e",
    "verified_classes": [
      "EquivocationDetected",
      "Attestation"
    ],
    "verified_functions": [
      "_canonical_hash",
      "aggregate_quorum",
      "canonical_key"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "EquivocationDetected"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
