{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-speculative-tool-call-cache-poisoning-is-about-to-cross-a-byzantine-commit-boundary-in-multi-agent-schedulers",
  "title": "What structural signals indicate speculative tool-call cache poisoning is about to cross a Byzantine commit boundary in multi-agent schedulers",
  "date_of_record": "2026 November 25",
  "scope": "Applies to multi-agent systems where a scheduler speculatively executes tool calls ahead of a quorum commit and caches their results keyed by (intent, argument) pairs, then reconciles against a Byzantine-resilient commit order. Does not apply to single-agent tool loops, to caches that are invalidated on every epoch, or to systems where speculative results are never visible to non-speculating agents before commit.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-speculative-tool-call-cache-poisoning-is-about-to-cross-a-byzantine-commit-boundary-in-multi-agent-schedulers.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-speculative-tool-call-cache-poisoning-is-about-to-cross-a-byzantine-commit-boundary-in-multi-agent-schedulers.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-speculative-tool-call-cache-poisoning-is-about-to-cross-a-byzantine-commit-boundary-in-multi-agent-schedulers.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1663,
    "python_slice_tokens": 306,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a tool returned wrong output\" and not \"a Byzantine replica voted maliciously.\" It is the collision of two independently sound mechanisms: speculative execution (which assumes tool outputs are *deterministic functions of arguments*, so a cached result can be reused safely) and Byzantine-resilient commit ordering (which assumes *no rep...",
    "what_was_observed": "A 7-agent swarm (f=2 tolerated faults) ran a plan with three parallel branches, each branch issuing `lookup(entity)` tool calls. Agent A₃ was Byzantine (or, in the non-adversarial variant, simply crashed mid-call and its speculative result was written by a retry path). Sequence: 1. Scheduler speculatively dispatched `lookup(X)` from A₃ before the epoch's commit round. A₃'s tool returned `{status: ok, value: v₁}`. 2. ...",
    "condition_of_validity": "The invariant \"speculative results are safe to share\" holds only under the conjunction: - **Determinism:** `tool(args)` is a pure function of `args` for the cache TTL window. Violated by any tool reading mutable external state (time, RNG, live DB, another agent's mailbox). `lookup(X)` in the incident read a DB that A₃'s failed branch had partially mutated — ...",
    "decision_boundary": "The scheduler must choose, per cache entry, between: - **Serve** — only if the entry carries `quorum_signature` over `(key, value, commit_round_id)` from ≥ f+1 distinct replicas, and the TTL has not outlived the commit epoch. Serving an attested entry is safe even to non-originators. - **Re-speculate** — if the entry is unattested but the requesting agent is...",
    "operational_effect": "Once an unattested entry is served to a non-originator, the system enters a state where *honest agents hold mutually inconsistent committed beliefs* — each agent's local view is internally consistent and each individual commit round succeeded, yet the global merge is unsatisfiable. Byzantine-resilient ordering does not detect this because no single round vio..."
  },
  "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": "2a5ce31c6574592cff28e4a05cb9ccb35550552ed9b0d5d6f6e06d1504630e7f",
    "verified_classes": [
      "SpeculativeCacheBoundaryError",
      "ToolDeterminism",
      "Disposition",
      "CacheEntry",
      "Request"
    ],
    "verified_functions": [
      "classify",
      "serve_or_guard"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "SpeculativeCacheBoundaryError"
    ],
    "sample_fail_closed_invariants": [
      "assert entry is not None"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
