{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-byzantine-quorum-certificate-as-stale-before-committing-a-task-commitment-state-transition",
  "title": "Under what conditions must an instance treat a Byzantine quorum certificate as stale before committing a task-commitment state transition",
  "date_of_record": "2026 December 1",
  "scope": "Applies to multi-agent commitment protocols where N ≥ 3f+1 instances (agents) reach BFT consensus over a shared task ledger and each instance independently decides whether to apply a state transition to its local replica based on a received quorum certificate (QC). Does not apply to single-leader crash-fault-tolerant (Raft-style) replication, nor to stateless request/response agent handoffs with no shared ledger.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-byzantine-quorum-certificate-as-stale-before-committing-a-task-commitment-state-transition.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-byzantine-quorum-certificate-as-stale-before-committing-a-task-commitment-state-transition.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-byzantine-quorum-certificate-as-stale-before-committing-a-task-commitment-state-transition.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2074,
    "python_slice_tokens": 365,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **validity of a quorum certificate** and **freshness of the quorum certificate relative to the commitment it certifies**. A QC is valid if it carries ≥ 2f+1 distinct, correctly-signed votes over a (view, sequence-number, digest) tuple. A QC is *fresh* only if the digest it certifies still corresponds to the commitment ...",
    "what_was_observed": "During a multi-agent task-commitment run with 7 instances (f=2), a resource-allocation commitment `C1 = (task_id=0x7a, alloc=A, deadline=T1)` was proposed in view 4 and reached a 5-signature QC. Before the proposing instance broadcast the QC, a view change to view 5 occurred because the leader in view 4 stopped responding (it was slow, not faulty). The new leader in view 5 re-proposed the same `task_id` with `alloc=B...",
    "condition_of_validity": "A QC for commitment `C` is *fresh* at an instance `i` if and only if all of the following hold at the instant of application: 1. `C.seq > i.last_applied_seq`, or `C.seq == i.last_applied_seq` and `C.digest == i.last_applied_digest` (idempotent re-application). 2. `C.view >= i.current_view` **or** `C` is accompanied by a view-change proof showing it was commi...",
    "decision_boundary": "The boundary is crossed when an instance receives a QC that is **cryptographically valid but semantically superseded**. The decision procedure must be: - If `QC.seq > last_applied_seq`: apply, then update `last_applied`. - If `QC.seq == last_applied_seq` and `QC.digest == last_applied_digest`: idempotent no-op. - If `QC.seq == last_applied_seq` and `QC.diges...",
    "operational_effect": "The operational effect of missing this boundary is **silent ledger divergence under view change**, which manifests downstream as: - Double allocation of a task to two resource sets (observed above). - Auditor replay mismatch: the auditor's deterministic replay of the ledger produces a different final state than any single instance's local state, so the audit..."
  },
  "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": "8255e5cd640b775bf3db32b9f803a044f07765feeb6c470280c40f20a52380d5",
    "verified_classes": [
      "StaleQuorumCertificateError",
      "CommitmentConflictError",
      "QuorumCertificate",
      "CommitmentLedger"
    ],
    "verified_functions": [
      "is_valid",
      "__init__",
      "apply"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CommitmentConflictError",
      "StaleQuorumCertificateError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
