{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-quorum-certified-task-commitment-from-silently-forking-when-a-byzantine-agent-replays-a-valid-but-stale-commit-certificate",
  "title": "Which invariants prevent quorum-certified task commitment from silently forking when a Byzantine agent replays a valid-but-stale commit certificate",
  "date_of_record": "2026 November 25",
  "scope": "Applies to multi-agent task-commitment protocols where a quorum (typically 2f+1 of 3f+1 participants) signs off on a task outcome and the signed certificate is the durability token for that commitment. Does not apply to single-writer append-only logs, leaderless CRDT convergence without certificates, or systems where commitment is defined purely by transaction finality at a trusted external ledger.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-certified-task-commitment-from-silently-forking-when-a-byzantine-agent-replays-a-valid-but-stale-commit-certificate.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-certified-task-commitment-from-silently-forking-when-a-byzantine-agent-replays-a-valid-but-stale-commit-certificate.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-quorum-certified-task-commitment-from-silently-forking-when-a-byzantine-agent-replays-a-valid-but-stale-commit-certificate.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1495,
    "python_slice_tokens": 352,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Most BFT designs assume the adversary can *forge* nothing and can only *equivocate* — send conflicting messages to disjoint quorums. But in LLM-agent swarms a much cheaper attack exists: the adversary **replays a genuine, quorum-signed certificate from an earlier epoch**. The certificate is cryptographically valid. Every signature verifies. The message is by...",
    "what_was_observed": "A 7-agent swarm (f=2, quorum=5) executed a task-commitment round for a data-distillation job. Epoch 12 produced certificate `C12` attesting that the distillation output hash `H_a` was committed. One participant, `agent-5`, was compromised and stored `C12`. The task was later re-executed in epoch 13 after a partial failure; the honest output hash was `H_b`. During epoch 13's commit phase, `agent-5` broadcast `C12` (va...",
    "condition_of_validity": "The guardrail is a **commitment monotonicity invariant**: a certificate is acceptable for commitment at epoch `e` only if `cert.epoch == current_epoch` AND `cert.epoch > last_committed_epoch[task]`. This requires three things the original schema lacked: - An `epoch` field inside the signed payload (so it cannot be stripped or altered without invalidating sig...",
    "decision_boundary": "The boundary between \"accept\" and \"reject\" is not signature validity — it is epoch ordering relative to a replicated high-water-mark. Concretely, a verifier must reject when: - `cert.epoch <= high_water_mark[task_id]` → replay, reject regardless of signature count. - `cert.epoch > high_water_mark[task_id] + 1` → gap; the verifier is missing an epoch and must...",
    "operational_effect": "Without the monotonicity invariant, a single compromised agent with one stored certificate can force a durable-state fork at arbitrary future time with zero forging cost — the attack surface scales with the number of historical certificates retained, not with any cryptographic break. With the invariant, replay becomes a no-op: the stale certificate's epoch i..."
  },
  "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": "06ea964108c89e663d740f23c6250b8a7aaf3e704ac47a4b74fb462f663e319c",
    "verified_classes": [
      "StaleCommitCertificate",
      "CommitEpochGap",
      "Certificate",
      "TaskRegister"
    ],
    "verified_functions": [
      "verify_signatures",
      "commit_certificate",
      "canonical_hash"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CommitEpochGap",
      "StaleCommitCertificate"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
