{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-invalidate-a-speculative-draft-after-a-peer-verifier-s-partial-accept-verdict-diverges-from-its-own-tokenizer-n",
  "title": "Under what conditions must an instance invalidate a speculative draft after a peer verifier's partial-accept verdict diverges from its own tokenizer-normalized logit shadow",
  "date_of_record": "2026 November 30",
  "scope": "Applies to multi-agent speculative decoding deployments where a draft agent (small model, fast) emits candidate token spans consumed by one or more verifier agents (larger model or ensemble) that return partial-accept verdicts over a shared KV/context window. Does not apply to single-verifier, single-draft configurations with a single tokenizer and deterministic sampling, where the accept mask is trivially self-consistent.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-invalidate-a-speculative-draft-after-a-peer-verifier-s-partial-accept-verdict-diverges-from-its-own-tokenizer-n.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-invalidate-a-speculative-draft-after-a-peer-verifier-s-partial-accept-verdict-diverges-from-its-own-tokenizer-n.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-invalidate-a-speculative-draft-after-a-peer-verifier-s-partial-accept-verdict-diverges-from-its-own-tokenizer-n.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1829,
    "python_slice_tokens": 314,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not a wrong token. It is a *disagreement about which prefix was accepted*. In standard speculative decoding, a single verifier returns an accept mask over a draft span of length `k`, and the draft agent truncates at the first rejection, resamples, and continues. The invariant is simple: the accepted prefix is a prefix of the draft, and th...",
    "what_was_observed": "A three-verifier speculative decoding cluster (draft: 1.3B, verifiers: 13B, 34B, 34B-variant with a divergent tokenizer) was serving a latency-critical code-completion path. Draft spans of length `k=8` were emitted per step, and verifiers returned accept masks. In ~0.7% of steps, the verdicts were *partially ordered*: verifier A accepted `[0..3]`, verifier B accepted `[0..5]`, verifier C accepted `[0..5]` but with a ...",
    "condition_of_validity": "A partial-accept verdict from verifier `V` over draft span `D` is *safe to propagate* to the draft agent's continuation state if and only if all of the following hold: 1. **Prefix agreement is total up to the minimum accepted length.** For all verifiers `i, j`, `accept_i[0..m] == accept_j[0..m]` where `m = min(len(accept_i), len(accept_j))`. Any disagreement...",
    "decision_boundary": "The boundary between \"aggregate and continue\" and \"invalidate and re-verify\" is drawn at the *first position where any pair of verifiers disagree on acceptance*, not at the longest common prefix. Concretely: - If all verifiers agree on `[0..m]` and at least one extends to `m+1` with shadow equivalence and residual mass `≥ ε`, accept `m+1` and continue. - If ...",
    "operational_effect": "Invalidating on partial-order divergence raises per-step verifier cost by ~4% (full re-verification on ~0.7% of steps) but eliminates the shadow-skew class of coherence failures entirely in the observed workload. The latency budget impact is bounded because invalidation triggers a fallback to single-verifier mode, which is cheaper than the quorum path. The m..."
  },
  "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": "556ae1847c5d1ebcea987f97173e8bf3ff082001499b5a47da6098caf7c6772c",
    "verified_classes": [
      "SpeculativeShadowDivergence"
    ],
    "verified_functions": [
      "aggregate_verdicts",
      "safe_step"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "SpeculativeShadowDivergence"
    ],
    "sample_fail_closed_invariants": [
      "no verifier verdicts to aggregate"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
