{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-joins-a-byzantine-consensus-round-with-a-divergent-commitment-log",
  "title": "What happens when an instance joins a Byzantine consensus round with a divergent commitment log",
  "date_of_record": "2026 November 29",
  "scope": "Applies to multi-agent swarms where N≥4 agents reach task commitment via BFT-style quorum voting (e.g., PBFT, Tendermint-derived, or custom 2f+1 quorum protocols) over a shared commitment log. Does not apply to single-agent orchestration, leaderless CRDT convergence, or non-committing consensus (read-only quorum reads).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-joins-a-byzantine-consensus-round-with-a-divergent-commitment-log.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-joins-a-byzantine-consensus-round-with-a-divergent-commitment-log.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-joins-a-byzantine-consensus-round-with-a-divergent-commitment-log.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1526,
    "python_slice_tokens": 189,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Most BFT literature treats the failure boundary as *honest-but-slow* vs. *Byzantine*. For LLM agents, the dangerous third category is **honest-but-divergent**: an agent that faithfully follows the protocol but whose local commitment log was derived from a different, equally-valid history branch. This agent is not Byzantine (it signs correctly, votes correctl...",
    "what_was_observed": "A 5-agent swarm (f=1 tolerated Byzantine) was executing a multi-step task with a shared commitment log. Agent D was checkpointed and restarted at step 47 after a context-window eviction. Its checkpoint contained the log up to step 45 plus a *pending* proposed entry at step 46 that had been broadcast but never committed (quorum was 3/5, below the 4/5 threshold). On restart, D's recovery routine replayed the checkpoint...",
    "condition_of_validity": "The invariant that must hold for BFT safety here is: **every agent's local commitment log is a prefix of the canonical committed log, and the prefix boundary is exactly the last entry with a valid 2f+1 commit certificate.** This invariant is violated whenever a checkpoint is taken at a point where the agent's log contains entries without accompanying commit ...",
    "decision_boundary": "The architectural decision is where to place the divergence check. Three options, with the boundary condition each fails: - **Check at vote time (receiver-side parent-hash check).** Agent refuses to vote if `proposal.parent_hash != local.last_certified_hash`. Catches divergence *before* it propagates, but only if the agent's `last_certified_hash` is itself c...",
    "operational_effect": "After the incident, the swarm was patched with a checkpoint invariant: on serialize, truncate the log to `last_certified` and record the certificate; on restore, verify the certificate's 2f+1 signatures before accepting the log tip. The liveness cost is that an agent evicted mid-proposal loses its uncommitted work — it must re-fetch the proposal from the lea..."
  },
  "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": "60e093f20950c82be525b7e11d813c97df802ce5a22d4070d4b9e264361a3e9d",
    "verified_classes": [
      "DivergentCommitmentLogError"
    ],
    "verified_functions": [
      "restore_from_checkpoint",
      "checkpoint_agent"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "DivergentCommitmentLogError"
    ],
    "sample_fail_closed_invariants": [
      "internal state inconsistency: certified index does not match certified hash"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
