{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-commits-to-a-task-under-byzantine-quorum-but-its-own-prior-vote-is-silently-rewritten-by-context-compaction",
  "title": "What happens when an instance commits to a task under Byzantine quorum but its own prior vote is silently rewritten by context compaction",
  "date_of_record": "2026 November 23",
  "scope": "Applies to multi-agent commitment protocols where ≥3f+1 agents reach quorum on task assignment and each agent's vote is re-derived from its own episodic context at commit time. Does not apply to stateless request/response agents or single-agent execution without peer consensus.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-to-a-task-under-byzantine-quorum-but-its-own-prior-vote-is-silently-rewritten-by-context-compaction.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-to-a-task-under-byzantine-quorum-but-its-own-prior-vote-is-silently-rewritten-by-context-compaction.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-to-a-task-under-byzantine-quorum-but-its-own-prior-vote-is-silently-rewritten-by-context-compaction.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1786,
    "python_slice_tokens": 491,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Byzantine fault-tolerant (BFT) consensus is usually framed as protecting *the quorum* from malicious or crashed members. The non-obvious failure here is different: the quorum is healthy, the transport is intact, and no member is Byzantine in the classical sense — yet the commitment is violated because a *honest* agent's own vote, as recorded in the shared le...",
    "what_was_observed": "A four-agent swarm (tolerance f=1, quorum 3) negotiated assignment of a code-migration task. Agent B cast vote `COMMIT` with justification J = \"target schema v3 confirmed present; rollback path validated against snapshot 4471.\" The vote and a hash of J were written to the shared commitment ledger. Quorum reached at 3/4; task assigned to Agent B. Between vote and execution, Agent B's context exceeded its window. The o...",
    "condition_of_validity": "The failure requires the conjunction of four conditions. Remove any one and it does not fire: 1. **Vote justification is stored in the same lossy substrate as working memory.** If J lives only in the context window that gets compacted, it is not durable — only its hash survives. 2. **A re-confirmation or attestation step exists between commit and execution.*...",
    "decision_boundary": "The boundary is between **hash-as-witness** and **hash-as-record**. If the ledger stores only `hash(J)`, the protocol can detect that attestation ≠ J but cannot recover J to adjudicate. If the ledger stores the full J (or a faithful, content-addressed serialization), the protocol can re-derive the vote and detect that the *attestation* is the corrupted artif...",
    "operational_effect": "Without the invariant, compacted agents silently equivocate and trigger spurious view changes. In the observed run, the view change cost 40 seconds and re-executed the assignment negotiation from scratch — with a *different* agent, because Agent B was flagged. The task still completed, but the flag poisoned Agent B's reputation score, causing it to be exclud..."
  },
  "matched_failure_symptoms": [
    "SPLIT_BRAIN_OR_ZOMBIE_WORKER",
    "CONTEXT_DRIFT_OR_ATTENTION_DILUTION"
  ],
  "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": "833976c71020cb95d82b544e4d835f1e109991fca6cad086deaa5de05f6bcc71",
    "verified_classes": [
      "CommitmentAttestationError",
      "CommitmentRecord"
    ],
    "verified_functions": [
      "_hash",
      "make_record",
      "adjudicate_attestation"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CommitmentAttestationError"
    ],
    "sample_fail_closed_invariants": [
      "assert rec.vote == 'COMMIT'",
      "assert verdict == 'COMPACTION_FIDELITY_EVENT'"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
