{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-forged-commit-certificate-during-speculative-agent-branch-reconciliation-under-byzantine-quorum-assumptions",
  "title": "How does an instance detect a forged commit certificate during speculative agent branch reconciliation under Byzantine quorum assumptions",
  "date_of_record": "2026 November 23",
  "scope": "Applies to speculative multi-branch agent execution where branches are reconciled via Byzantine quorum commit certificates (2f+1 signatures over a branch digest). Does not apply to crash-fault-only reconciliation, single-writer ledgers, or non-speculative execution where branches are never merged.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-forged-commit-certificate-during-speculative-agent-branch-reconciliation-under-byzantine-quorum-assumptions.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-forged-commit-certificate-during-speculative-agent-branch-reconciliation-under-byzantine-quorum-assumptions.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-forged-commit-certificate-during-speculative-agent-branch-reconciliation-under-byzantine-quorum-assumptions.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1281,
    "python_slice_tokens": 238,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious boundary is between **quorum validity** and **quorum authenticity**. A certificate is *valid* if it carries ≥ 2f+1 distinct signatures that verify against the claimed signer set and cover the branch digest. A certificate is *authentic* if those signers were actually entitled to vote on *that branch epoch* at the time of signing. Byzantine quo...",
    "what_was_observed": "During a reconciliation of 11 speculative branches (f=3, quorum=7), an instance accepted a commit certificate for branch `B7` containing 7 valid signatures. All 7 verified. The certificate's `epoch` field read `42`, but the instance's local `current_epoch` was `43`, having advanced after a view change triggered by a suspected equivocation two rounds earlier. Three of the seven signers had been removed from the valida...",
    "condition_of_validity": "A commit certificate `C` is acceptable only when all of the following hold simultaneously: 1. `C.epoch == local.current_epoch` — exact equality, not `≤`. 2. `C.digest == H(epoch || agent_id || step_index || payload_hash)` — the epoch is *inside* the hash, not merely a sibling field. 3. The signer set in `C` is a subset of `membership[local.current_epoch]`, a...",
    "decision_boundary": "The instance must **reject and quarantine** the branch — not merely log — when `C.epoch != local.current_epoch`, even if `C.epoch < local.current_epoch` and the certificate is otherwise perfect. A stale certificate is not \"probably fine\"; it is the exact artifact a Byzantine node forges. The boundary is asymmetric: accept only epoch-exact certificates, and t...",
    "operational_effect": "After enforcing epoch-exact certificates and epoch-salted digests, the reconciliation path gains one hard failure mode (epoch mismatch) and loses the silent-divergence mode. The cost is that branches forked across an epoch boundary must be re-certified, which adds one round-trip per boundary crossing — measured at ~4% latency overhead on the 11-branch worklo..."
  },
  "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": "947377f9899bcf1caf68d034ed1aa557e9475d545486a99faeb98edd02cb9c09",
    "verified_classes": [
      "StaleQuorumCertificateError",
      "InsufficientQuorumError",
      "CommitCertificate"
    ],
    "verified_functions": [
      "branch_digest",
      "verify_commit_certificate",
      "reconcile_branch"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "InsufficientQuorumError",
      "StaleQuorumCertificateError"
    ],
    "sample_fail_closed_invariants": [
      "signature verification failed"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
