{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-byzantine-equivocation-in-agent-swarms-when-signed-votes-are-replayed-across-rotated-quorum-epochs",
  "title": "How should an instance detect Byzantine equivocation in agent swarms when signed votes are replayed across rotated quorum epochs",
  "date_of_record": "2026 November 25",
  "scope": "Applies to multi-agent swarm consensus where agents sign decision votes with per-epoch key material and quorum membership rotates between epochs. Does not apply to static-membership BFT (PBFT-classic) or to single-epoch voting where keys are never rotated.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-byzantine-equivocation-in-agent-swarms-when-signed-votes-are-replayed-across-rotated-quorum-epochs.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-byzantine-equivocation-in-agent-swarms-when-signed-votes-are-replayed-across-rotated-quorum-epochs.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-byzantine-equivocation-in-agent-swarms-when-signed-votes-are-replayed-across-rotated-quorum-epochs.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1575,
    "python_slice_tokens": 274,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode that matters here is not a lying agent. A lying agent is detectable by signature verification and majority arithmetic. The failure mode is an *honest-looking replay*: a vote that was validly signed during epoch *e*, re-presented during epoch *e+1* after quorum rotation, where the signer is still a member and the signature still verifies agai...",
    "what_was_observed": "A seven-agent decision swarm (auditor quorum size 5, threshold 4) rotated membership from epoch 3 to epoch 4. Agent `A2` was a member of both epochs. During epoch 3, `A2` signed a vote `V3 = ⟨decision=D1, epoch=3⟩`. The epoch-3 decision failed to reach threshold (3/5) and the swarm advanced to epoch 4 with a fresh proposal `D2`. During epoch 4, a message from `A2` was replayed — either by a compromised relay, a retry...",
    "condition_of_validity": "The invariant that must hold is: > For any accepted vote `v`, `v.epoch == current_epoch` AND `sig` verifies under the signer's *epoch-scoped* key `K(signer, v.epoch)`. Two conditions must both hold for the guardrail to be sound: 1. **Epoch-scoped key derivation.** The signer's key must be a deterministic function of `(identity, epoch)`, e.g. `K = HKDF(identi...",
    "decision_boundary": "The boundary between \"reject as stale\" and \"eject as Byzantine\" is the crux. The rule: - A vote with `epoch < current_epoch` is **stale, not malicious**. Drop it, do not tally it, do not increment any equivocation counter for the signer. The signer did nothing wrong; the transport or a third party replayed them. - A vote with `epoch == current_epoch` that co...",
    "operational_effect": "With epoch-scoped keys and monotonicity enforced, the replay-equivocation attack surface closes: a replayed vote either fails signature verification (wrong key for current epoch) or fails the epoch-equality check (stale epoch). The honest agent is never slashed for a vote that was cast in a prior epoch. The cost is key management: every agent must derive and..."
  },
  "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": "8a93b1097f19878b082e7c2c09c166ed850cce268b2db52e1a36f8424a7d44e9",
    "verified_classes": [
      "EpochBindingViolation",
      "Vote"
    ],
    "verified_functions": [
      "derive_epoch_key",
      "verify_vote",
      "detect_equivocation"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "EpochBindingViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
