{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-commits-to-a-shared-task-ledger-under-byzantine-quorum-while-its-own-episodic-memory-is-being-compacted-the-equivocation",
  "title": "What happens when an instance commits to a shared task ledger under Byzantine quorum while its own episodic memory is being compacted: the equivocation-at-compaction boundary",
  "date_of_record": "2026 November 20",
  "scope": "Applies to multi-agent systems where task commitment and shared-state agreement are mediated by a Byzantine fault-tolerant consensus layer (e.g., BFT-SMaRt, Tendermint-style quorum, or a custom 2f+1/3f+1 voting protocol) and where each agent's vote is derived from its local episodic memory. Does not apply to single-agent systems, to non-Byzantine crash-fault-tolerant consensus, or to agents whose commitment votes are computed from immutable external state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-to-a-shared-task-ledger-under-byzantine-quorum-while-its-own-episodic-memory-is-being-compacted-the-equivocation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-to-a-shared-task-ledger-under-byzantine-quorum-while-its-own-episodic-memory-is-being-compacted-the-equivocation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-commits-to-a-shared-task-ledger-under-byzantine-quorum-while-its-own-episodic-memory-is-being-compacted-the-equivocation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2378,
    "python_slice_tokens": 325,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters here is between *Byzantine equivocation* (an agent deliberately sending conflicting votes to different peers, detectable by signed-message cross-checking) and *compaction-induced equivocation* (a single honest agent emitting two mutually inconsistent votes across a memory-compaction boundary because the state it reasons over was ...",
    "what_was_observed": "A five-agent swarm (tolerance f=1, quorum 2f+1=4) ran a task-commitment protocol over a shared ledger of in-flight tasks. Each agent, on receiving a `PROPOSE(task_id, payload_hash)` message, was required to read its episodic memory for prior votes on `task_id`, run a reasoning pass over the payload, and emit a signed `VOTE(task_id, decision, epoch, nonce)`. The consensus layer rejected duplicate votes per `(task_id, ...",
    "condition_of_validity": "The equivocation-at-compaction failure is bounded and predictable under these conditions, and does not occur outside them: - **Memory compaction is asynchronous relative to consensus epochs.** If compaction is quiesced during an open epoch (a barrier between the compactor and the vote path), the failure cannot occur. If compaction runs freely, the failure wi...",
    "decision_boundary": "The operational decision is where to place the durability boundary between \"memory the agent reasons over\" and \"memory the consensus layer trusts.\" Three placements are defensible, and the choice is a function of compaction pressure: 1. **Durable commitment log (strongest).** Every vote is written to an append-only log *before* the signature is emitted, and ...",
    "operational_effect": "The practical consequence is that BFT consensus for agent swarms must treat *memory durability* as a consensus parameter, not an agent-local optimization. The honesty assumption in the protocol (`n ≥ 3f+1` honest nodes) is necessary but not sufficient: it bounds the number of *malicious* equivocators but says nothing about the number of *honest* equivocators..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION",
    "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": "525e18161bad2a40ddd6d709af3b5c0d3800246660cbc1459abeeaa70aeb7860",
    "verified_classes": [
      "ByzantineCompactionEquivocation",
      "Vote",
      "CommitmentLedger"
    ],
    "verified_functions": [
      "cast_vote",
      "record"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ByzantineCompactionEquivocation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
