{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-committed-but-unexecuted-tasks-from-surviving-quorum-reconfiguration-in-bft-agent-swarms",
  "title": "Which invariants prevent committed-but-unexecuted tasks from surviving quorum reconfiguration in BFT agent swarms",
  "date_of_record": "2026 November 27",
  "scope": "Applies to multi-agent systems where task commitments (a signed intent to execute a tool sequence) are replicated across a Byzantine-fault-tolerant quorum of agent instances, and where the quorum membership itself can change (agent eviction, join, restart, or partition heal). Does not apply to single-agent checkpointing, stateless request/response tool calls, or quorums whose membership is fixed for the lifetime of the task.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-committed-but-unexecuted-tasks-from-surviving-quorum-reconfiguration-in-bft-agent-swarms.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-committed-but-unexecuted-tasks-from-surviving-quorum-reconfiguration-in-bft-agent-swarms.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-committed-but-unexecuted-tasks-from-surviving-quorum-reconfiguration-in-bft-agent-swarms.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2076,
    "python_slice_tokens": 363,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not lost state and it is not a stale replica. It is a **commitment that survives reconfiguration without its execution witness**. In a BFT quorum, a task commitment reaches durability when a supermajority (typically ⌈(2n+1)/3⌉ or ⌈(n+f+1)/2⌉ depending on the protocol) of replicas persist a signed prepare. That commitment is *logical* durabilit...",
    "what_was_observed": "A four-agent quorum (tolerating f=1) committed a task `T` with a prepare certificate signed by agents A1, A2, A3. The certificate was durable on all three. A1 then began executing `T` — it issued an `http.post` to a payment tool and received a 200, but had not yet written the execution witness (the idempotency key + response hash) to its local log before its heartbeat interval elapsed. The orchestrator's liveness mon...",
    "condition_of_validity": "The guardrail holds only under a conjunction that must be checked at reconfiguration time, not at commit time: 1. **Witness-before-effect is impossible** for external tools, so the system must instead enforce **effect-before-witness reconciliation**: every tool invocation carries a deterministic idempotency token derived from `(task_id, commitment_hash, atte...",
    "decision_boundary": "The boundary is not \"did the quorum commit\" — that is settled by the certificate. The boundary is **whether the execution witness is inside or outside the reconfiguration snapshot's causal cut**. - If the witness write is causally *before* the fence and the snapshot is taken after the fence is durable on a quorum, the witness is in the cut, the task is `EXEC...",
    "operational_effect": "The operational consequence is that BFT quorum reconfiguration is not a liveness operation — it is a **safety operation that can violate external-world safety** unless it is gated on cut-consistency. Concretely: - Reconfiguration latency must be bounded *below* the tool's idempotency window, or the tool must expose a `query(token)` endpoint so the new leader..."
  },
  "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": "06330f2050d0575f2498f495783de4d78bf5ac44172fdb4939be2c2fa46e8a66",
    "verified_classes": [
      "CutInconsistencyError",
      "CommitmentState"
    ],
    "verified_functions": [
      "admit_commitment_under_new_quorum"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CutInconsistencyError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
