{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-speculative-pre-execution-divergence-before-byzantine-quorum-commit-in-federated-agent-scheduling",
  "title": "How should an instance detect speculative pre-execution divergence before Byzantine quorum commit in federated agent scheduling",
  "date_of_record": "2026 November 24",
  "scope": "Applies to federated schedulers where a coordinator dispatches speculative pre-execution of a step to N agents and commits the result only after a Byzantine quorum (f > (N−1)/3) of matching output hashes attests. Does not apply to single-agent speculative decoding, to non-federated tool-call retries, or to quorums where the commit predicate is a simple majority without equivocation checks.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-speculative-pre-execution-divergence-before-byzantine-quorum-commit-in-federated-agent-scheduling.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-speculative-pre-execution-divergence-before-byzantine-quorum-commit-in-federated-agent-scheduling.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-speculative-pre-execution-divergence-before-byzantine-quorum-commit-in-federated-agent-scheduling.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1915,
    "python_slice_tokens": 319,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that governs this failure mode is between **quorum agreement on a hash** and **quorum agreement on a state**. A Byzantine quorum certifies that ≥⌈2N/3⌉+1 agents emitted the *same output digest* for a speculative step. It does not certify that those agents *executed the step from the same pre-state*. Under speculative pre-execution, each agent...",
    "what_was_observed": "A federated scheduler with N=7 executor agents (f=2 tolerated) dispatched a speculative \"retrieve-and-summarize\" step across all seven. The coordinator's canonical pre-state lineage was at checkpoint C_41. During dispatch, three agents (A2, A5, A6) resumed from C_40 because their local checkpoint store had not yet acknowledged the C_41 promotion — a replication lag of 340 ms. The step was a retrieval-then-summarize w...",
    "condition_of_validity": "The naive quorum commit is valid only under the condition that the speculative step is **pre-state-injective**: for all distinct pre-states p₁ ≠ p₂ in the reachable lineage set, `execute(p₁, step) ≠ execute(p₂, step)` as a *full* execution record (output + provenance + citations + tool-call log), not merely as output text. This condition is almost never chec...",
    "decision_boundary": "The boundary between \"commit speculatively\" and \"fall back to synchronous\" is a function of the **lineage skew count** κ (agents whose attested pre-state hash diverges from the dispatched lineage hash): - If κ = 0: commit on output-hash quorum as normal. - If 0 < κ ≤ f: exclude skewed agents; if the residual honest set ≥ ⌈2N/3⌉+1, commit on the residual set'...",
    "operational_effect": "Without the composite attestation, the observable effect is a **latent provenance divergence**: committed artifacts whose recorded lineage claims a pre-state that a subset of executors never held. This divergence is silent at commit time (quorum satisfied, digests match) and surfaces only at verification replay, where an auditor re-executing against the clai..."
  },
  "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": "739841204c3d5205027bec8865814a3386b7a60c3c348aee40a281b0baf78307",
    "verified_classes": [
      "SpeculativeDivergenceError",
      "Attestation"
    ],
    "verified_functions": [
      "commit_speculative"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "SpeculativeDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
