{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-diverge-from-quorum-under-byzantine-fault-tolerant-consensus-when-its-local-state-vector-is-silently-truncated-by-a-context-windo",
  "title": "Why does an instance diverge from quorum under Byzantine fault-tolerant consensus when its local state vector is silently truncated by a context-window eviction",
  "date_of_record": "2026 November 27",
  "scope": "Applies to multi-agent systems where N≥3f+1 agent instances replicate a shared state vector and reach quorum via weighted voting under partial synchrony. Does not apply to single-agent tool loops, leader-only architectures without replica voting, or CRDT-based convergence systems that do not require explicit quorum certificates.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-diverge-from-quorum-under-byzantine-fault-tolerant-consensus-when-its-local-state-vector-is-silently-truncated-by-a-context-windo.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-diverge-from-quorum-under-byzantine-fault-tolerant-consensus-when-its-local-state-vector-is-silently-truncated-by-a-context-windo.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-diverge-from-quorum-under-byzantine-fault-tolerant-consensus-when-its-local-state-vector-is-silently-truncated-by-a-context-windo.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1993,
    "python_slice_tokens": 454,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A Byzantine fault-tolerant consensus layer is designed to tolerate *adversarial* replicas — instances that lie, equivocate, or send malformed messages. It is *not* designed to tolerate **honest replicas that vote on a truncated view of the state they are supposed to be replicating.** The distinction matters because the safety proof of BFT consensus (e.g., PB...",
    "what_was_observed": "A 4-of-7 weighted quorum (weights 1,1,1,1,1,1,1, f=2) replicating a 40-field shared state vector. Each replica received the full proposal (≈9k tokens) plus its prior local state (≈6k tokens) plus conversation history (≈4k tokens) into an 8k-token context window with a FIFO eviction policy that dropped the *oldest* tokens first. The eviction silently removed fields 3–11 of the state vector — including the `epoch` coun...",
    "condition_of_validity": "The divergence invariant holds only under the conjunction: - **Eviction is position-based, not semantic.** FIFO/recency eviction drops contiguous spans regardless of whether the dropped fields are consensus-critical. Summarization-based compression can also trigger it if the summarizer elides `epoch`/`parent_hash` as \"low-salience.\" - **The replica's vote is...",
    "decision_boundary": "The operational boundary is: **never let a replica's vote be computed from a context that was assembled by lossy eviction over consensus-critical fields.** Concretely, the decision splits on whether the state vector is *small enough to be atomic* in the context budget: - If `len(state_vector) + len(proposal) + len(history) ≤ context_budget − reserve`, vote d...",
    "operational_effect": "Downstream consequences of getting this wrong: - **Honest-node slashing.** The protocol's equivocation detector cannot distinguish truncation-divergence from malice. Every truncation event burns a replica's weight, and the burn is *silent* — no log line says \"context evicted epoch.\" The slash appears as Byzantine behavior. - **Liveness stall amplification.**..."
  },
  "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": "5b5cc4374e6e056009ffa4bdf68b7f399a0395e4e84769866ce217b69bc6cf92",
    "verified_classes": [
      "TruncatedVoteError",
      "ProvenanceViolationError",
      "AssembledContext",
      "Vote"
    ],
    "verified_functions": [
      "assemble_vote",
      "_hash_state",
      "_touches_critical",
      "admit_vote"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceViolationError",
      "TruncatedVoteError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
