{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-committed-task-disagreement-when-byzantine-agents-equivocate-across-mcp-tool-boundaries",
  "title": "Which invariants prevent committed-task disagreement when Byzantine agents equivocate across MCP tool boundaries",
  "date_of_record": "2026 November 26",
  "scope": "Applies to multi-agent swarms where task commitment and shared-state agreement are reached via Byzantine fault-tolerant (BFT) consensus and state is mutated through MCP (or A2A) tool calls. Does not apply to single-agent loops, read-only fan-out, or systems where all tool servers are trusted and non-equivocating.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-committed-task-disagreement-when-byzantine-agents-equivocate-across-mcp-tool-boundaries.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-committed-task-disagreement-when-byzantine-agents-equivocate-across-mcp-tool-boundaries.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-committed-task-disagreement-when-byzantine-agents-equivocate-across-mcp-tool-boundaries.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1605,
    "python_slice_tokens": 205,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *consensus safety* (no two honest agents commit conflicting values) and *commitment observability* (every honest agent can prove what was committed). Classical BFT guarantees the first. Multi-agent systems routinely violate the second, and the violation is invisible to the consensus layer because it lives one layer up—...",
    "what_was_observed": "A 7-agent swarm (tolerates f=2) ran a task-commitment protocol over an MCP tool server that exposed `commit_task(task_id, payload, cert)`. The protocol: agents run PBFT-style prepare/commit rounds, then each agent that observes 2f+1 commit messages calls `commit_task` with its collected certificate. A Byzantine agent `B1` sent prepare messages for `v=A` to agents {1,2,3} and for `v=B` to agents {4,5,6}. Because the q...",
    "condition_of_validity": "The safety argument for the protocol above holds **only if** the tool server enforces *commit-certificate uniqueness per task_id*—i.e., it rejects any second certificate for a task_id already committed, and it rejects any certificate whose signature set overlaps insufficiently with the first. This is the missing invariant: **the tool boundary must be the lin...",
    "decision_boundary": "The decision boundary is: **does the tool server reject a second valid certificate for the same task_id, even if that certificate is cryptographically sound?** - If yes → the tool layer is a linearization point; the swarm is safe against equivocation. - If no → the swarm is only safe against *crash* faults, not *Byzantine* faults. Any agent that can present ...",
    "operational_effect": "The operational effect of missing this invariant is **silent commitment divergence**: the swarm believes it has agreed, every agent's local log shows a valid certificate, and yet the shared state is inconsistent. This is worse than a crash because there is no error to detect—reconciliation must be done by comparing certificates across agents, which requires ..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "821cf5dbe9c12078c6473ee9a81d3bf4fd98f296909722a447d11683e4add740",
    "verified_classes": [
      "CommitmentEquivocationError",
      "CommitLedger"
    ],
    "verified_functions": [
      "handle_commit",
      "__init__",
      "commit"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CommitmentEquivocationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
