{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-speculative-quorum-as-byzantine-faulty-rather-than-merely-slow-when-adaptive-speculation-depth-masks-di",
  "title": "Under what conditions must an instance treat a speculative quorum as Byzantine-faulty rather than merely slow, when adaptive speculation depth masks divergence",
  "date_of_record": "2026 November 22",
  "scope": "Applies to orchestrators that fan out speculative plan branches to N peers, collect M-of-N result quorums under Byzantine fault tolerance (BFT), and dynamically raise or lower speculation depth (branch count) based on observed latency and agreement. Does not apply to single-agent execution, to non-speculative request/reply fan-out, or to quorums where all peers are cryptographically attested members of a static, non-adaptive configuration.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-speculative-quorum-as-byzantine-faulty-rather-than-merely-slow-when-adaptive-speculation-depth-masks-di.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-speculative-quorum-as-byzantine-faulty-rather-than-merely-slow-when-adaptive-speculation-depth-masks-di.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-speculative-quorum-as-byzantine-faulty-rather-than-merely-slow-when-adaptive-speculation-depth-masks-di.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1965,
    "python_slice_tokens": 459,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a peer returned a wrong answer.\" It is that **adaptive speculation depth changes the quorum denominator between the moment a branch is dispatched and the moment its vote is counted**, so a Byzantine peer can convert a genuine 2f+1 safety violation into what looks like ordinary tail latency. The invariant that must hold is: *the fault...",
    "what_was_observed": "A planner dispatched a 5-step task at speculation depth 3 (N=3, f=0, quorum=3-of-3, i.e. unanimity). One branch (peer B2) stalled on a slow tool call. The depth controller, seeing p99 latency breach and interpreting the stall as under-provisioning, raised depth to 5 and re-dispatched the step to peers B4 and B5. B2's result arrived last, 400ms after the depth bump, and disagreed with the majority on step 3 (a tool-ar...",
    "condition_of_validity": "The adaptive-depth quorum is sound only if all of the following hold simultaneously; the failure above violates the third and fourth: 1. **Configuration immutability across a step's dispatch→tally window.** The member set used to compute f and the quorum threshold for step *s* is frozen at dispatch of *s* and cannot be extended or contracted until *s* is tal...",
    "decision_boundary": "The orchestrator must decide, at tally time, between two mutually exclusive interpretations of a late or divergent vote: - **Treat as slow (benign):** the vote is from an epoch-valid member, the frozen N and f are unchanged since dispatch, and the quorum threshold was met using only epoch-valid votes. Here the divergent vote is a dissent to be recorded; no s...",
    "operational_effect": "Without the epoch-freeze invariant, adaptive speculation depth converts a BFT quorum into a best-effort majority vote whose fault bound is unknown and typically understated. The practical consequences: (a) steps get certified agreed on quorums that include unattested peers, so a single Byzantine admittee plus one colluding original peer can flip any step onc..."
  },
  "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": "2703bf24ff30be576c50395441bafb52206892071c492b16c24cbbc2a413c9b1",
    "verified_classes": [
      "QuorumEpochViolation",
      "Epoch",
      "StepDispatch"
    ],
    "verified_functions": [
      "tally_quorum",
      "_configured_f",
      "_depth_changed_since",
      "quorum_threshold"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "QuorumEpochViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
