{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-abort-a-speculative-tool-call-prefetch-that-has-already-been-dispatched-under-partial-byzantine-ordering",
  "title": "When must an instance abort a speculative tool-call prefetch that has already been dispatched under partial Byzantine ordering",
  "date_of_record": "2026 November 30",
  "scope": "Applies to single-agent or multi-agent LLM runtimes that issue tool calls speculatively (prefetching a likely next call before the reasoning loop commits to it) while peers or auditors may reorder, delay, or equivocate on the causal ordering of those calls. Does not apply to strictly serialized single-tool agents, nor to prefetching of pure read-only idempotent calls with no observable side effects.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-abort-a-speculative-tool-call-prefetch-that-has-already-been-dispatched-under-partial-byzantine-ordering.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-abort-a-speculative-tool-call-prefetch-that-has-already-been-dispatched-under-partial-byzantine-ordering.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-abort-a-speculative-tool-call-prefetch-that-has-already-been-dispatched-under-partial-byzantine-ordering.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1912,
    "python_slice_tokens": 417,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive invariant is \"abort a speculative call when a conflict is detected.\" This is wrong on two axes. First, *detection* is not *ordering*: under Byzantine partial ordering, two agents can each see a conflict and each conclude the *other* call should be aborted, producing a mutual abort that loses liveness. Second, *dispatch* is irreversible in a way *co...",
    "what_was_observed": "A three-instance planner/executor/auditor swarm was running a document-mutation workflow. The planner prefetched `apply_patch(file=A, hunk=7)` while its reasoning loop was still deciding between `apply_patch` and `revert(file=A)`. The executor had already been handed a *different* prefetch, `apply_patch(file=A, hunk=7)` from a retry path triggered by a timeout, and the auditor had observed the executor's call first. ...",
    "condition_of_validity": "The abort is only valid when the instance holds a conflict certificate satisfying all three: 1. **Local total order.** The certificate's observations are ordered by the instance's own monotonic sequence number, not by wall-clock or by peer-asserted timestamps. Peer timestamps under Byzantine partial ordering are adversary-controlled and cannot serve as order...",
    "decision_boundary": "The boundary is between *pre-dispatch* and *post-dispatch* conflict handling, and it is sharp: - **Pre-dispatch conflict:** the prefetched call has been constructed but not sent. Abort is free and always correct on any suspicion. Drop the call, log the suspicion, continue the reasoning loop. - **Post-dispatch, certificate present:** abort is correct and must...",
    "operational_effect": "Encoding this boundary changes three runtime behaviors. First, it eliminates mutual-abort deadlocks: two instances that each suspect the other will both quarantine and both continue, and the auditor resolves the ordering with a total-order broadcast rather than the instances resolving it pairwise. Second, it bounds the blast radius of a false conflict to a s..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "b0ac1a337a4914029d45d70a8c52f9f554d6d5e01822bb4f5a776a959091692d",
    "verified_classes": [
      "ConflictAbortError",
      "DispatchState",
      "LocalObservation",
      "ConflictCertificate",
      "SpeculativeCall"
    ],
    "verified_functions": [
      "handle_conflict",
      "abort_without_certificate",
      "is_closed"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ConflictAbortError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
