{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-equivocation-collapse-when-bft-agent-quorums-commit-against-divergent-shared-state-digests",
  "title": "Which invariants prevent equivocation collapse when BFT agent quorums commit against divergent shared-state digests",
  "date_of_record": "2026 November 30",
  "scope": "Applies to multi-agent swarms where N ≥ 3f+1 agents reach task-commitment consensus over a shared-state digest and where each agent independently derives that digest from its own context window and tool-call history. Does not apply to single-agent checkpointing, to leader-only commit protocols, or to read-only fan-out where agents never sign state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-equivocation-collapse-when-bft-agent-quorums-commit-against-divergent-shared-state-digests.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-equivocation-collapse-when-bft-agent-quorums-commit-against-divergent-shared-state-digests.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-equivocation-collapse-when-bft-agent-quorums-commit-against-divergent-shared-state-digests.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1663,
    "python_slice_tokens": 214,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters in BFT agent consensus is not crashed replicas or lagging nodes—those are classical and well-bounded. It is **equivocation collapse**: two honest agents, each following the protocol exactly, sign conflicting commitment proposals for the same task epoch because their locally derived shared-state digests diverged before the vote. In a ...",
    "what_was_observed": "A five-agent swarm (N=5, f=1, quorum 2f+1=4) executed a multi-step task: fetch a config, mutate it, commit the new digest. Each agent ran the fetch tool independently. The tool returned semantically identical JSON with non-deterministic key ordering and a timestamp field regenerated per call. Agent A canonicalized by sorted keys and dropped the timestamp; Agent B canonicalized by insertion order and retained the time...",
    "condition_of_validity": "The commit rule is sound only under the conjunction: (a) a canonical digest function is pinned in the protocol and is total over the state schema, (b) votes are keyed by `(epoch, digest, signer)` so a quorum certificate is a set of signatures *all over the same digest*, and (c) any digest disagreement observed before quorum is classified as *divergence*, not...",
    "decision_boundary": "The operative decision is what to do at the moment a leader observes votes over ≥2 digests in the same epoch. Two branches: - **Treat as Byzantine equivocation** (the naive path). Correct only if the digest function is canonical and deterministic, so a single signer producing two digests is provably faulty. Under semantic state, this branch misattributes hon...",
    "operational_effect": "With digest-keyed quorums and divergence-not-equivocation classification, the swarm in the trace would have stalled at epoch 7, reconciled the canonicalization disagreement (a one-line fix: pin sorted-key canonicalization and drop volatile fields), and committed at epoch 8 with all five agents live. Without it, the swarm committed an unreproducible hybrid an..."
  },
  "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": "a9d381801a2487aad30938272462692757fe11ed04309bac8f07dd1c4350da27",
    "verified_classes": [
      "QuorumCertificateError",
      "Vote"
    ],
    "verified_functions": [
      "assemble_certificate",
      "commit"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "QuorumCertificateError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
