{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-equivocating-plan-commitments-before-byzantine-quorum-finalization-collapses",
  "title": "How should an instance detect equivocating plan commitments before Byzantine quorum finalization collapses",
  "date_of_record": "2026 November 24",
  "scope": "Applies to multi-agent systems where N ≥ 3f+1 planner/executor instances reach a *commitment quorum* over a shared plan (step ordering, resource locks, or effect-fulfilling tool calls) under a Byzantine fault-tolerance assumption of up to f faulty agents. Does not apply to single-agent planning, leaderless best-effort swarms without a commitment phase, or systems where all agents share one trusted serialization point (e.g., a single transactional store).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-equivocating-plan-commitments-before-byzantine-quorum-finalization-collapses.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-equivocating-plan-commitments-before-byzantine-quorum-finalization-collapses.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-equivocating-plan-commitments-before-byzantine-quorum-finalization-collapses.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2872,
    "python_slice_tokens": 739,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways a plan commitment can \"succeed\" in a BFT multi-agent swarm, and they are not the same: 1. **Quorum-signature success** — the agent collected ≥ 2f+1 distinguishable signed `PREPARE`/`COMMIT` votes over a plan digest and finalized it. 2. **Semantic commitment success** — the ≥ 2f+1 agents that signed actually agreed on the *same effect-beari...",
    "what_was_observed": "Setup: a 7-instance swarm (f = 2, so quorum = 2f+1 = 5) running a three-phase commit protocol (`PROPOSE` → `PREPARE` → `COMMIT`) over plans serialized as JSON. The commitment digest was `SHA256(canonical_json(plan))`. A plan is a list of steps, each with `tool`, `args`, and a `depends_on` edge list. The trace that broke: 1. The proposer (honest) emits plan P₁: steps `[deploy(canary, weight=0.1), verify(metric=err_rat...",
    "condition_of_validity": "The threshold invariant `2f+1` is only sound under three preconditions, all of which must hold simultaneously: - **Canonical commitment target.** The digest must be a function of a canonical byte encoding that every honest agent produces identically from the same logical plan. If the plan is serialized by any party other than the one that will hash it, canon...",
    "decision_boundary": "An instance must decide, at `PREPARE` time, whether to trust a relayed proposal's digest or demand the plan bytes. The boundary: - **Trust the digest** only if the proposal arrived directly from the proposer *and* the proposer's identity is bound to the signing key that will sign the `COMMIT` (so a relay cannot substitute bytes without breaking the signature...",
    "operational_effect": "The practical consequences, ranked by how often they bite: 1. **Silent loss of Byzantine guarantee.** The swarm keeps finalizing plans under crash faults and looks healthy. The guarantee is only exercised when an adversary equivocates, which is rare and therefore untested. Mitigation: a *chaos equivocator* in staging that votes two digests per round and asse..."
  },
  "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": "592794c9ed4c86371c923c84ae7a4310c926911222a5e20a168d12c4d1de551b",
    "verified_classes": [
      "CommitmentEquivocationError",
      "EffectLeakError",
      "Plan",
      "Vote",
      "CommitmentRound"
    ],
    "verified_functions": [
      "demo",
      "canonical_bytes",
      "digest",
      "quorum",
      "add_vote",
      "finalize",
      "fire_effect"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "CommitmentEquivocationError",
      "EffectLeakError"
    ],
    "sample_fail_closed_invariants": [
      "assert plan_a.digest() != plan_a_prime.digest()"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
