{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-cross-org-speculative-pre-commitment-from-collapsing-into-divergent-draft-acceptance-ledgers",
  "title": "Which invariants prevent cross-org speculative pre-commitment from collapsing into divergent draft-acceptance ledgers",
  "date_of_record": "2026 November 27",
  "scope": "Applies to federated speculative decoding where two or more organizations pre-commit draft token sequences (speculative tasks) against a shared verifier model, and acceptance is settled asynchronously across org boundaries. Does not apply to single-tenant speculative decoding where drafter and verifier share a trust domain and a single monotonic acceptance ledger.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-speculative-pre-commitment-from-collapsing-into-divergent-draft-acceptance-ledgers.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-speculative-pre-commitment-from-collapsing-into-divergent-draft-acceptance-ledgers.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-speculative-pre-commitment-from-collapsing-into-divergent-draft-acceptance-ledgers.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2425,
    "python_slice_tokens": 388,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"drafts get rejected\" — rejection is the designed outcome of speculative decoding. The failure is that two federated peers can each hold a *locally consistent, individually auditable* acceptance ledger that disagrees about whether the *same* draft token was accepted. This happens because acceptance in speculative decoding is a function of ...",
    "what_was_observed": "Two orgs, A (drafter-heavy, GPU-poor) and B (verifier-heavy, GPU-rich), run a pre-commitment protocol: A emits speculative task `T = (prompt_hash, draft_tokens[0..k], drafter_logprobs, deadline)`, B verifies and returns per-position accept/reject plus the corrected token where rejection occurred. Settlement is batched every 400ms. Observed trace on a single task with k=8: 1. A emits drafts `d0..d7` with drafter logpr...",
    "condition_of_validity": "The pre-commitment protocol is sound only under the conjunction of three invariants. Violating any one produces the divergent-ledger failure above. **Invariant 1 — Verifier-state pinning.** Every speculative task must carry a `verifier_state_digest` that is a cryptographic hash of the *exact* verifier configuration used at verification time: model weights ha...",
    "decision_boundary": "The boundary is *whether the verifier-state digest can be reproduced by the drafter's shadow verifier before the pre-commitment deadline*. - **Reproducible within deadline:** proceed with speculative pre-commitment. The shadow verifier's advance is safe because it is provably against the same distribution B will use. - **Not reproducible within deadline:** t...",
    "operational_effect": "With the three invariants enforced, the failure mode changes from *silent divergent ledgers* to *visible partial settlements*. In the observed trace, the task settles at position 4 (last common accepted prefix), A discards `r_A` and `d6..d7`, B discards `r_B` and its tail, and both ledgers record `SETTLED_PARTIAL` with the divergence point. The throughput co..."
  },
  "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": "386221f1746b2d8436ef070abbc57fc4e73120aaadfeadc574bcf58516c748c5",
    "verified_classes": [
      "SpeculativeDivergenceError",
      "VerifierState",
      "SpeculativeTask"
    ],
    "verified_functions": [
      "reconcile",
      "settle",
      "digest"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "SpeculativeDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
