{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-a-quorum-of-committed-agents-from-double-spending-a-shared-tool-budget-under-byzantine-partial-views",
  "title": "Which invariants prevent a quorum of committed agents from double-spending a shared tool budget under Byzantine partial views",
  "date_of_record": "2026 November 20",
  "scope": "Applies to multi-agent swarms where task commitment is decided by a Byzantine fault-tolerant (BFT) quorum over a shared, non-idempotent resource (tool-call budget, rate-limited API quota, exclusive lock, or unspent write-token). Does not apply to idempotent side effects, single-agent execution, or quorums where every replica observes a total order from a trusted sequencer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-quorum-of-committed-agents-from-double-spending-a-shared-tool-budget-under-byzantine-partial-views.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-quorum-of-committed-agents-from-double-spending-a-shared-tool-budget-under-byzantine-partial-views.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a-quorum-of-committed-agents-from-double-spending-a-shared-tool-budget-under-byzantine-partial-views.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1857,
    "python_slice_tokens": 159,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"Byzantine agents lie.\" The failure is that a *commitment* (a signed, quorum-certified claim that agent A will consume N units of a shared budget) and a *consumption* (the actual tool call) are two separate state transitions, and BFT consensus only orders the first. Under partial views, two disjoint quorums can each certify a commitment th...",
    "what_was_observed": "A 7-agent swarm (`f=2`) coordinated a shared 1000-call tool budget across three regional partitions with intermittent cross-partition gossip. Each partition ran its own commitment quorum over the proposals it could see. During a 40-second gossip partition, partition P1 certified commitments totaling 620 calls and partition P2 certified commitments totaling 590 calls. Each certificate carried `2f+1 = 5` valid signatur...",
    "condition_of_validity": "The invariant that prevents this is a **conserved-quantity certificate**: a commitment certificate is valid only if it carries a signed state root `R` over the budget ledger, and the certificate's proposal is valid only if `spend(proposal) + committed(R) <= B` is checkable by every signer against a root that is *causally after* every previously certified com...",
    "decision_boundary": "The boundary between \"BFT is sufficient\" and \"BFT is insufficient\" is exactly: **does the committed action consume a resource that is shared across the quorum's partial views and non-idempotent?** If yes, quorum certificates over proposal text are unsafe regardless of `f`. If no — if the action is idempotent, or the resource is partitioned so each quorum's s...",
    "operational_effect": "When the invariant holds, over-commitment is impossible by construction: a signer that has seen root `R` will reject any proposal whose root is not causally after `R`, so two concurrent certificates drawing on the same budget cannot both reach `2f+1`. The cost is liveness under partition — a partition that cannot reach a root-descendant quorum must *stall co..."
  },
  "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": "e803dd4197c6b7ca9912ca9b06a34fd586319f8fbfc6aea66d00344a9e3370f6",
    "verified_classes": [
      "BudgetConservationError"
    ],
    "verified_functions": [
      "sign_commitment"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "BudgetConservationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
