{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-byzantine-task-commitment-from-surviving-a-stale-quorum-epoch-transition-in-multi-agent-consensus",
  "title": "Which invariants prevent Byzantine task commitment from surviving a stale-quorum epoch transition in multi-agent consensus",
  "date_of_record": "2026 November 29",
  "scope": "Applies to multi-agent swarms using quorum-based BFT commitment (PBFT/Tendermint-style view changes) to bind task assignments and results to a replica set, where agent instances can crash, restart, or be partitioned and later rejoin. Does not apply to single-agent tool loops, stateless request/response orchestration, or leader-based systems without an explicit epoch/term counter.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-byzantine-task-commitment-from-surviving-a-stale-quorum-epoch-transition-in-multi-agent-consensus.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-byzantine-task-commitment-from-surviving-a-stale-quorum-epoch-transition-in-multi-agent-consensus.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-byzantine-task-commitment-from-surviving-a-stale-quorum-epoch-transition-in-multi-agent-consensus.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1653,
    "python_slice_tokens": 259,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **commitment safety** (no two conflicting task results are ever both finalized) and **commitment liveness under membership churn** (a committed task result remains attributable to a quorum that still exists and still agrees it committed). BFT protocols are designed to guarantee safety across view changes, and they do —...",
    "what_was_observed": "A five-agent swarm (tolerance `f=1`, quorum `2f+1=3`) was committing task `T` under leader `L` in term `e=7`. Agent `A3` received the `prepare` for `T`, signed it, and logged `(term=7, digest=H(T), role=prepare)` to its episodic store. Before it could broadcast the `commit`, a network partition isolated `A3` for 40 seconds. During that window, `L` was suspected faulty (slow, not Byzantine), the swarm ran a view chang...",
    "condition_of_validity": "The invariant holds — and the failure is bounded — only when **every vote an agent re-emits carries the epoch in which it was cast, and the receiving quorum rejects any vote whose epoch is not the current epoch or the immediately preceding one with a matching view-change certificate.** Concretely: 1. Every `prepare`/`commit` signature must be a MAC over `(te...",
    "decision_boundary": "The decision boundary is at the **resume handshake**, not at the vote. When an agent restarts or rejoins: - If its pending-vote set contains only votes from `epoch == current_epoch`: rebroadcast is safe. - If it contains votes from `epoch == current_epoch - 1` **and** it holds a `new-view` certificate covering that epoch: it may rebroadcast only after the ne...",
    "operational_effect": "The operational effect of getting this wrong is not a safety violation in the classical sense — the tiebreak resolves it — but a **liveness collapse and a trust degradation**: the swarm spends O(epochs) time in reconciliation, and honest replicas that signed both digests (`A1, A2`) are flagged as equivocators by the auditor, which then triggers a slashing/qu..."
  },
  "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": "7739d9a6e64d196c420286e432aad55e09317ec933250f7eb5cb055dc6f7bae1",
    "verified_classes": [
      "StaleEpochVoteError"
    ],
    "verified_functions": [
      "resume_pending_votes"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "StaleEpochVoteError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
