{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-s-speculative-execution-fork-silently-diverge-from-quorum-commit-when-a-byzantine-peer-replays-a-side-effecting-action-under-a-di",
  "title": "Why does an instance's speculative execution fork silently diverge from quorum commit when a Byzantine peer replays a side-effecting action under a different idempotency key?",
  "date_of_record": "2026 November 22",
  "scope": "Applies to Byzantine-resilient agent swarms where N workers speculatively execute side-effecting tool calls in parallel and a quorum (e.g., 2f+1 of 3f+1) must agree on the *effect* before commit. Does not apply to read-only fan-out, single-agent retries, or swarms where side effects are gated by an external transactional coordinator with its own dedup layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-s-speculative-execution-fork-silently-diverge-from-quorum-commit-when-a-byzantine-peer-replays-a-side-effecting-action-under-a-di.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-s-speculative-execution-fork-silently-diverge-from-quorum-commit-when-a-byzantine-peer-replays-a-side-effecting-action-under-a-di.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-s-speculative-execution-fork-silently-diverge-from-quorum-commit-when-a-byzantine-peer-replays-a-side-effecting-action-under-a-di.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1730,
    "python_slice_tokens": 257,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The swarm's safety argument usually rests on \"quorum agreement on the payload implies quorum agreement on the effect.\" That implication is false whenever the side-effecting action is *not a pure function of the payload* — i.e., whenever the effect depends on an idempotency key, a nonce, a server-assigned ID, or any ambient state the worker supplies independe...",
    "what_was_observed": "A 4-worker, 1-fault-tolerant speculative swarm (quorum = 3) executing a `transfer_funds`-class tool. Each worker runs the same plan step, calls the tool speculatively into a staging buffer, and returns `(payload_hash, effect_receipt)` to the coordinator. The coordinator commits when ≥3 workers return receipts whose payload hashes match. Trace of the failing round: 1. Workers W1, W2, W3 produce payload `P = {from: A, ...",
    "condition_of_validity": "The failure requires all of the following to hold simultaneously; remove any one and the attack surface closes: - **Speculative execution precedes commit.** Workers invoke the effector before the coordinator decides. (If effects are staged and released only post-commit, divergence is bounded to staging.) - **Idempotency identity is generated below the vote b...",
    "decision_boundary": "The boundary is between two commit disciplines: - **Payload-quorum commit (unsafe here):** \"≥2f+1 matching `h(P)` ⇒ commit `P`.\" Bounds *what was said*; leaves *what was done* unbounded by up to N applications per round and fully attacker-chosen under Byzantine presence. - **Effect-bound quorum commit (required):** \"≥2f+1 matching `h(P)` **and** all committe...",
    "operational_effect": "Consequences that show up in production telemetry: - **Silent over-application.** Ledger/effect counts exceed committed payload counts by up to N per round. Detectable only by comparing effector-side applied counts against memory's committed-payload log — a reconciliation job most swarms do not run. - **Memory/effect drift.** Episodic memory records one effe..."
  },
  "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": "befa76516ff4cc8c62f28230e813f1b88a05382b31acb03dcbe0972cd9e2cdbe",
    "verified_classes": [
      "SpeculativeEffectDivergence"
    ],
    "verified_functions": [
      "_h",
      "verify_effect_bound_commit"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "SpeculativeEffectDivergence"
    ],
    "sample_fail_closed_invariants": [
      "no votes to commit"
    ],
    "stdlib_dependencies": [
      "hashlib",
      "hmac"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
