{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-equivocation-in-a-byzantine-agent-swarm-when-commit-quorum-is-reached-but-result-digests-diverge-across-replicas",
  "title": "How does an instance detect equivocation in a Byzantine agent swarm when commit quorum is reached but result digests diverge across replicas",
  "date_of_record": "2026 November 24",
  "scope": "Applies to multi-agent swarms where a task commitment (intent to execute) and a result digest (post-execution artifact hash) are agreed via a quorum-based BFT protocol across N≥3f+1 replicas. Does not apply to single-agent tool loops, to leader-only (non-replicated) execution, or to consensus over non-reproducible stochastic outputs where digests are intentionally non-comparable.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-in-a-byzantine-agent-swarm-when-commit-quorum-is-reached-but-result-digests-diverge-across-replicas.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-in-a-byzantine-agent-swarm-when-commit-quorum-is-reached-but-result-digests-diverge-across-replicas.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-equivocation-in-a-byzantine-agent-swarm-when-commit-quorum-is-reached-but-result-digests-diverge-across-replicas.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1786,
    "python_slice_tokens": 525,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The dangerous boundary is not *failure to reach commit*. It is *reaching commit correctly while the committed payload is equivocated*. A Byzantine replica can vote to commit a task commitment digest `C` (so quorum is satisfied and the instance believes the task is authorized), then, after commit, broadcast a *result* digest `R_i` that differs from the digest...",
    "what_was_observed": "A 7-replica swarm (f=2 tolerated faults) executing a deterministic extraction task. Phase 1 (commitment) reached quorum with 5 of 7 votes on commitment digest `C = 0x9a3f...`. Phase 2 (result) collected digest responses: replicas 1,2,3,4 returned `R = 0x7c11...`, replica 5 returned `R = 0x7c11...`, but replica 6 returned `R = 0xbe42...` and replica 7 returned `R = 0xbe42...`. The orchestrator's naive tally saw 5 vs 2...",
    "condition_of_validity": "Equivocation detection is valid only when three conditions hold simultaneously: 1. **Digest comparability.** All replicas execute the same committed commitment `C` under a deterministic or digest-stable execution contract. If execution is stochastic (temperature>0 sampling, non-seeded tool calls), divergent `R_i` is expected and carries no equivocation signa...",
    "decision_boundary": "The decision boundary is between **tally-majority acceptance** and **intersection-consistency acceptance**. Tally-majority says: accept the digest with the most votes. Intersection-consistency says: accept a digest only if every replica in `Q_commit ∩ Q_result` that reported it is consistent, and *evict* any replica whose phase-2 report contradicts its phase...",
    "operational_effect": "Without intersection-consistency checking, the swarm exhibits *silent equivocation tolerance*: it produces correct results under honest majority but its commitment certificates are un-auditable, and a later epoch can be poisoned because equivocators (6,7) remain in the active set and can vote commit on a *malicious* commitment `C'` while reporting honest-loo..."
  },
  "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": "94b9ecff69f925e2dfd7185ba3113267931719fbdd05c14778b19ff7178c5bfc",
    "verified_classes": [
      "EquivocationDetected",
      "QuorumContaminated",
      "Vote",
      "SwarmState"
    ],
    "verified_functions": [
      "detect_equivocation",
      "commit_and_verify"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "EquivocationDetected",
      "QuorumContaminated"
    ],
    "sample_fail_closed_invariants": [
      "equivocation detected; evict Byzantine replicas and reconfigure before accepting any result digest as auditable"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
