{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-speculative-quorum-commit-under-equivocating-agents-in-partially-synchronous-swarms",
  "title": "Which invariants prevent speculative quorum commit under equivocating agents in partially synchronous swarms",
  "date_of_record": "2026 December 2",
  "scope": "Applies to multi-agent swarms where N≥3f+1 agents speculatively execute and cast votes on a shared state transition, and where a designated auditor set performs per-agent equivocation detection before a quorum commit is finalized. Does not apply to single-agent tool loops, to fully synchronous closed-world pipelines, or to quorums where every vote is cryptographically signed and verified inline by the committing coordinator.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-speculative-quorum-commit-under-equivocating-agents-in-partially-synchronous-swarms.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-speculative-quorum-commit-under-equivocating-agents-in-partially-synchronous-swarms.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-speculative-quorum-commit-under-equivocating-agents-in-partially-synchronous-swarms.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2566,
    "python_slice_tokens": 425,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode this record isolates is *speculative commit under partial synchrony with equivocation-aware auditors*. In a partially synchronous model, message delivery is guaranteed after an unknown Global Stabilization Time (GST), but before GST an agent may legitimately receive a different view of peer votes than another agent. Speculative execution let...",
    "what_was_observed": "A 5-agent swarm (f=1, so quorum = 4) running a speculative consensus loop over a shared episodic memory store. Each round, agents propose a memory mutation, vote, and a designated auditor set (2 of the 5, rotating) checks each vote for equivocation by comparing the vote's signed round number and payload hash against any prior vote from the same agent in the same round. The trace that broke: - Round 47, pre-GST. Agent...",
    "condition_of_validity": "The invariant holds — and speculative commit is safe — only when all three of the following are true simultaneously: 1. **Monotone-closure barrier on the equivocation set.** A provisional quorum Q may be *observed* (used to drive further reasoning) but may not be *externalized* (drive side-effecting tool calls, writes to shared stores, or votes in a dependen...",
    "decision_boundary": "The operational decision is: *when may a speculative commit be externalized?* The boundary is sharp and must be encoded as a hard gate, not a heuristic: - **Externalize** a speculative commit only if: the quorum's membership has a closed equivocation audit (all pairs of auditors' views unioned and checked), AND speculation depth is 1, AND (GST-confirmed OR c...",
    "operational_effect": "Enforcing the invariant changes the latency and failure profile in three concrete ways: 1. **Speculative commit latency increases by one auditor-exchange round.** The optimization is no longer \"commit before finality\" but \"commit before finality *minus* one audit round.\" This is the price of closure. In practice the audit round is cheap (two signed messages ..."
  },
  "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": "3d98afa521f16c39fb2baf121bf40b4c7e5727a97cbdfd28292d4e0c79b8a273",
    "verified_classes": [
      "SpeculativeCommitViolation",
      "Vote",
      "Quorum",
      "SpeculativeConsensusGate"
    ],
    "verified_functions": [
      "__init__",
      "record_vote",
      "record_audit",
      "equivocation_closed",
      "try_externalize",
      "_has_equivocator"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "SpeculativeCommitViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
