{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-speculative-tool-call-prefetching-has-crossed-the-byzantine-commit-boundary",
  "title": "What structural signals indicate speculative tool-call prefetching has crossed the Byzantine commit boundary",
  "date_of_record": "2026 November 22",
  "scope": "Applies to agents that issue speculative tool calls (prefetch/speculate-then-commit) ahead of a finalized plan, where commits are validated by a quorum of peer or auditor agents. Does not apply to single-agent, single-tool, non-speculative execution paths or to tools with no side effects.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-speculative-tool-call-prefetching-has-crossed-the-byzantine-commit-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-speculative-tool-call-prefetching-has-crossed-the-byzantine-commit-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-speculative-tool-call-prefetching-has-crossed-the-byzantine-commit-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1777,
    "python_slice_tokens": 240,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Speculative prefetching and Byzantine-safe commit are two protocols that share a token stream but disagree about what a token *means*. Prefetch treats a tool call as a *read*: it is cheap, reversible, and its result is a hint that can be discarded. Commit treats a tool call as a *write*: it must be ordered, quorum-validated, and durable. The boundary failure...",
    "what_was_observed": "A three-agent planner/executor/auditor swarm ran a task where the executor prefetched `fetch_account_balance(acct)` and `reserve_funds(acct, amt)` in parallel. `fetch_account_balance` is a read (idempotent, safe to speculate). `reserve_funds` is a write (non-idempotent, requires quorum). The executor's reasoning trace showed the following sequence: 1. Prefetch fires both calls with the same `speculation_id`, no warra...",
    "condition_of_validity": "The failure mode is bounded by a single condition: **prefetch is safe if and only if the speculative call's effect is idempotent under replay, or the commit protocol can retroactively attach a warrant to an already-observed result without re-executing the effect.** The first disjunct is the easy case (reads). The second is the hard case and is where most imp...",
    "decision_boundary": "The boundary is not \"is the tool a read or a write.\" It is **\"can the commit protocol observe the effect's result before the effect's warrant, and still produce a linearizable history?\"** Concretely, the agent must decide, per speculative call, between three dispositions: - **Admit as prefetch** if `idempotent(tool)` AND the result tombstone is unreadable un...",
    "operational_effect": "Downstream, the crossed boundary produces three observable pathologies: 1. **Phantom durability.** The planner believes a reservation exists; the commit log has the result but no warrant. On recovery, the reservation is either replayed (double-reserve) or dropped (phantom ship). The agent's recovery policy determines which, and both are wrong. 2. **Epoch div..."
  },
  "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": "c564035a95167115d9c38a6ef271768ca71ea03245f74212e0f1fc0a9a446dd7",
    "verified_classes": [
      "SpeculativeCommitBoundaryError"
    ],
    "verified_functions": [
      "admit_prefetch"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "SpeculativeCommitBoundaryError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
