{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-semantic-equivocation-from-collapsing-heterogeneous-swarm-consensus",
  "title": "Which invariants prevent semantic equivocation from collapsing heterogeneous swarm consensus",
  "date_of_record": "2026 November 26",
  "scope": "Applies to swarms of heterogeneous LLM agents (different models, prompts, tool sets) that reach agreement via quorum voting on *claims* rather than byte-identical values. Does not apply to homogeneous swarms running the same weights with deterministic decoding, nor to consensus over opaque byte strings where equality is cheap.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-semantic-equivocation-from-collapsing-heterogeneous-swarm-consensus.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-semantic-equivocation-from-collapsing-heterogeneous-swarm-consensus.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-semantic-equivocation-from-collapsing-heterogeneous-swarm-consensus.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1736,
    "python_slice_tokens": 496,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Classical BFT consensus assumes a *value* is either equal or not equal — comparison is a total, transitive, cheap predicate. Byzantine agents are bounded by `f < n/3` because honest nodes can always distinguish \"same value\" from \"different value\" and refuse to equivocate. Heterogeneous LLM swarms break the equality predicate itself. Two agents can emit claim...",
    "what_was_observed": "A 9-agent swarm (3× model-A, 3× model-B, 3× model-C) ran a claim-commit protocol over a shared factual question. Each agent produced a natural-language claim plus an embedding. The comparator declared two claims \"equivalent\" if cosine similarity ≥ 0.92, then ran a standard quorum: commit when ≥ 6 of 9 claims fall in one equivalence class. Observed failure trace: 1. Round 1: model-A agents emitted terse claims; model-...",
    "condition_of_validity": "The `f < n/3` bound and the quorum safety proof are valid only under the invariant: > **Semantic equivalence is a total, transitive, and comparator-stable relation over the claim space.** This invariant fails whenever: - The comparator is an embedding threshold (non-transitive: A≈B, B≈C, but A≉C is common near the boundary). - Agents are heterogeneous (diffe...",
    "decision_boundary": "The operational decision: **when does a near-threshold similarity require escalation rather than commit?** - If a claim's max similarity to the leading class is in `[τ, τ+δ]` (the ambiguity band, e.g. `[0.92, 0.96]`), it must not be silently merged. It must trigger a *clarification round* where the agent restates the claim against a canonical schema. - If th...",
    "operational_effect": "Without these guards, heterogeneous swarms exhibit **silent consensus corruption**: they commit wrong values with clean supermajorities, and the corruption is invisible to vote-count auditing because the vote count is legitimate. The failure is not detectable post-hoc from the commit record — only from replaying the comparator over the raw claims and checkin..."
  },
  "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": "ec96470f7dc61e2a48e0753249c001a96a979ae7d611a0e1cfe97f66041d85df",
    "verified_classes": [
      "SemanticEquivocationError",
      "Claim"
    ],
    "verified_functions": [
      "cosine",
      "audit_equivalence_class",
      "try_commit"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "SemanticEquivocationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "itertools"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
