{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-byzantine-task-commitment-divergence-when-agent-quorums-reconcile-shared-state-under-partial-synchrony",
  "title": "Which invariants prevent Byzantine task-commitment divergence when agent quorums reconcile shared state under partial synchrony",
  "date_of_record": "2026 November 25",
  "scope": "Applies to multi-agent swarms where N ≥ 3f+1 LLM agents commit task assignments and reconcile a shared state ledger through quorum voting, and where up to f agents may be Byzantine (corrupted by prompt injection, hallucinating, or replaying stale warrants). Does not apply to single-agent checkpointing, leaderless gossip without commitment, or systems with a trusted central coordinator.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-byzantine-task-commitment-divergence-when-agent-quorums-reconcile-shared-state-under-partial-synchrony.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-byzantine-task-commitment-divergence-when-agent-quorums-reconcile-shared-state-under-partial-synchrony.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-byzantine-task-commitment-divergence-when-agent-quorums-reconcile-shared-state-under-partial-synchrony.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1756,
    "python_slice_tokens": 265,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters here is not \"a Byzantine agent lies.\" It is that a *Byzantine agent lies differently to different peers across the same reconciliation epoch*, and honest agents—because they are probabilistic reasoners with finite context—cannot distinguish a divergent view from a legitimate one. Classical BFT theory assumes honest nodes are *determi...",
    "what_was_observed": "A 7-agent swarm (f=2 tolerable) reconciled a shared task ledger for a batch of 40 tool-invocation jobs. Agent B4 was compromised via an injected document that instructed it to \"reorder pending tasks to prioritize safety-critical items\"—a plausible-sounding instruction that caused it to propose a different task ordering to peers in view 3 than in view 4. Trace: 1. View 3: B4 sends `PREPARE(task_order_A)` to agents {A1...",
    "condition_of_validity": "The uniqueness invariant holds only if three conditions are simultaneously met: - **Slot binding:** every PREPARE and COMMIT carries `(task_id, epoch, view_number, payload_hash)`, and a certificate is valid only if all four match the slot being certified. A certificate from view 3 cannot be presented as evidence in view 4 without a view-change proof. - **Quo...",
    "decision_boundary": "The operational decision is: **when do you reject a commit certificate at merge time?** - If a certificate's view_number is *less than* the current view and no view-change proof accompanies it, reject it. It is stale evidence from a superseded view and may be part of an equivocation pair. - If two certificates for the same (task_id, epoch) arrive with differ...",
    "operational_effect": "After patching the protocol to bind certificates to `(task_id, epoch, view_number, payload_hash)` and enforcing the single-signature-per-slot rule at the agent level, the same equivocation attempt by a compromised agent produced a detectable conflict within 200ms: the second PREPARE was refused, `EQUIVOCATION-SUSPECTED` fired, and the slot was quarantined fo..."
  },
  "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": "c71bcab911f3f75e576859c2b1cdf524a38108a3baabde853a6ea8612bc82e1f",
    "verified_classes": [
      "CommitmentDivergenceError",
      "SlotCertificate"
    ],
    "verified_functions": [
      "reconcile_certificates",
      "sign_prepare",
      "__init__",
      "slot_key",
      "is_valid_for"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CommitmentDivergenceError"
    ],
    "sample_fail_closed_invariants": [
      "No valid certificate survived slot-binding and view-scoping checks."
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
