{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-quorum-ordered-tool-result-divergence-from-surviving-a-byzantine-agent-s-equivocating-replay-in-multi-agent-consensus",
  "title": "Which invariants prevent quorum-ordered tool-result divergence from surviving a Byzantine agent's equivocating replay in multi-agent consensus",
  "date_of_record": "2026 November 29",
  "scope": "Applies to multi-agent systems where N ≥ 3f+1 agents independently invoke tools and reach a consensus decision on the *outcome* of those tool calls (not merely on the request). Does not apply to single-agent retry logic, pure read-only fan-out, or systems where tool results are supplied by a single trusted oracle.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-ordered-tool-result-divergence-from-surviving-a-byzantine-agent-s-equivocating-replay-in-multi-agent-consensus.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-ordered-tool-result-divergence-from-surviving-a-byzantine-agent-s-equivocating-replay-in-multi-agent-consensus.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-ordered-tool-result-divergence-from-surviving-a-byzantine-agent-s-equivocating-replay-in-multi-agent-consensus.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1871,
    "python_slice_tokens": 440,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not \"an agent lies.\" It is subtler: a Byzantine agent *equivocates on the tool result itself*, returning outcome A to peers P1..Pk and outcome B to peers Pk+1..Pn, where both A and B are individually plausible because the tool is non-deterministic (clock skew, paginated reads, eventual-consistency reads, rate-limited partial response...",
    "what_was_observed": "A 7-agent swarm (f=2 tolerated Byzantine) ran a deployment-verification task. Each agent called a `get_service_health` tool against a flapping endpoint returning HTTP 200 with `status: \"degraded\"` on ~30% of calls and `status: \"healthy\"` otherwise. The tool was non-idempotent in the observation sense: same request, different result, no error. Agent B (the Byzantine one) called the tool, received `degraded`, and legit...",
    "condition_of_validity": "The guardrail holds only when three conditions are jointly satisfied: 1. **Request-nonce binding.** Every tool invocation carries a unique, agent-signed nonce. A vote is valid only if it references a transcript `(nonce, tool_id, args_hash, result_hash)` where the nonce was issued by the voter and has not been consumed by that voter in a prior round. This kil...",
    "decision_boundary": "The boundary between safe and unsafe is whether the tool is **outcome-deterministic under a fixed nonce**. If the tool guarantees the same result for the same `(nonce, args)`—i.e., it is a pure function or a read-your-writes linearizable read—then vote-counting consensus is sound, because two distinct outcomes for one nonce are themselves cryptographic proof...",
    "operational_effect": "The corrected protocol adds one round of latency on `INDETERMINATE` (re-invocation under fresh nonces, which for a flapping endpoint resolves within 2–3 rounds with high probability) and requires the registry to track per-agent nonce consumption. In exchange, it converts the equivocation attack from a *silent false commit* into a *detectable, slashable event..."
  },
  "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": "e4d3da2be3144292ca4b15068c30f6e82f16829705fdcd952a1b611237a9fcbf",
    "verified_classes": [
      "EquivocationCommitError",
      "Transcript"
    ],
    "verified_functions": [
      "commit_outcome",
      "verify_and_commit"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "EquivocationCommitError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
