{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-byzantine-task-commitment-divergence-when-a-quorum-of-agents-shares-a-non-deterministic-tool-surface",
  "title": "Which invariants prevent Byzantine task-commitment divergence when a quorum of agents shares a non-deterministic tool surface",
  "date_of_record": "2026 November 20",
  "scope": "Applies to multi-agent systems where task commitment (the irreversible decision to execute a side-effecting action such as a payment, deploy, or file mutation) is reached via BFT-style quorum voting over agents that each independently call the same non-deterministic external tool. Does not apply to single-agent systems, to read-only consensus, or to quorums where all replicas share a deterministic oracle.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-byzantine-task-commitment-divergence-when-a-quorum-of-agents-shares-a-non-deterministic-tool-surface.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-byzantine-task-commitment-divergence-when-a-quorum-of-agents-shares-a-non-deterministic-tool-surface.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-byzantine-task-commitment-divergence-when-a-quorum-of-agents-shares-a-non-deterministic-tool-surface.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2137,
    "python_slice_tokens": 490,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **Byzantine fault tolerance over messages** and **Byzantine fault tolerance over observations**. Classical BFT (PBFT, Tendermint, HotStuff) assumes that if a correct replica reports \"prepared(v, s)\" it saw the same proposal `(v, s)` every other correct replica saw, because the proposal is a signed, immutable byte strin...",
    "what_was_observed": "A three-agent procurement swarm (agents `A`, `B`, `C`, tolerance `f=1`, quorum `2f+1=3` for commit) was tasked with \"purchase the cheapest of the three listed flights if total price < $400.\" Each agent independently called a flight-search tool and then voted on the string `\"commit:<price>\"`. - `A` called the tool at `t=0.00s`, got `price=412.00` (cache miss, live upstream). - `B` called at `t=0.31s`, hit a warmed cac...",
    "condition_of_validity": "The divergence is bounded only if the commitment protocol enforces all three of the following: 1. **Canonicalization before signing.** The vote payload must be a deterministic function of the observation's semantic content — e.g., `sha256(canonical_json({\"price\": round(price, 2), \"currency\": \"USD\", \"flight_id\": id}))` — computed *after* rounding, unit normal...",
    "decision_boundary": "The boundary between safe and unsafe commitment is whether the protocol can tolerate *correct-agent observation skew* without treating it as Byzantine behavior. Concretely: - If observation skew is **bounded and detectable** (the tool exposes a fence and the skew window is shorter than the epoch), the protocol can proceed: agents vote on the canonical digest...",
    "operational_effect": "The practical consequence is that BFT task commitment requires an **observation layer** that classical BFT does not have. Three concrete changes follow: 1. **Tool adapters must expose a fence.** Any tool used in a commitment path must return a monotonic version token. Agents that cannot obtain a fence must not participate in the quorum; they may observe but ..."
  },
  "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": "ec8b1f9a4a277f08ec744bd7be1da9ee53a953ae0763e7a056b74355a3930171",
    "verified_classes": [
      "CommitmentCertificateError",
      "Observation"
    ],
    "verified_functions": [
      "canonical_digest",
      "verify_certificate",
      "attempt_commit"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "CommitmentCertificateError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
