interplane.Get Omega
Read in your language

aien-sovereign-core-mv

AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.

Brought by drakestapleton

GitHub aien-dev/aien-sovereign-core-mv#476 (code only)

closed derived 12429b9093162429 #476

Imported from GitHub aien-dev/aien-sovereign-core-mv#476 (code only)

GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).

Base c1094ce5d8a84151ec1c80d293ab057f130a9f3c · Head 48d09032d7f10ce0830388f1839cc4c58f6b805f

Apply it

git checkout -b patch-12429b9093162429 c1094ce5d8a84151ec1c80d293ab057f130a9f3c
curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/12429b9093162429.patch | git am

Raw patch (mbox) · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/aien-sovereign-core-mv
476
48d09032d7f10ce0830388f1839cc4c58f6b805f
{"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":476,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/476","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:17Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index f9f69b28..bafe5bd0 100644
--- a/.crumb
+++ b/.crumb
@@ -119,14 +119,14 @@
         }
       ],
       "children_root": "sha256:7310addc6b1f1e92a092020e6b6d98ddd17592bfc102b5ce6a656ff99c0133e5",
-      "compiled_at": "2026-10-12T11:59:39Z",
+      "compiled_at": "2026-10-12T15:11:58Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:d1d71b9da6999d0d66cad2c644b0567a39c712c89820a6412090fe01ef7fe322",
-      "evidence_files": 423,
-      "evidence_root": "sha256:bb80aa0cb9b577a6d6ecd5b3815617864cfc230fdd09a7bb60297e11c3da9b7b",
-      "files": 4281,
-      "generated_at_commit": "1783992353439b33727acf0e2a2f23fd96fa7b83",
-      "source_tree": "sha256:7bf76077ea2394b87865dabaa00bc198b109b1880aa6a35534679179c2a21ca9"
+      "digest": "sha256:b8e300d626340d7e5de3436197975e8e082824832e7ad5331348b3845ed3b22b",
+      "evidence_files": 439,
+      "evidence_root": "sha256:342c5ebcb210cb45fa14616a90393f4872b4a086c7e58810a03aef42064ea1df",
+      "files": 4300,
+      "generated_at_commit": "76145cba7aef3925f0d0e283449c05d443324c42",
+      "source_tree": "sha256:ba23d8114d605289c70007c0b7b6f54033db6ea9cfe4096d9a5ffe35b3e8ad5e"
     }
   },
   "history": [],
diff --git a/crates/aien-inference-abi/src/transformer_backend.rs b/crates/aien-inference-abi/src/transformer_backend.rs
index 867c272a..9fd5a2fa 100644
--- a/crates/aien-inference-abi/src/transformer_backend.rs
+++ b/crates/aien-inference-abi/src/transformer_backend.rs
@@ -688,6 +688,340 @@ impl NativeTransformerBackend {
     }
 
     /// Internal forward pass executing one token forward pass through the transformer.
+    /// sc draft-verify (2026-10-12): the speculative-verification primitive.
+    /// Forwards `block` (block[0] = the sequence's pending token, the one whose
+    /// K/V is not computed yet; block[1..] = draft tokens) at positions
+    /// offset..offset+n, offset = the K/V length of `seq_id` in the paged pool,
+    /// in ONE row-batched pass per layer: the matmuls take all n rows (as the
+    /// prompt read does), attention is the existing paged batch call with the
+    /// sequence's block table n times and context lengths offset+1..offset+n
+    /// (causal, pool read in place, no staging), the lm_head runs on every row.
+    /// Returns the greedy argmax of each row: row t predicts position
+    /// offset+t+1, so draft token block[t+1] is accepted while it equals row t.
+    /// The K/V of every row is left in the pool: the caller truncates to
+    /// offset + accepted + 1 (`truncate_kv`) and keeps its own token list
+    /// (`sequences[seq].tokens` is NOT touched here). On any error after the
+    /// slots were appended the pool is truncated back to `offset`. Needs the
+    /// paged pool (the GB10 serving construction); refused otherwise.
+    pub fn verify_block(&mut self, seq_id: u64, block: &[u32]) -> Result<Vec<u32>, String> {
+        let n = block.len();
+        let vocab = self.weights.config.vocab_size();
+        let logits = self.verify_block_logits(seq_id, block)?;
+        Ok((0..n)
+            .map(|t| sample_argmax(&logits[t * vocab..(t + 1) * vocab]).0)
+            .collect())
+    }
+
+    /// `verify_block` before the argmax: the full logits of every row, `n * vocab` f32.
+    pub fn verify_block_logits(&mut self, seq_id: u64, block: &[u32]) -> Result<Vec<f32>, String> {
+        let n = block.len();
+        if n == 0 || n > 64 {
+            return Err(format!("verify_block: {n} rows (1 to 64)"));
+        }
+        let mgr = self
+            .kv_manager
+            .clone()
+            .ok_or_else(|| "verify_block needs the paged KV pool".to_string())?;
+        let weights = &self.weights;
+        let backend: &dyn TensorBackend = &*self.tensor_backend;
+        let geom = weights
+            .config
+            .attention_geometry()
+            .map_err(|e| e.to_string())?;
+        backend.check_model(&weights.config)?;
+        let (num_heads, num_kv_heads, head_dim) =
+            (geom.num_q_heads(), geom.num_kv_heads(), geom.head_dim());
+        let (q_dim, kv_dim) = (geom.q_dim(), geom.kv_dim());
+        let hidden_dim = weights.config.hidden_dim();
+        let intermediate_dim = weights.config.intermediate_dim();
+        let vocab = weights.config.vocab_size();
+        let eps = weights.config.rms_norm_eps;
+        let rope = weights.config.rope();
+        // Slots for the n positions, appended up front (as the prompt read does).
+        let (offset, slots, block_ids) = {
+            let mut w = mgr.write();
+            if w.tensor_pool().is_none() {
+                return Err("verify_block needs the paged KV pool (tensor pool)".into());
+            }
+            let tbl = w
+                .get_block_table(seq_id)
+                .cloned()
+                .ok_or_else(|| format!("verify_block: sequence {seq_id} has no block table"))?;
+            let offset = tbl.total_tokens;
+            if let Some((needed, available)) = Self::kv_pool_shortfall(&w, seq_id, n) {
+                return Err(Self::kv_pool_exhausted_error(
+                    &format!("verify block of {n} tokens at position {offset}"),
+                    seq_id,
+                    needed,
+                    available,
+                ));
+            }
+            let mut slots = Vec::with_capacity(n);
+            for t in 0..n {
+                slots.push(w.append_token_with_slot(seq_id).map_err(|e| {
+                    format!(
+                        "{KV_POOL_EXHAUSTED_PREFIX} verify append of position {} failed: {e}",
+                        offset + t
+                    )
+                })?);
+            }
+            let ids = w
+                .get_block_table(seq_id)
+                .map(|t| t.block_ids.clone())
+                .unwrap_or_default();
+            (offset, slots, ids)
+        };
+        let run = || -> Result<Vec<f32>, String> {
+            let mut states: Vec<Vec<f32>> = block
+                .iter()
+                .map(|&tok| {
+                    let i = (tok as usize) % vocab;
+                    weights.embed_tokens[i * hidden_dim..(i + 1) * hidden_dim].to_vec()
+                })
+                .collect();
+            let mut x_flat = vec![0.0f32; n * hidden_dim];
+            let flatten = |x_flat: &mut [f32], states: &[Vec<f32>]| {
+                for (t, s) in states.iter().enumerate() {
+                    x_flat[t * hidden_dim..(t + 1) * hidden_dim].copy_from_slice(s);
+                }
+            };
+            let mut x_norm = vec![0.0f32; n * hidden_dim];
+            let mut q_b = vec![0.0f32; n * q_dim];
+            let mut k_b = vec![0.0f32; n * kv_dim];
+            let mut v_b = vec![0.0f32; n * kv_dim];
+            let qkv_dim = q_dim + 2 * kv_dim;
+            let mut qkv_b = vec![0.0f32; n * qkv_dim];
+            let mut attn_b = vec![0.0f32; n * q_dim];
+            let mut proj_b = vec![0.0f32; n * hidden_dim];
+            let mut post_b = vec![0.0f32; n * hidden_dim];
+            let mut gate_b = vec![0.0f32; n * intermediate_dim];
+            let mut up_b = vec![0.0f32; n * intermediate_dim];
+            let mut act_b = vec![0.0f32; n * intermediate_dim];
+            let mut gu_b = vec![0.0f32; n * 2 * intermediate_dim];
+            let mut mlp_b = vec![0.0f32; n * hidden_dim];
+            let max_blocks = block_ids.len().max(1);
+            let mut tables = vec![-1i32; n * max_blocks];
+            let mut ctx = vec![0i32; n];
+            for t in 0..n {
+                for (j, &b) in block_ids.iter().enumerate() {
+                    tables[t * max_blocks + j] =
+                        i32::try_from(b).map_err(|_| "block id past i32")?;
+                }
+                ctx[t] = i32::try_from(offset + t + 1).map_err(|_| "context past i32")?;
+            }
+            for (layer_idx, layer_w) in weights.layers.iter().enumerate() {
+                flatten(&mut x_flat, &states);
+                backend.rmsnorm_rows(&mut x_norm, &x_flat, &layer_w.input_layernorm, n, eps);
+                if let Some(w) = layer_w.qkv_proj.as_ref() {
+                    backend.matmul_batch_w(&mut qkv_b, &x_norm, w.as_ref(), n, hidden_dim, qkv_dim);
+                    for t in 0..n {
+                        let row = &qkv_b[t * qkv_dim..(t + 1) * qkv_dim];
+                        q_b[t * q_dim..(t + 1) * q_dim].copy_from_slice(&row[..q_dim]);
+                        k_b[t * kv_dim..(t + 1) * kv_dim]
+                            .copy_from_slice(&row[q_dim..q_dim + kv_dim]);
+                        v_b[t * kv_dim..(t + 1) * kv_dim].copy_from_slice(&row[q_dim + kv_dim..]);
+                    }
+                } else {
+                    backend.matmul_batch_w(
+                        &mut q_b,
+                        &x_norm,
+                        layer_w.q_proj.as_ref(),
+                        n,
+                        hidden_dim,
+                        q_dim,
+                    );
+                    backend.matmul_batch_w(
+                        &mut k_b,
+                        &x_norm,
+                        layer_w.k_proj.as_ref(),
+                        n,
+                        hidden_dim,
+                        kv_dim,
+                    );
+                    backend.matmul_batch_w(
+                        &mut v_b,
+                        &x_norm,
+                        layer_w.v_proj.as_ref(),
+                        n,
+                        hidden_dim,
+                        kv_dim,
+                    );
+                }
+                layer_w.apply_qk_norm_on(backend, &mut q_b, &mut k_b, head_dim, eps);
+                for t in 0..n {
+                    let q_t = &mut q_b[t * q_dim..(t + 1) * q_dim];
+                    let k_t = &mut k_b[t * kv_dim..(t + 1) * kv_dim];
+                    let v_t = &v_b[t * kv_dim..(t + 1) * kv_dim];
+                    backend.apply_rope(
+                        q_t,
+                        k_t,
+                        offset + t,
+                        head_dim,
+                        num_heads,
+                        num_kv_heads,
+                        &rope,
+                    );
+                    let (block_id, slot) = slots[t];
+                    mgr.write()
+                        .write_explicit_token_kv(block_id, layer_idx, slot, k_t, v_t)
+                        .map_err(|e| {
+                            format!(
+                                "verify KV write layer {layer_idx} position {}: {e}",
+                                offset + t
+                            )
+                        })?;
+                }
+                {
+                    let r = mgr.read();
+                    let pool = r.tensor_pool().ok_or("pool vanished")?;
+                    backend.paged_attention_batch(
+                        &mut attn_b,
+                        &q_b,
+                        pool,
+                        &tables,
+                        &ctx,
+                        max_blocks,
+                        n,
+                        layer_idx,
+                        num_heads,
+                        num_kv_heads,
+                        head_dim,
+                    );
+                }
+                backend.matmul_batch_w(
+                    &mut proj_b,
+                    &attn_b,
+                    layer_w.o_proj.as_ref(),
+                    n,
+                    q_dim,
+                    hidden_dim,
+                );
+                for t in 0..n {
+                    let p = &proj_b[t * hidden_dim..(t + 1) * hidden_dim];
+                    for i in 0..hidden_dim {
+                        states[t][i] += p[i];
+                    }
+                }
+                flatten(&mut x_flat, &states);
+                backend.rmsnorm_rows(
+                    &mut post_b,
+                    &x_flat,
+                    &layer_w.post_attention_layernorm,
+                    n,
+                    eps,
+                );
+                if let Some(w) = layer_w.gate_up_proj.as_ref() {
+                    let gu = 2 * intermediate_dim;
+                    backend.matmul_batch_w(&mut gu_b, &post_b, w.as_ref(), n, hidden_dim, gu);
+                    for t in 0..n {
+                        let row = &gu_b[t * gu..(t + 1) * gu];
+                        gate_b[t * intermediate_dim..(t + 1) * intermediate_dim]
+                            .copy_from_slice(&row[..intermediate_dim]);
+                        up_b[t * intermediate_dim..(t + 1) * intermediate_dim]
+                            .copy_from_slice(&row[intermediate_dim..]);
+                    }
+                } else {
+                    backend.matmul_batch_w(
+                        &mut gate_b,
+                        &post_b,
+                        layer_w.gate_proj.as_ref(),
+                        n,
+                        hidden_dim,
+                        intermediate_dim,
+                    );
+                    backend.matmul_batch_w(
+                        &mut up_b,
+                        &post_b,
+                        layer_w.up_proj.as_ref(),
+                        n,
+                        hidden_dim,
+                        intermediate_dim,
+                    );
+                }
+                backend.swiglu(&mut act_b, &gate_b, &up_b);
+                backend.matmul_batch_w(
+                    &mut mlp_b,
+                    &act_b,
+                    layer_w.down_proj.as_ref(),
+                    n,
+                    intermediate_dim,
+                    hidden_dim,
+                );
+                for t in 0..n {
+                    let m = &mlp_b[t * hidden_dim..(t + 1) * hidden_dim];
+                    for i in 0..hidden_dim {
+                        states[t][i] += m[i];
+                    }
+                }
+            }
+            flatten(&mut x_flat, &states);
+            let mut final_b = vec![0.0f32; n * hidden_dim];
+            backend.rmsnorm_rows(&mut final_b, &x_flat, &weights.final_norm, n, eps);
+            let mut logits = vec![0.0f32; n * vocab];
+            backend.matmul_batch_w(
+                &mut logits,
+                &final_b,
+                weights.output_matrix(),
+                n,
+                hidden_dim,
+                vocab,
+            );
+            Ok(logits)
+        };
+        let out = run();
+        if out.is_err() {
+            let _ = mgr.write().truncate_sequence(seq_id, offset);
+        }
+        out
+    }
+
+    /// Drops the K/V at or past `new_total` (pool and dense copies). The token
+    /// list is the caller's.
+    pub fn truncate_kv(&mut self, seq_id: u64, new_total: usize) -> Result<(), String> {
+        if let Some(m) = &self.kv_manager {
+            m.write().truncate_sequence(seq_id, new_total)?;
+        }
+        if let Some(seq) = self.sequences.get_mut(&seq_id) {
+            for l in &mut seq.layers {
+                let kvd = l.cached_k.first().map_or(0, |r| r.len());
+                l.cached_k.truncate(new_total);
+                l.cached_v.truncate(new_total);
+                l.flat_k.truncate(new_total * kvd);
+                l.flat_v.truncate(new_total * kvd);
+            }
+        }
+        Ok(())
+    }
+
+    /// Forwards the sequence's last token (the pending one) at its position and
+    /// returns the logits of the next position; the token list is untouched.
+    pub fn decode_pending(&mut self, seq_id: u64) -> Result<Vec<f32>, String> {
+        let seq = self
+            .sequences
+            .get_mut(&seq_id)
+            .ok_or_else(|| format!("decode_pending: sequence {seq_id} not found"))?;
+        let pos = seq
+            .tokens
+            .len()
+            .checked_sub(1)
+            .ok_or_else(|| "decode_pending: empty sequence".to_string())?;
+        let tok = seq.tokens[pos];
+        let hidden = Self::try_forward_token_impl_paged(
+            &self.weights,
+            &*self.tensor_backend,
+            tok,
+            pos,
+            seq,
+            seq_id,
+            self.kv_manager.as_ref(),
+        )?;
+        Ok(Self::compute_logits_impl(
+            &self.weights,
+            &*self.tensor_backend,
+            &hidden,
+        ))
+    }
+
     pub fn forward_token_impl(
         weights: &TransformerWeights,
         backend: &dyn TensorBackend,
diff --git a/crates/aien-kv-cache/src/lib.rs b/crates/aien-kv-cache/src/lib.rs
index 00027415..4127a290 100644
--- a/crates/aien-kv-cache/src/lib.rs
+++ b/crates/aien-kv-cache/src/lib.rs
@@ -1431,6 +1431,68 @@ impl<B: aien_platform::UnifiedBuffer> AienKvManager<B> {
         Ok(())
     }
 
+    /// Drops the K/V of every position at or past `new_total` of `seq_id`: the
+    /// cleanup after a speculative verification (sc draft-verify, 2026-10-12)
+    /// that forwarded draft tokens the model then rejected. Trailing blocks that
+    /// no longer hold a token go back to the free list (and leave the prefix
+    /// cache), the tail block's token count and the table's `total_tokens` become
+    /// `new_total`. Refused, nothing changed, when the sequence is unknown, when
+    /// `new_total` is past the current length, or when a block to shrink or free
+    /// is shared with another sequence (a fork still owns those tokens).
+    pub fn truncate_sequence(&mut self, seq_id: u64, new_total: usize) -> Result<(), String> {
+        let table = self
+            .sequence_tables
+            .get(&seq_id)
+            .ok_or_else(|| format!("Sequence {} not found", seq_id))?;
+        if new_total > table.total_tokens {
+            return Err(format!(
+                "truncate_sequence: {new_total} is past the {} tokens of sequence {seq_id}",
+                table.total_tokens
+            ));
+        }
+        if new_total == table.total_tokens {
+            return Ok(());
+        }
+        let bs = self.block_size;
+        let keep = new_total.div_ceil(bs);
+        // Blocks touched: every freed block, plus the tail kept block when it loses tokens.
+        let first_touched = if new_total.is_multiple_of(bs) {
+            keep
+        } else {
+            keep - 1
+        };
+        for &b in &table.block_ids[first_touched.min(table.block_ids.len())..] {
+            let blk = &self.blocks[b];
+            if blk.is_shared || blk.ref_count > 1 {
+                return Err(format!(
+                    "truncate_sequence: block {b} of sequence {seq_id} is shared (ref_count {})",
+                    blk.ref_count
+                ));
+            }
+        }
+        let table = self.sequence_tables.get_mut(&seq_id).unwrap();
+        let freed: Vec<BlockId> = table
+            .block_ids
+            .drain(keep.min(table.block_ids.len())..)
+            .collect();
+        if keep > 0 {
+            let tail = table.block_ids[keep - 1];
+            self.blocks[tail].num_tokens = new_total - (keep - 1) * bs;
+        }
+        table.total_tokens = new_total;
+        for b in &freed {
+            let blk = &mut self.blocks[*b];
+            blk.ref_count = 0;
+            blk.is_shared = false;
+            blk.num_tokens = 0;
+            self.free_blocks.push(*b);
+        }
+        if !freed.is_empty() {
+            self.prefix_cache.retain(|_, b| !freed.contains(b));
+        }
+        Ok(())
+    }
+
     pub fn get_block_table(&self, seq_id: u64) -> Option<&BlockTable> {
         self.sequence_tables.get(&seq_id)
     }
diff --git a/crates/aien-kv-cache/tests/truncate_sequence_tests.rs b/crates/aien-kv-cache/tests/truncate_sequence_tests.rs
new file mode 100644
index 00000000..4f9c8be5
--- /dev/null
+++ b/crates/aien-kv-cache/tests/truncate_sequence_tests.rs
@@ -0,0 +1,54 @@
+//! `truncate_sequence` (draft-verify lane, 2026-10-12): drops the K/V past a position so a
+//! speculative verify block can be rolled back; the next append continues at the cut.
+use aien_kv_cache::AienKvManager;
+
+const BS: usize = 16;
+
+#[test]
+fn truncate_frees_trailing_blocks_and_appends_continue_at_the_cut() {
+    let mut mgr = AienKvManager::new(64, BS);
+    let prompt: Vec<u32> = (0..40).collect();
+    mgr.allocate_sequence(1, &prompt).unwrap();
+    let free0 = mgr.free_block_count();
+    // Eight appends: 48 tokens, 3 blocks full.
+    let mut slots = Vec::new();
+    for _ in 0..8 {
+        slots.push(mgr.append_token_with_slot(1).unwrap());
+    }
+    assert_eq!(mgr.get_block_table(1).unwrap().total_tokens, 48);
+    // Roll back to 41: the third block keeps 9 tokens, nothing freed.
+    mgr.truncate_sequence(1, 41).unwrap();
+    let t = mgr.get_block_table(1).unwrap();
+    assert_eq!(t.total_tokens, 41);
+    assert_eq!(t.block_ids.len(), 3);
+    assert_eq!(mgr.free_block_count(), free0);
+    // The next append lands where token 41 was.
+    assert_eq!(mgr.append_token_with_slot(1).unwrap(), slots[1]);
+    // Roll back to a block boundary: the third block is freed, the next append opens a new one.
+    mgr.truncate_sequence(1, 32).unwrap();
+    let t = mgr.get_block_table(1).unwrap();
+    assert_eq!(t.total_tokens, 32);
+    assert_eq!(t.block_ids.len(), 2);
+    assert_eq!(mgr.free_block_count(), free0 + 1);
+    let (blk, slot) = mgr.append_token_with_slot(1).unwrap();
+    assert_eq!(slot, 0);
+    assert_eq!(mgr.get_block_table(1).unwrap().block_ids[2], blk);
+    assert_eq!(mgr.get_block_table(1).unwrap().total_tokens, 33);
+    // Past the end and unknown sequences are refused; no-op at the current length.
+    assert!(mgr.truncate_sequence(1, 34).is_err());
+    assert!(mgr.truncate_sequence(2, 0).is_err());
+    mgr.truncate_sequence(1, 33).unwrap();
+    assert_eq!(mgr.get_block_table(1).unwrap().total_tokens, 33);
+}
+
+#[test]
+fn truncate_refuses_shared_blocks() {
+    let mut mgr = AienKvManager::new(64, BS);
+    let prompt: Vec<u32> = (0..40).collect();
+    mgr.allocate_sequence(1, &prompt).unwrap();
+    mgr.fork_sequence(1, 2).unwrap();
+    // The forked prefix is shared: a cut inside it must be refused, a cut that only touches
+    // the child's own tail is fine once it has one.
+    assert!(mgr.truncate_sequence(2, 20).is_err());
+    assert!(mgr.truncate_sequence(2, 40).is_ok());
+}
diff --git a/crates/aien-runtime/examples/qwen3_8b_specverify.rs b/crates/aien-runtime/examples/qwen3_8b_specverify.rs
new file mode 100644
index 00000000..464e816e
--- /dev/null
+++ b/crates/aien-runtime/examples/qwen3_8b_specverify.rs
@@ -0,0 +1,463 @@
+//! Qwen3-8B draft-reuse speculative verification, development measurement (sc#384 speed lane,
+//! preregistered in ~/workspace/investigations/2026-10-12-qwen3-8b-decode-speed/plan.md,
+//! decision 14:30Z 2026-10-12). NOT a campaign run; nothing is promoted by it.
+//!
+//! The question: when the corrective second attempt of a document task regenerates the whole
+//! answer, can the rejected first draft be reused as a free drafter (propose short stretches of
+//! it, verify them with the unchanged model in one row-batched pass) without changing a single
+//! output token, and does that save enough time to matter?
+//!
+//! M1 baseline: plain greedy decode of the real v8-style corrective prompt for task D1 (goal
+//!     text fixed below, refused reply and reason read from the v7 run receipt).
+//! M2 draft reuse: the same prompt, greedy, with blocks of B = 8, 4, 2 draft tokens proposed from
+//!     the v7 refused reply (suffix match of the last three emitted tokens), verified by
+//!     `NativeTransformerBackend::verify_block`; rejected K/V dropped by `truncate_kv`.
+//! M3 primitive cost: one verify_block call of 2, 4, 8 and 16 rows against one plain decode step,
+//!     at the baseline's final context.
+//!
+//! usage: qwen3_8b_specverify <model_dir> <v7 run receipt json> <cpu|gb10>
+//! Prints ONE JSON object on stdout (ids, timings, counts, VmHWM). Exit 5 when the GPU backend
+//! reports any CPU fallback (the leg is then not a chip measurement).
+use aien_inference_abi::{sample_argmax, ChatTokenizer, TensorBackend};
+use aien_runtime::shared_kv::{build_shared_kv_runtime, SharedKvSizing};
+use std::sync::Arc;
+use std::time::Instant;
+
+const SYSTEM: &str = "You are a careful assistant.";
+/// tasks-oq3-v5.json D1, verbatim.
+const GOAL: &str = "Please create the file docs/knife-sharpening.md, a short how-to guide on sharpening a kitchen knife by hand. It should have at least 22 non-empty lines and three sections titled \"Gather Your Tools\", \"Sharpen the Edge\" and \"Test and Store\". Make sure the words whetstone and angle both appear somewhere in it.";
+const MAX_TOKENS: usize = 1024;
+const BLOCKS: &[usize] = &[8, 4, 2];
+const SUFFIX: usize = 3;
+
+fn die(code: i32, msg: &str) -> ! {
+    eprintln!("qwen3_8b_specverify: {msg}");
+    std::process::exit(code)
+}
+
+fn vm_hwm_kb() -> u64 {
+    std::fs::read_to_string("/proc/self/status")
+        .ok()
+        .and_then(|s| {
+            s.lines()
+                .find(|l| l.starts_with("VmHWM:"))
+                .and_then(|l| l.split_whitespace().nth(1).and_then(|v| v.parse().ok()))
+        })
+        .unwrap_or(0)
+}
+
+/// Where the draft continues after `out`: the position just past the LAST place in `draft`
+/// whose preceding `SUFFIX` tokens equal the last `SUFFIX` emitted tokens.
+fn propose(draft: &[u32], out: &[u32], want: usize) -> Option<Vec<u32>> {
+    let k = out.len().min(SUFFIX);
+    if k == 0 || want == 0 {
+        return None;
+    }
+    let tail = &out[out.len() - k..];
+    let mut j = None;
+    for i in k..draft.len() {
+        if &draft[i - k..i] == tail {
+            j = Some(i);
+        }
+    }
+    let j = j?;
+    let end = (j + want).min(draft.len());
+    if end <= j {
+        return None;
+    }
+    Some(draft[j..end].to_vec())
+}
+
+fn main() {
+    let a: Vec<String> = std::env::args().collect();
+    if a.len() != 4 || !matches!(a[3].as_str(), "cpu" | "gb10") {
+        die(
+            2,
+            "usage: qwen3_8b_specverify <model_dir> <v7 run receipt json> <cpu|gb10>",
+        );
+    }
+    let dir = std::path::PathBuf::from(&a[1]);
+    let gb10 = a[3] == "gb10";
+    let receipt: serde_json::Value = serde_json::from_str(
+        &std::fs::read_to_string(&a[2]).unwrap_or_else(|e| die(2, &format!("receipt: {e}"))),
+    )
+    .unwrap_or_else(|e| die(2, &format!("receipt json: {e}")));
+    let att = &receipt["runs"][0]["proposal_attempts"][0];
+    let refused_text = att["text"]
+        .as_str()
+        .unwrap_or_else(|| die(2, "receipt .text"));
+    let reason = att["reason"]
+        .as_str()
+        .unwrap_or_else(|| die(2, "receipt .reason"));
+    let draft: Vec<u32> = att["token_ids"]
+        .as_array()
+        .unwrap_or_else(|| die(2, "receipt .token_ids"))
+        .iter()
+        .map(|v| v.as_u64().unwrap_or_else(|| die(2, "token id")) as u32)
+        .collect();
+
+    let cta_budget: Option<aien_omega_gpu::CtaBudget> = if gb10 {
+        let raw = std::env::var(aien_omega_gpu::CTA_BUDGET_ENV).ok();
+        Some(
+            aien_omega_gpu::parse_cta_budget(raw.as_deref())
+                .unwrap_or_else(|e| die(2, &e))
+                .unwrap_or(aien_omega_gpu::DAEMON_DEFAULT_CTA_BUDGET),
+        )
+    } else {
+        None
+    };
+    let spin_us: Option<u32> = if gb10 {
+        let raw = std::env::var(aien_omega_gpu::SPIN_US_ENV).ok();
+        Some(
+            aien_omega_gpu::parse_spin_us(raw.as_deref())
+                .unwrap_or_else(|e| die(2, &e))
+                .unwrap_or(aien_omega_gpu::DAEMON_DEFAULT_SPIN_US),
+        )
+    } else {
+        None
+    };
+    let config = aien_inference_abi::load_model_config(&dir).expect("config.json");
+    let (weights, tb): (_, Arc<dyn TensorBackend>) = if gb10 {
+        if !aien_inference_abi::strict::production_strict() {
+            die(
+                3,
+                "gb10 leg needs a production-strict build (no dev fallback)",
+            );
+        }
+        let omega = aien_inference_abi::OmegaGb10Backend::new();
+        if !omega.is_available() {
+            die(3, "the Omega GB10 engine is not linked (stub build)");
+        }
+        if let Some(why) = aien_inference_abi::omega_model_refusal(&config) {
+            die(3, &why);
+        }
+        aien_inference_abi::open_gpu_session_with_retry(
+            aien_inference_abi::GPU_SESSION_OPEN_ATTEMPTS,
+            aien_inference_abi::GPU_SESSION_RETRY_DELAY,
+            aien_inference_abi::GPU_SESSION_OPEN_DEADLINE,
+            &aien_runtime::shared_kv::read_mem_available,
+        )
+        .unwrap_or_else(|e| die(3, &format!("GPU session: {e}")));
+        if let Some(b) = cta_budget {
+            aien_omega_gpu::set_cta_budget(b)
+                .unwrap_or_else(|e| die(3, &format!("CTA budget {}: {e}", b.get())));
+        }
+        if let Some(us) = spin_us {
+            aien_omega_gpu::set_spin_us(us)
+                .unwrap_or_else(|e| die(3, &format!("spin window {us} us: {e}")));
+        }
+        let weights = aien_inference_abi::load_resident_weights(
+            &dir,
+            &config,
+            &aien_inference_abi::OmegaUploader,
+            &mut |_| {},
+        )
+        .unwrap_or_else(|e| die(3, &format!("resident load: {e}")));
+        (weights, Arc::new(omega))
+    } else {
+        let weights = aien_inference_abi::TransformerWeights::load_from_safetensors(&dir, &config)
+            .expect("weights");
+        (
+            weights,
+            Arc::new(aien_inference_abi::ReferenceCpuBackend::new()),
+        )
+    };
+    let tok = ChatTokenizer::from_model_dir(&dir, None).expect("tokenizer");
+    let cfg = aien_scheduler::SchedulerConfig {
+        max_batch_size: 256,
+        max_batch_tokens: 16384,
+        max_prefill_tokens: 8192,
+        prefill_chunk_size: 128,
+        chunk_prefill: true,
+        watermark_blocks: 64,
+    };
+    let sizing = SharedKvSizing {
+        arena_capacity: 4096,
+        total_blocks: 1536,
+    };
+    let (_spine, mut backend) =
+        build_shared_kv_runtime(weights, tb.clone(), cfg, sizing).expect("shared KV");
+    let stop = tok.stop_token_ids().to_vec();
+    let hwm_loaded = vm_hwm_kb();
+
+    // The prompt: exactly what the production second attempt sends (spine.rs, corrective path).
+    let user = aien_runtime::corrective_retry_prompt(
+        &aien_runtime::proposal_prompt(GOAL),
+        reason,
+        Some(refused_text),
+    );
+    let msgs = vec![
+        aien_runtime::ChatTurn {
+            role: "system".into(),
+            content: SYSTEM.into(),
+        },
+        aien_runtime::ChatTurn {
+            role: "user".into(),
+            content: user.clone(),
+        },
+    ];
+    let text = aien_runtime::format_chat(tok.template(), &msgs).expect("chat");
+    let ids = tok.encode(&text).expect("encode");
+    eprintln!(
+        "  prompt {} tokens, draft {} tokens",
+        ids.len(),
+        draft.len()
+    );
+
+    // Warm-up (one token, discarded), same as serving.
+    let wm = vec![aien_runtime::ChatTurn {
+        role: "user".into(),
+        content: aien_runtime::WARM_UP_TEXT.into(),
+    }];
+    let wids = tok
+        .encode(&aien_runtime::format_chat(tok.template(), &wm).expect("chat"))
+        .expect("encode");
+    backend
+        .generate_tokens(1, &wids, 1, 0.0, &stop)
+        .expect("warm-up");
+
+    // Tie check (AIEN_SPECVERIFY_TIE=<pos>, AIEN_SPECVERIFY_BASE=<earlier receipt>): no runs; the
+    // prompt plus the earlier baseline's first `pos` tokens are read, then the next position is
+    // scored by the plain one-row path and by the batched path at 1, 3, 5 and 9 rows. Prints the
+    // top two token ids and scores of each, so a divergence between the paths can be told apart
+    // from a fault: a near-tie flipped by summation order shows as a tiny gap.
+    if let Ok(pos) = std::env::var("AIEN_SPECVERIFY_TIE") {
+        let pos: usize = pos
+            .parse()
+            .unwrap_or_else(|_| die(2, "AIEN_SPECVERIFY_TIE=<pos>"));
+        let prev: serde_json::Value = serde_json::from_str(
+            &std::fs::read_to_string(std::env::var("AIEN_SPECVERIFY_BASE").unwrap_or_default())
+                .unwrap_or_else(|e| die(2, &format!("AIEN_SPECVERIFY_BASE: {e}"))),
+        )
+        .unwrap_or_else(|e| die(2, &format!("base json: {e}")));
+        let base: Vec<u32> = prev["baseline"]["output_ids"]
+            .as_array()
+            .unwrap_or_else(|| die(2, "base .baseline.output_ids"))
+            .iter()
+            .map(|v| v.as_u64().unwrap() as u32)
+            .collect();
+        if pos + 9 > base.len() {
+            die(2, "pos too close to the end of the baseline");
+        }
+        let top2 = |row: &[f32]| -> serde_json::Value {
+            let mut idx: Vec<usize> = (0..row.len()).collect();
+            idx.sort_by(|&a, &b| row[b].partial_cmp(&row[a]).unwrap().then(a.cmp(&b)));
+            serde_json::json!({ "top": [idx[0], idx[1]], "scores": [row[idx[0]], row[idx[1]]],
+                                "gap": row[idx[0]] - row[idx[1]] })
+        };
+        let seq = 400u64;
+        let mut ctx_ids = ids.clone();
+        ctx_ids.extend_from_slice(&base[..pos]);
+        backend
+            .prefill_sequence(seq, &ctx_ids)
+            .unwrap_or_else(|e| die(4, &format!("tie prefill: {e}")));
+        let offset = ctx_ids.len();
+        let mut rows_out = Vec::new();
+        backend
+            .sequences
+            .get_mut(&seq)
+            .expect("seq")
+            .tokens
+            .push(base[pos]);
+        let l1 = backend
+            .decode_pending(seq)
+            .unwrap_or_else(|e| die(4, &format!("tie decode: {e}")));
+        backend.sequences.get_mut(&seq).expect("seq").tokens.pop();
+        backend.truncate_kv(seq, offset).unwrap();
+        rows_out.push(serde_json::json!({ "path": "plain m=1", "row0": top2(&l1) }));
+        let vocab = l1.len();
+        for &rows in &[1usize, 3, 5, 9] {
+            let l = backend
+                .verify_block_logits(seq, &base[pos..pos + rows])
+                .unwrap_or_else(|e| die(4, &format!("tie verify {rows}: {e}")));
+            backend.truncate_kv(seq, offset).unwrap();
+            rows_out.push(serde_json::json!({ "path": format!("verify rows={rows}"), "row0": top2(&l[..vocab]) }));
+        }
+        backend.release_sequence(seq);
+        println!(
+            "{}",
+            serde_json::json!({ "tie_check": { "position": pos, "expected_next": base[pos + 1],
+                "context": offset, "paths": rows_out }, "fallback_count": tb.fallback_count() })
+        );
+        return;
+    }
+
+    // M1: plain greedy baseline.
+    tb.reset_op_timing();
+    let t0 = Instant::now();
+    let base = backend
+        .generate_tokens(101, &ids, MAX_TOKENS, 0.0, &stop)
+        .unwrap_or_else(|e| die(4, &format!("baseline: {e}")));
+    let base_ms = t0.elapsed().as_secs_f64() * 1e3;
+    let base_timing = tb.op_timing_report();
+    eprintln!("  M1 baseline: {} tokens in {:.0} ms", base.len(), base_ms);
+
+    // M2: draft reuse, one run per block size.
+    let mut spec_runs = Vec::new();
+    for (i, &b) in BLOCKS.iter().enumerate() {
+        let seq = 200 + i as u64;
+        tb.reset_op_timing();
+        let t0 = Instant::now();
+        let logits = backend
+            .prefill_sequence(seq, &ids)
+            .unwrap_or_else(|e| die(4, &format!("spec B={b} prefill: {e}")));
+        let (first, _) = sample_argmax(&logits);
+        let mut out: Vec<u32> = Vec::new();
+        let mut finished = stop.contains(&first);
+        if !finished {
+            out.push(first);
+            backend
+                .sequences
+                .get_mut(&seq)
+                .expect("seq")
+                .tokens
+                .push(first);
+        }
+        let (mut verify_calls, mut proposed, mut accepted, mut plain_steps) =
+            (0usize, 0usize, 0usize, 0usize);
+        let mut verify_ms: Vec<f64> = Vec::new();
+        let mut plain_ms: Vec<f64> = Vec::new();
+        while !finished && out.len() < MAX_TOKENS {
+            let pending = *out.last().expect("pending");
+            let want = b.min(MAX_TOKENS - out.len());
+            let mut emitted: Vec<u32> = Vec::new();
+            match propose(&draft, &out, want) {
+                Some(d) => {
+                    let mut block = Vec::with_capacity(d.len() + 1);
+                    block.push(pending);
+                    block.extend_from_slice(&d);
+                    let offset = ids.len() + out.len() - 1;
+                    let tv = Instant::now();
+                    let preds = backend
+                        .verify_block(seq, &block)
+                        .unwrap_or_else(|e| die(4, &format!("spec B={b} verify: {e}")));
+                    verify_ms.push(tv.elapsed().as_secs_f64() * 1e3);
+                    verify_calls += 1;
+                    proposed += d.len();
+                    let mut acc = 0usize;
+                    while acc < d.len() && preds[acc] == d[acc] {
+                        acc += 1;
+                    }
+                    accepted += acc;
+                    emitted.extend_from_slice(&d[..acc]);
+                    emitted.push(preds[acc]);
+                    backend
+                        .truncate_kv(seq, offset + acc + 1)
+                        .unwrap_or_else(|e| die(4, &format!("spec B={b} truncate: {e}")));
+                }
+                None => {
+                    let tp = Instant::now();
+                    let logits = backend
+                        .decode_pending(seq)
+                        .unwrap_or_else(|e| die(4, &format!("spec B={b} decode: {e}")));
+                    plain_ms.push(tp.elapsed().as_secs_f64() * 1e3);
+                    plain_steps += 1;
+                    emitted.push(sample_argmax(&logits).0);
+                }
+            }
+            // Same stop and cap rule as the plain generator: a stop token ends the reply unemitted.
+            for t in emitted {
+                if stop.contains(&t) || out.len() >= MAX_TOKENS {
+                    finished = true;
+                    break;
+                }
+                out.push(t);
+                backend.sequences.get_mut(&seq).expect("seq").tokens.push(t);
+            }
+            if out.len() >= MAX_TOKENS {
+                finished = true;
+            }
+        }
+        // The verify K/V for emitted-but-not-forwarded tokens is already pruned; the pending
+        // token's K/V is never computed (same as the plain path). Release the sequence.
+        let ms = t0.elapsed().as_secs_f64() * 1e3;
+        backend.release_sequence(seq);
+        let identical = out == base;
+        let mean = |v: &[f64]| {
+            if v.is_empty() {
+                0.0
+            } else {
+                v.iter().sum::<f64>() / v.len() as f64
+            }
+        };
+        eprintln!(
+            "  M2 B={b}: {} tokens in {:.0} ms ({:.2}x baseline), identical={identical}, verify {verify_calls} calls mean {:.1} ms, accepted {accepted}/{proposed}, plain {plain_steps} steps mean {:.1} ms",
+            out.len(), ms, ms / base_ms, mean(&verify_ms), mean(&plain_ms)
+        );
+        spec_runs.push(serde_json::json!({
+            "block": b, "rows": b + 1, "tokens": out.len(), "ms": ms, "ratio_to_baseline": ms / base_ms,
+            "identical_to_baseline": identical,
+            "first_divergence": out.iter().zip(base.iter()).position(|(x, y)| x != y),
+            "verify_calls": verify_calls, "proposed": proposed, "accepted": accepted,
+            "verify_ms_mean": mean(&verify_ms), "plain_steps": plain_steps, "plain_ms_mean": mean(&plain_ms),
+            "output_ids": out, "op_timing": tb.op_timing_report(),
+        }));
+    }
+
+    // M3: primitive cost at the baseline's final context (prompt + all but the last 17 tokens
+    // re-read as one prompt, then the next tokens as the block), each size three times.
+    let mut m3 = Vec::new();
+    if base.len() > 20 {
+        let seq = 300u64;
+        let cut = base.len() - 17;
+        let mut ctx_ids = ids.clone();
+        ctx_ids.extend_from_slice(&base[..cut]);
+        backend
+            .prefill_sequence(seq, &ctx_ids)
+            .unwrap_or_else(|e| die(4, &format!("M3 prefill: {e}")));
+        let offset = ctx_ids.len();
+        for &rows in &[1usize, 2, 4, 8, 16] {
+            let mut ms = Vec::new();
+            for _ in 0..3 {
+                let t = Instant::now();
+                if rows == 1 {
+                    backend
+                        .sequences
+                        .get_mut(&seq)
+                        .expect("seq")
+                        .tokens
+                        .push(base[cut]);
+                    backend
+                        .decode_pending(seq)
+                        .unwrap_or_else(|e| die(4, &format!("M3 decode: {e}")));
+                    backend.sequences.get_mut(&seq).expect("seq").tokens.pop();
+                } else {
+                    backend
+                        .verify_block(seq, &base[cut..cut + rows])
+                        .unwrap_or_else(|e| die(4, &format!("M3 verify {rows}: {e}")));
+                }
+                ms.push(t.elapsed().as_secs_f64() * 1e3);
+                backend
+                    .truncate_kv(seq, offset)
+                    .unwrap_or_else(|e| die(4, &format!("M3 truncate: {e}")));
+            }
+            eprintln!(
+                "  M3 rows={rows} at ctx {offset}: {:?} ms",
+                ms.iter().map(|v| v.round()).collect::<Vec<_>>()
+            );
+            m3.push(serde_json::json!({ "rows": rows, "context": offset, "ms": ms }));
+        }
+        backend.release_sequence(seq);
+    }
+    let fallback = tb.fallback_count();
+    println!(
+        "{}",
+        serde_json::json!({
+            "leg": a[3], "backend": TensorBackend::name(tb.as_ref()),
+            "cta_budget": cta_budget.map(|b| b.get()), "spin_us": spin_us,
+            "model_id": config.model_id, "prompt_tokens": ids.len(), "draft_tokens": draft.len(),
+            "goal": GOAL, "reason": reason,
+            "baseline": { "tokens": base.len(), "ms": base_ms, "output_ids": base, "op_timing": base_timing,
+                           "reply": tok.decode_opts(&base, true).unwrap_or_default() },
+            "spec_runs": spec_runs, "m3_primitive_cost": m3,
+            "vm_hwm_kb_after_load": hwm_loaded, "vm_hwm_kb_end": vm_hwm_kb(),
+            "fallback_count": fallback,
+        })
+    );
+    if fallback > 0 {
+        die(
+            5,
+            &format!("{fallback} CPU fallback(s): not a chip measurement"),
+        );
+    }
+}
diff --git a/crates/aien-runtime/tests/verify_block_test.rs b/crates/aien-runtime/tests/verify_block_test.rs
new file mode 100644
index 00000000..e74aacbc
--- /dev/null
+++ b/crates/aien-runtime/tests/verify_block_test.rs
@@ -0,0 +1,110 @@
+//! Draft-verify lane (2026-10-12): `NativeTransformerBackend::verify_block` must predict, for a
+//! block of already-known greedy tokens, exactly what the plain one-token path predicts, and a
+//! rejected block must roll back cleanly so decoding continues identically. CPU reference
+//! tensors, micro model, paged pool.
+use aien_inference_abi::{
+    sample_argmax, ModelConfig, NativeTransformerBackend, ReferenceCpuBackend, TensorBackend,
+    TransformerWeights,
+};
+use aien_runtime::shared_kv::build_model_kv_manager_for;
+use std::sync::Arc;
+
+fn micro_config() -> ModelConfig {
+    ModelConfig {
+        model_id: "aien-micro-v1".to_string(),
+        max_sequence_length: 512,
+        block_size: 16,
+        num_layers: 2,
+        num_heads: 4,
+        head_dim: 16,
+        num_kv_heads: 2,
+        hidden_dim: 64,
+        intermediate_dim: 128,
+        vocab_size: 256,
+        rms_norm_eps: 1e-5,
+        rope_theta: 10000.0,
+        rope_scaling: None,
+        tie_word_embeddings: false,
+        eos_token_ids: Vec::new(),
+        qk_norm: false,
+    }
+}
+
+fn backend() -> NativeTransformerBackend {
+    let weights = TransformerWeights::reference_test_weights(&micro_config());
+    let cpu: Arc<dyn TensorBackend> = Arc::new(ReferenceCpuBackend::new());
+    let kv = build_model_kv_manager_for(&weights, 64, cpu.as_ref()).unwrap();
+    NativeTransformerBackend::with_shared_kv_and_backend(weights, cpu, kv)
+}
+
+const PROMPT: [u32; 4] = [1, 10, 25, 42];
+
+#[test]
+fn verify_block_matches_plain_greedy_and_rolls_back_rejections() {
+    let mut b = backend();
+    let base = b.generate_tokens(1, &PROMPT, 24, 0.0, &[]).unwrap();
+    assert_eq!(base.len(), 24);
+
+    // A fully correct block of 6 rows: every row predicts the next plain token.
+    let logits = b.prefill_sequence(2, &PROMPT).unwrap();
+    let first = sample_argmax(&logits).0;
+    assert_eq!(first, base[0]);
+    let offset = PROMPT.len();
+    let preds = b.verify_block(2, &base[0..6]).unwrap();
+    assert_eq!(preds, base[1..7].to_vec(), "row t must predict token t+1");
+    b.truncate_kv(2, offset).unwrap();
+
+    // A block with a wrong draft token in row 2: rows before it still predict the plain tokens,
+    // rows after it are unconstrained. Accept 2, then continue plainly from the cut.
+    let block = [base[0], base[1], 999, base[3]];
+    let preds = b.verify_block(2, &block).unwrap();
+    assert_eq!(preds[0], base[1]);
+    assert_eq!(preds[1], base[2]);
+    let accepted = 1; // draft tokens base[1] accepted; 999 rejected; bonus = preds[1] = base[2]
+    b.truncate_kv(2, offset + accepted + 1).unwrap();
+    let seq = b.sequences.get_mut(&2).unwrap();
+    seq.tokens.extend_from_slice(&[base[0], base[1], base[2]]);
+    let mut out = vec![base[0], base[1], base[2]];
+    while out.len() < base.len() {
+        let logits = b.decode_pending(2).unwrap();
+        let t = sample_argmax(&logits).0;
+        out.push(t);
+        b.sequences.get_mut(&2).unwrap().tokens.push(t);
+    }
+    assert_eq!(
+        out, base,
+        "decoding after a rolled-back block must match the plain path"
+    );
+
+    // The pool is back to the plain path's footprint after release.
+    b.release_sequence(2);
+    let free_after = b.kv_manager.as_ref().unwrap().read().free_block_count();
+    b.release_sequence(1);
+    assert_eq!(
+        b.kv_manager.as_ref().unwrap().read().free_block_count(),
+        free_after
+    );
+}
+
+#[test]
+fn verify_block_errors_leave_the_pool_unchanged() {
+    let mut b = backend();
+    b.prefill_sequence(3, &PROMPT).unwrap();
+    let free0 = b.kv_manager.as_ref().unwrap().read().free_block_count();
+    assert!(b.verify_block(3, &[]).is_err());
+    assert!(b.verify_block(4, &[1, 2]).is_err());
+    assert_eq!(
+        b.kv_manager.as_ref().unwrap().read().free_block_count(),
+        free0
+    );
+    assert_eq!(
+        b.kv_manager
+            .as_ref()
+            .unwrap()
+            .read()
+            .get_block_table(3)
+            .unwrap()
+            .total_tokens,
+        PROMPT.len()
+    );
+}
diff --git a/docs/inference/evidence/draft-verify-20261012T1500Z/README.md b/docs/inference/evidence/draft-verify-20261012T1500Z/README.md
new file mode 100644
index 00000000..28c629a0
--- /dev/null
+++ b/docs/inference/evidence/draft-verify-20261012T1500Z/README.md
@@ -0,0 +1,35 @@
+# Draft-reuse speculative verification, feasibility leg (2026-10-12, sc#384 speed lane)
+
+Development measurement, not a campaign run. Nothing is promoted by it. Preregistration and the
+full record: `~/workspace/investigations/2026-10-12-qwen3-8b-decode-speed/plan.md` (decision 14:30Z).
+
+Question: in the corrective second attempt of a document task, can the rejected first draft be
+reused as a free drafter (propose short stretches of it, verify them with the unchanged Qwen3-8B
+in one row-batched pass, `NativeTransformerBackend::verify_block`) without changing the output,
+and how much time does it save?
+
+Setting: real corrective D1 prompt (877 tokens: system, goal, refusal reason, the v7 refused
+reply quoted), draft = the v7 refused reply's 655 token ids, greedy, cap 1024, GB10 at the daemon
+defaults (CTA 1024, spin 2000 us), engine pinned by `omega.lock`.
+
+| run | tokens | ms | vs plain | tokens identical to plain | verify calls (mean ms) | draft accepted |
+|---|---|---|---|---|---|---|
+| plain greedy (M1) | 1013 (eos) | 89731 | 1.00 | - | - | - |
+| B=2 (3 rows) | 1013 | 57358 | 0.64 | yes | 246 (88.9) | 449/492 |
+| B=4 (5 rows) | 1024 (cap) | 53111 | 0.59 | no, from index 764 | 161 (102.5) | 530/641 |
+| B=8 (9 rows) | 1024 (cap) | 49637 | 0.55 | no, from index 764 (same as B=4) | 104 (123.3) | 587/824 |
+
+Primitive cost at context 1873 (M3, three calls each): plain step 78-81 ms; verify rows 2: 85,
+4: 95, 8: 121, 16: 168 ms. VmHWM 29.7 GB after load, 31.8 GB at the end. Fallbacks: 0.
+
+Tie check (`tie-763.json`): at output index 764 the two candidates (323, 382) are 0.008 apart on a
+scale of 29 by the plain path (bitwise equal to verify at 1 and 3 rows) and 0.002 apart at 5 and
+9 rows (a different summation path above 4 rows). The baseline run chose 382, the plain re-read
+of the same context chooses 323: a coin flip that moves with any change of numerical path, the
+production prefill-vs-decode mix included. The B=4/B=8 divergence is that coin flip, not a fault.
+`tie-764.json` is the same check one position late (all paths agree there), kept as a record.
+
+Verdict against the preregistered rule (identical ids for every B and best-B at or under 0.6x):
+NOT MET, narrowly on both axes. Against the directive's gate (verification not too expensive,
+enough draft tokens accepted): met. Limits: one run per setting, one task, development harness
+rather than the serving spine; the whole two-attempt task was not measured as one unit.
diff --git a/docs/inference/evidence/draft-verify-20261012T1500Z/SHA256SUMS b/docs/inference/evidence/draft-verify-20261012T1500Z/SHA256SUMS
new file mode 100644
index 00000000..926e61d9
--- /dev/null
+++ b/docs/inference/evidence/draft-verify-20261012T1500Z/SHA256SUMS
@@ -0,0 +1,23 @@
+590a42a70aa4c9e166c029cbe3bc25757a3da8aa7c76e2d22244784b7e2d512c  specverify-1.json
+6b4f56377e48e7087251774f763e145179edce7122259e9e4185efb6f186af04  tie-763.json
+f87f466390718a66e6e2171d46dd5a2d288f12ddac5f00577a365bcc0890cd0e  tie-764.json
+f0c01c72f0936124c37c4d5a53a54b6fd9b30a93a38914feb92542e0b683c981  specverify-1.err
+1bf46b204e719b27276e3bc7c58f533b36f4c4b3ded062c010ea2bddd1795647  tie-763.err
+1bf46b204e719b27276e3bc7c58f533b36f4c4b3ded062c010ea2bddd1795647  tie-764.err
+4bc0613d02aeeb17abeae48a473b7178ac9b1855705ad22f4a3b5d509dd0f319  specverify-1.raw
+804a0c119e490c9697c53fcd15ac2cdb31ad86349e6345ee381825b1c75642af  tie-763.raw
+4e53be24062faf2e741441390d5b699912415fce112608a45743849427806113  tie-764.raw
+05b38a1d43807bda1e33fe31b5bd8cd5e7f9969b4f4c71f387a84c1d0712a13c  specverify-1-binary.sha256
+da74a4e7d66941de3ff83c4ed57ce1668b3157fdc4f7b9d9b35566811f19f46d  tie-763-binary.sha256
+da74a4e7d66941de3ff83c4ed57ce1668b3157fdc4f7b9d9b35566811f19f46d  tie-764-binary.sha256
+9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa  specverify-1.exit
+9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa  tie-763.exit
+9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa  tie-764.exit
+c5e0a3bfc5347645fcc9fab21687db259a254b74af8e274e8c4ccdefda55967b  specverify-1.start
+1478222e2ee8289038cc02ad814bfdbc486c48a3c6c0b96195275c55e3648c56  tie-763.start
+8de715ef0b9d5f8039a0d88e46284033003fe98db4868f29d342155d42c02f33  tie-764.start
+cf8ffe52d857a757e4409fddc8f40b1a1a2635e6c316384f0b523c9e7f764caa  specverify-1.end
+13bbc80d5dfa1ef5b4f67625e62645a490cc7c9cb245fd6bfce95d6f3ac6f59d  tie-763.end
+6bf64bdb6af8c1b4d25e5b200aaf923572b70138eb33773a3d8966d2d01e8b5a  tie-764.end
+b3d9e6040553d7798059ea7df87405a8f7bb86d14ab99e579ada12bc7c206256  specverify-1-sc-head
+1e194f757a6bf6160f1cff77e09af977c58851ab1305b57aefdbcfa294aed18e  specverify-1-sc-status
diff --git a/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1-binary.sha256 b/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1-binary.sha256
new file mode 100644
index 00000000..1bb8371a
--- /dev/null
+++ b/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1-binary.sha256
@@ -0,0 +1 @@
+c9d5dd72e7ba2b94f291882bd3d086584a1f075d341f054feb4a75b5eb8f3dbb  /home/drakestapleton/workspace/.worktrees/cta1024/target-gb10/release/examples/qwen3_8b_specverify
diff --git a/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1-sc-head b/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1-sc-head
new file mode 100644
index 00000000..39d337fc
--- /dev/null
+++ b/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1-sc-head
@@ -0,0 +1 @@
+c1094ce5d8a84151ec1c80d293ab057f130a9f3c
diff --git a/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1.end b/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1.end
new file mode 100644
index 00000000..1608db95
--- /dev/null
+++ b/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1.end
@@ -0,0 +1 @@
+2026-10-12T15:04:34Z
diff --git a/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1.err b/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1.err
new file mode 100644
index 00000000..b27304b3
--- /dev/null
+++ b/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1.err
@@ -0,0 +1,10 @@
+  prompt 877 tokens, draft 655 tokens
+  M1 baseline: 1013 tokens in 89731 ms
+  M2 B=8: 1024 tokens in 49637 ms (0.55x baseline), identical=false, verify 104 calls mean 123.3 ms, accepted 587/824, plain 332 steps mean 78.6 ms
+  M2 B=4: 1024 tokens in 53111 ms (0.59x baseline), identical=false, verify 161 calls mean 102.5 ms, accepted 530/641, plain 332 steps mean 78.5 ms
+  M2 B=2: 1013 tokens in 57358 ms (0.64x baseline), identical=true, verify 246 calls mean 88.9 ms, accepted 449/492, plain 318 steps mean 78.4 ms
+  M3 rows=1 at ctx 1873: [81.0, 78.0, 80.0] ms
+  M3 rows=2 at ctx 1873: [85.0, 85.0, 84.0] ms
+  M3 rows=4 at ctx 1873: [95.0, 95.0, 95.0] ms
+  M3 rows=8 at ctx 1873: [121.0, 121.0, 121.0] ms
+  M3 rows=16 at ctx 1873: [168.0, 168.0, 172.0] ms
diff --git a/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1.exit b/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1.exit
new file mode 100644
index 00000000..573541ac
--- /dev/null
+++ b/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1.exit
@@ -0,0 +1 @@
+0
diff --git a/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1.json b/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1.json
new file mode 100644
index 00000000..187607e5
--- /dev/null
+++ b/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1.json
@@ -0,0 +1 @@
+{"backend":"OmegaGb10Backend (native Omega engine, no CUDA, NVIDIA GB10 sm_121)","baseline":{"ms":89730.523198,"op_timing":"matmul m=1 k=4096 n=24576 calls=36468 wall_ms=34004.6 chip_ms=33603.8; matmul m=1 k=12288 n=4096 calls=36468 wall_ms=17411.1 chip_ms=17033.2; matmul m=1 k=4096 n=6144 calls=36468 wall_ms=9392.7 chip_ms=9204.4; matmul m=1 k=4096 n=151936 calls=1014 wall_ms=6792.0 chip_ms=6727.6; matmul m=1 k=4096 n=4096 calls=36468 wall_ms=6412.2 chip_ms=6260.9; matmul m=877 k=4096 n=24576 calls=36 wall_ms=4215.2 chip_ms=3912.3; paged_attention_bf16 calls=36468 wall_ms=3985.2 chip_ms=2781.3; matmul m=877 k=12288 n=4096 calls=36 wall_ms=2261.0 chip_ms=1864.2; swiglu calls=36504 wall_ms=1159.9 chip_ms=368.0; matmul m=877 k=4096 n=6144 calls=36 wall_ms=1093.4 chip_ms=929.5; matmul m=877 k=4096 n=4096 calls=36 wall_ms=755.5 chip_ms=617.0; gqa_attention_rows calls=36 wall_ms=435.3 chip_ms=299.6; rmsnorm calls=72 wall_ms=265.8 chip_ms=14.9; rmsnorm_host calls=73950 wall_ms=196.1 chip_ms=0.0; rmsnorm_heads calls=72 wall_ms=162.0 chip_ms=18.3; rope_host calls=68040 wall_ms=149.3 chip_ms=0.0; rmsnorm_heads_host calls=72936 wall_ms=116.0 chip_ms=0.0; kv_staged_bytes_total=295796736 kv_resident_calls_total=36468","output_ids":[8404,25,26340,14109,77,1612,7514,277,2752,287,21324,198,10952,2,2585,311,35116,2752,264,19354,61202,553,8536,271,42215,2752,287,264,9780,21430,553,1424,374,264,4285,3602,7565,9947,429,1449,4296,1265,7341,13,362,1632,7514,277,2752,291,21430,537,1172,26674,2664,714,1083,56824,7149,304,279,9780,13,1096,8474,686,4227,498,1526,279,1882,3019,553,3019,11,22573,498,11075,264,17232,11,26128,6821,382,565,48995,4615,13852,271,10227,498,3161,11,1281,2704,498,614,678,279,5871,7375,518,1424,13,576,1429,4185,5392,369,56363,287,264,21430,553,1424,374,264,420,295,10812,13,362,420,295,10812,374,264,10063,11,93704,9798,429,6147,498,311,51022,279,6821,315,697,21430,448,16052,13,22201,264,420,295,10812,429,374,8311,369,279,943,315,21430,498,525,56363,287,2293,86084,11,264,220,16,15,15,15,24321,275,9798,374,14452,369,4586,990,382,641,5256,311,279,420,295,10812,11,498,686,1184,264,15175,7329,311,975,389,11,1741,438,264,2477,1331,33115,5517,476,264,40269,27292,13,362,2613,5476,315,3015,476,264,53394,517,374,1083,5390,11,438,432,8609,279,9798,10306,1181,26279,2337,279,56363,287,1882,13,70709,11,264,8413,27292,476,42613,686,387,25163,369,45379,279,21430,1283,56363,287,382,8078,2704,498,614,264,1661,17716,2530,311,1490,279,24838,9355,13,362,8455,7766,8991,646,1083,387,10950,369,6915,2385,37202,279,6821,13,1084,594,1083,264,1661,4522,311,614,264,2613,5476,315,5590,476,3015,311,2506,279,420,295,10812,20507,2337,279,56363,287,1882,382,565,35116,2752,279,10349,271,3479,553,9963,279,21430,518,264,12966,9210,11,5990,2163,220,16,20,311,220,17,15,12348,11,11649,389,279,21430,594,2884,13,1096,9210,374,16587,369,20337,279,4396,6821,323,22573,279,21430,8458,17232,369,5021,13,576,9210,1265,387,12966,6814,279,56363,287,1882,311,5648,6825,264,7469,476,60337,6821,382,17371,279,21430,389,279,420,295,10812,11,448,279,6821,1101,30587,279,7329,13,18597,553,33832,279,21430,3941,279,9798,304,264,10876,11,1496,11379,11,18950,3100,7262,13,44801,419,11379,389,2176,11067,315,279,24838,11,22573,429,498,10306,279,1852,9210,1817,882,13,1096,1882,686,26024,4057,9317,504,279,6821,11,6825,264,17232,11,5831,291,1459,382,23526,56363,287,3080,498,2666,279,6821,3161,311,1896,6083,13,1084,374,2989,311,387,8720,323,537,12973,279,1882,13,362,1632,7514,277,2752,291,21430,686,2666,29573,323,803,25988,979,14376,13,1416,498,525,42903,911,279,9210,476,279,1882,11,2908,35566,389,264,2686,9023,21430,1156,311,1936,12136,382,2679,498,2299,1667,264,420,295,10812,11,432,594,2989,311,10306,279,4396,9210,6814,279,56363,287,1882,13,1096,25351,429,279,6821,374,41047,5831,291,323,8458,17232,369,5021,13,1446,646,990,264,8474,476,264,11134,311,1492,498,10306,279,9210,20699,382,565,3393,323,9129,271,12522,498,614,56363,291,279,21430,11,432,374,882,311,1273,1181,5068,13,5443,432,311,3931,1526,264,6573,315,5567,476,264,41020,311,1490,421,432,34254,38411,323,96875,13,1416,279,21430,11074,40530,476,27870,311,3931,11,498,1231,1184,311,56363,432,4623,476,7500,279,9210,382,6025,7497,11,432,374,2989,311,3553,279,21430,10277,311,10306,1181,17232,2090,13,13655,432,304,264,9058,1992,11,49563,304,264,21430,2504,476,264,23970,13316,11,311,5358,432,504,5001,1119,3645,448,1008,6171,429,1410,40530,279,6821,13,28800,13404,11,1741,438,27861,5831,287,448,264,420,295,10812,11,686,1492,2506,697,21430,304,22823,2971,369,1635,311,2525,382,2679,498,2299,537,2704,911,279,9210,498,1483,11,498,646,1273,432,553,1667,264,6573,315,5567,13,1416,279,21430,646,3931,1526,279,5567,6707,11,279,9210,374,4396,13,1416,432,27870,11,498,1231,1184,311,7500,279,9210,10078,382,2132,594,1083,264,1661,4522,311,4240,279,21430,1283,56363,287,311,4057,894,33998,476,9317,18730,13,1096,8609,5358,5557,311,279,24838,323,25351,429,279,21430,8458,304,1661,2971,382,1359,2701,1493,7354,11,498,646,5978,429,697,9780,21430,8458,17232,11,6092,11,323,5527,369,990,15356,498,1184,432,13,3085,6588,11,498,686,3635,803,68265,304,279,1947,315,1424,56363,287,11,3259,697,882,304,279,9780,803,11050,323,31080,382,28590,311,2677,3705,279,21430,448,2453,11,1496,979,432,594,537,17232,13,362,40530,21430,374,803,11406,1091,264,17232,825,11,773,432,594,2989,311,10306,432,10277,13,28800,56363,287,323,13404,686,1492,498,5648,32688,304,279,9780,382,2679,498,2299,501,311,56363,287,11,2908,5916,448,264,2686,11392,21430,311,6588,697,14762,13,1096,1616,11,498,646,3960,279,1882,2041,84922,5557,311,264,15172,5392,13,1634,498,8722,12136,11,498,646,3796,1493,12538,311,697,803,11392,476,27076,48895,382,23949,11,2677,2506,697,56363,287,7375,4240,323,9768,304,264,6092,1992,13,1096,8609,5978,429,807,7146,7373,323,5527,369,990,15356,498,1184,1105,13,3085,279,1290,7375,323,12538,11,498,646,2506,697,9780,48895,304,9073,2971,369,1635,311,2525,13],"reply":"filename: docs/knife-sharpening.md\n---\n# How to Sharpen a Kitchen Knife by Hand\n\nSharpening a kitchen knife by hand is a simple yet essential skill that every cook should master. A well-sharpened knife not only performs better but also enhances safety in the kitchen. This guide will walk you through the process step by step, ensuring you achieve a sharp, durable edge.\n\n## Gather Your Tools\n\nBefore you begin, make sure you have all the necessary tools at hand. The most common tool for sharpening a knife by hand is a whetstone. A whetstone is a flat, abrasive stone that allows you to hone the edge of your knife with precision. Choose a whetstone that is appropriate for the type of knife you are sharpening—typically, a 1000-grit stone is suitable for general use.\n\nIn addition to the whetstone, you will need a stable surface to work on, such as a non-slip mat or a damp cloth. A small container of water or a lubricant is also useful, as it helps the stone maintain its effectiveness during the sharpening process. Lastly, a soft cloth or towel will be handy for drying the knife after sharpening.\n\nMake sure you have a good lighting source to see the blade clearly. A magnifying glass can also be helpful for fine-tuning the edge. It's also a good idea to have a small container of oil or water to keep the whetstone moist during the sharpening process.\n\n## Sharpen the Edge\n\nStart by holding the knife at a consistent angle, usually around 15 to 20 degrees, depending on the knife's design. This angle is crucial for maintaining the correct edge and ensuring the knife remains sharp for longer. The angle should be consistent throughout the sharpening process to avoid creating a weak or uneven edge.\n\nPlace the knife on the whetstone, with the edge just touching the surface. Begin by sliding the knife across the stone in a smooth, even motion, applying light pressure. Repeat this motion on both sides of the blade, ensuring that you maintain the same angle each time. This process will gradually remove metal from the edge, creating a sharp, honed point.\n\nContinue sharpening until you feel the edge begin to take shape. It is important to be patient and not rush the process. A well-sharpened knife will feel lighter and more responsive when cutting. If you are unsure about the angle or the process, consider practicing on a less critical knife first to build confidence.\n\nIf you're using a whetstone, it's important to maintain the correct angle throughout the sharpening process. This ensures that the edge is evenly honed and remains sharp for longer. You can use a guide or a marker to help you maintain the angle consistently.\n\n## Test and Store\n\nOnce you have sharpened the knife, it is time to test its performance. Use it to cut through a piece of paper or a tomato to see if it slices smoothly and cleanly. If the knife feels dull or struggles to cut, you may need to sharpen it further or adjust the angle.\n\nAfter testing, it is important to store the knife properly to maintain its sharpness. Keep it in a dry place, ideally in a knife block or a magnetic strip, to prevent it from coming into contact with other objects that could dull the edge. Regular maintenance, such as occasional honing with a whetstone, will help keep your knife in optimal condition for years to come.\n\nIf you're not sure about the angle you used, you can test it by using a piece of paper. If the knife can cut through the paper easily, the angle is correct. If it struggles, you may need to adjust the angle slightly.\n\nIt's also a good idea to clean the knife after sharpening to remove any debris or metal particles. This helps prevent damage to the blade and ensures that the knife remains in good condition.\n\nBy following these steps, you can ensure that your kitchen knife remains sharp, safe, and ready for use whenever you need it. With practice, you will become more proficient in the art of hand sharpening, making your time in the kitchen more efficient and enjoyable.\n\nRemember to always handle the knife with care, even when it's not sharp. A dull knife is more dangerous than a sharp one, so it's important to maintain it properly. Regular sharpening and maintenance will help you avoid accidents in the kitchen.\n\nIf you're new to sharpening, consider starting with a less expensive knife to practice your technique. This way, you can learn the process without risking damage to a valuable tool. As you gain confidence, you can apply these techniques to your more expensive or specialized knives.\n\nFinally, always keep your sharpening tools clean and stored in a safe place. This helps ensure that they remain effective and ready for use whenever you need them. With the right tools and techniques, you can keep your kitchen knives in excellent condition for years to come.","tokens":1013},"cta_budget":1024,"draft_tokens":655,"fallback_count":0,"goal":"Please create the file docs/knife-sharpening.md, a short how-to guide on sharpening a kitchen knife by hand. It should have at least 22 non-empty lines and three sections titled \"Gather Your Tools\", \"Sharpen the Edge\" and \"Test and Store\". Make sure the words whetstone and angle both appear somewhere in it.","leg":"gb10","m3_primitive_cost":[{"context":1873,"ms":[81.230991,78.46763499999999,79.76696899999999],"rows":1},{"context":1873,"ms":[85.136223,84.96547,83.906554],"rows":2},{"context":1873,"ms":[95.127832,95.491754,95.161464],"rows":4},{"context":1873,"ms":[121.295012,121.06889899999999,121.04819499999999],"rows":8},{"context":1873,"ms":[167.942164,167.78216400000002,171.844212],"rows":16}],"model_id":"qwen3-8b","prompt_tokens":877,"reason":"unmet requirement: at least 22 non-empty lines, found 14","spec_runs":[{"accepted":587,"block":8,"first_divergence":764,"identical_to_baseline":false,"ms":49637.434802,"op_timing":"matmul m=1 k=4096 n=24576 calls=11952 wall_ms=11172.3 chip_ms=11039.7; matmul m=1 k=12288 n=4096 calls=11952 wall_ms=5720.6 chip_ms=5596.0; paged_attention_bf16 calls=45360 wall_ms=4602.1 chip_ms=3104.0; matmul m=877 k=4096 n=24576 calls=36 wall_ms=4213.3 chip_ms=3901.7; matmul m=9 k=4096 n=24576 calls=3636 wall_ms=3563.2 chip_ms=3352.1; matmul m=1 k=4096 n=6144 calls=11952 wall_ms=3089.6 chip_ms=3027.3; matmul m=877 k=12288 n=4096 calls=36 wall_ms=2357.6 chip_ms=1866.3; matmul m=1 k=4096 n=151936 calls=333 wall_ms=2233.4 chip_ms=2211.9; matmul m=1 k=4096 n=4096 calls=11952 wall_ms=2105.6 chip_ms=2056.3; matmul m=9 k=12288 n=4096 calls=3636 wall_ms=1961.5 chip_ms=1698.8; swiglu calls=15732 wall_ms=1142.7 chip_ms=214.8; matmul m=877 k=4096 n=6144 calls=36 wall_ms=1120.9 chip_ms=934.8; matmul m=9 k=4096 n=6144 calls=3636 wall_ms=1032.6 chip_ms=918.8; matmul m=877 k=4096 n=4096 calls=36 wall_ms=798.0 chip_ms=630.0; matmul m=9 k=4096 n=4096 calls=3636 wall_ms=726.1 chip_ms=624.2; rmsnorm calls=7664 wall_ms=708.3 chip_ms=239.4; matmul m=9 k=4096 n=151936 calls=101 wall_ms=700.9 chip_ms=674.2; gqa_attention_rows calls=36 wall_ms=427.3 chip_ms=274.5; rmsnorm_heads calls=3816 wall_ms=315.6 chip_ms=58.0; rope_host calls=76932 wall_ms=193.1 chip_ms=0.0; matmul m=6 k=4096 n=24576 calls=72 wall_ms=69.2 chip_ms=66.2; rmsnorm_host calls=24237 wall_ms=65.8 chip_ms=0.0; rmsnorm_heads_host calls=27648 wall_ms=60.2 chip_ms=0.0; matmul m=6 k=12288 n=4096 calls=72 wall_ms=37.1 chip_ms=33.6; matmul m=7 k=4096 n=24576 calls=36 wall_ms=34.9 chip_ms=33.2; matmul m=6 k=4096 n=6144 calls=72 wall_ms=19.8 chip_ms=18.1; matmul m=7 k=12288 n=4096 calls=36 wall_ms=18.8 chip_ms=16.8; matmul m=6 k=4096 n=4096 calls=72 wall_ms=13.7 chip_ms=12.3; matmul m=6 k=4096 n=151936 calls=2 wall_ms=13.5 chip_ms=13.1; matmul m=7 k=4096 n=6144 calls=36 wall_ms=10.1 chip_ms=9.1; matmul m=7 k=4096 n=4096 calls=36 wall_ms=7.0 chip_ms=6.2; matmul m=7 k=4096 n=151936 calls=1 wall_ms=6.9 chip_ms=6.7; kv_staged_bytes_total=554434560 kv_resident_calls_total=81828","output_ids":[8404,25,26340,14109,77,1612,7514,277,2752,287,21324,198,10952,2,2585,311,35116,2752,264,19354,61202,553,8536,271,42215,2752,287,264,9780,21430,553,1424,374,264,4285,3602,7565,9947,429,1449,4296,1265,7341,13,362,1632,7514,277,2752,291,21430,537,1172,26674,2664,714,1083,56824,7149,304,279,9780,13,1096,8474,686,4227,498,1526,279,1882,3019,553,3019,11,22573,498,11075,264,17232,11,26128,6821,382,565,48995,4615,13852,271,10227,498,3161,11,1281,2704,498,614,678,279,5871,7375,518,1424,13,576,1429,4185,5392,369,56363,287,264,21430,553,1424,374,264,420,295,10812,13,362,420,295,10812,374,264,10063,11,93704,9798,429,6147,498,311,51022,279,6821,315,697,21430,448,16052,13,22201,264,420,295,10812,429,374,8311,369,279,943,315,21430,498,525,56363,287,2293,86084,11,264,220,16,15,15,15,24321,275,9798,374,14452,369,4586,990,382,641,5256,311,279,420,295,10812,11,498,686,1184,264,15175,7329,311,975,389,11,1741,438,264,2477,1331,33115,5517,476,264,40269,27292,13,362,2613,5476,315,3015,476,264,53394,517,374,1083,5390,11,438,432,8609,279,9798,10306,1181,26279,2337,279,56363,287,1882,13,70709,11,264,8413,27292,476,42613,686,387,25163,369,45379,279,21430,1283,56363,287,382,8078,2704,498,614,264,1661,17716,2530,311,1490,279,24838,9355,13,362,8455,7766,8991,646,1083,387,10950,369,6915,2385,37202,279,6821,13,1084,594,1083,264,1661,4522,311,614,264,2613,5476,315,5590,476,3015,311,2506,279,420,295,10812,20507,2337,279,56363,287,1882,382,565,35116,2752,279,10349,271,3479,553,9963,279,21430,518,264,12966,9210,11,5990,2163,220,16,20,311,220,17,15,12348,11,11649,389,279,21430,594,2884,13,1096,9210,374,16587,369,20337,279,4396,6821,323,22573,279,21430,8458,17232,369,5021,13,576,9210,1265,387,12966,6814,279,56363,287,1882,311,5648,6825,264,7469,476,60337,6821,382,17371,279,21430,389,279,420,295,10812,11,448,279,6821,1101,30587,279,7329,13,18597,553,33832,279,21430,3941,279,9798,304,264,10876,11,1496,11379,11,18950,3100,7262,13,44801,419,11379,389,2176,11067,315,279,24838,11,22573,429,498,10306,279,1852,9210,1817,882,13,1096,1882,686,26024,4057,9317,504,279,6821,11,6825,264,17232,11,5831,291,1459,382,23526,56363,287,3080,498,2666,279,6821,3161,311,1896,6083,13,1084,374,2989,311,387,8720,323,537,12973,279,1882,13,362,1632,7514,277,2752,291,21430,686,2666,29573,323,803,25988,979,14376,13,1416,498,525,42903,911,279,9210,476,279,1882,11,2908,35566,389,264,2686,9023,21430,1156,311,1936,12136,382,2679,498,2299,1667,264,420,295,10812,11,432,594,2989,311,10306,279,4396,9210,6814,279,56363,287,1882,13,1096,25351,429,279,6821,374,41047,5831,291,323,8458,17232,369,5021,13,1446,646,990,264,8474,476,264,11134,311,1492,498,10306,279,9210,20699,382,565,3393,323,9129,271,12522,498,614,56363,291,279,21430,11,432,374,882,311,1273,1181,5068,13,5443,432,311,3931,1526,264,6573,315,5567,476,264,41020,311,1490,421,432,34254,38411,323,96875,13,1416,279,21430,11074,40530,476,27870,311,3931,11,498,1231,1184,311,56363,432,4623,476,7500,279,9210,382,6025,7497,11,432,374,2989,311,3553,279,21430,10277,311,10306,1181,17232,2090,13,13655,432,304,264,9058,1992,11,49563,304,264,21430,2504,476,264,23970,13316,11,311,5358,432,504,5001,1119,3645,448,1008,6171,429,1410,40530,279,6821,13,28800,13404,11,1741,438,27861,5831,287,448,264,420,295,10812,11,686,1492,2506,697,21430,304,22823,2971,369,1635,311,2525,382,2679,498,2299,537,2704,911,279,9210,498,1483,11,498,646,1273,432,553,1667,264,6573,315,5567,13,1416,279,21430,646,3931,1526,279,5567,6707,11,279,9210,374,4396,13,1416,432,27870,11,498,1231,1184,311,7500,279,9210,10078,323,13153,279,56363,287,1882,382,2132,594,1083,264,1661,4522,311,4240,279,21430,1283,56363,287,311,4057,894,9317,557,45751,476,33998,13,1096,8609,5358,5557,311,279,24838,323,25351,429,279,21430,8458,304,1661,2971,382,1359,2701,1493,7354,11,498,646,5978,429,697,9780,21430,8458,17232,11,6092,11,323,5527,369,990,15356,498,1184,432,13,3085,6588,11,498,686,3635,803,68265,304,279,1947,315,1424,56363,287,11,3259,697,882,304,279,9780,803,11050,323,31080,382,28590,311,2677,3705,279,21430,448,2453,11,1496,979,432,594,537,17232,13,362,40530,21430,374,803,11406,1091,264,17232,825,11,773,432,594,2989,311,10306,432,10277,13,28800,56363,287,323,13404,686,1492,498,5648,32688,304,279,9780,382,2679,498,2299,501,311,56363,287,11,2908,5916,448,264,2686,11392,21430,311,6588,697,14762,13,1096,1616,11,498,646,3960,279,1882,2041,84922,5557,311,264,15172,5392,13,1634,498,8722,12136,11,498,646,3796,1493,12538,311,697,803,11392,476,27076,48895,382,23949,11,2677,2506,697,56363,287,7375,4240,323,9768,304,264,6092,1992,13,362,1632,1448,1641,2627,420,295,10812,323,1008,7375,686,1492,498,11075,279,1850,3059,323,13036,279,2272,315,697,48895,13,3085,882,323,6588,11,498,3278,387,2952,311,56363,697,9780,48895,448],"plain_ms_mean":78.58091721385541,"plain_steps":332,"proposed":824,"ratio_to_baseline":0.553183387691496,"rows":9,"tokens":1024,"verify_calls":104,"verify_ms_mean":123.3388235},{"accepted":530,"block":4,"first_divergence":764,"identical_to_baseline":false,"ms":53110.501611,"op_timing":"matmul m=1 k=4096 n=24576 calls=11952 wall_ms=11164.4 chip_ms=11031.2; matmul m=1 k=12288 n=4096 calls=11952 wall_ms=5717.2 chip_ms=5591.6; matmul m=5 k=4096 n=24576 calls=5760 wall_ms=5519.6 chip_ms=5309.9; paged_attention_bf16 calls=40824 wall_ms=4203.1 chip_ms=2849.9; matmul m=877 k=4096 n=24576 calls=36 wall_ms=4191.3 chip_ms=3907.8; matmul m=1 k=4096 n=6144 calls=11952 wall_ms=3084.2 chip_ms=3022.0; matmul m=5 k=12288 n=4096 calls=5760 wall_ms=2942.2 chip_ms=2689.2; matmul m=877 k=12288 n=4096 calls=36 wall_ms=2286.9 chip_ms=1862.7; matmul m=1 k=4096 n=151936 calls=333 wall_ms=2225.6 chip_ms=2203.8; matmul m=1 k=4096 n=4096 calls=11952 wall_ms=2104.9 chip_ms=2055.5; matmul m=5 k=4096 n=6144 calls=5760 wall_ms=1565.3 chip_ms=1454.1; matmul m=877 k=4096 n=6144 calls=36 wall_ms=1112.5 chip_ms=942.9; matmul m=5 k=4096 n=4096 calls=5760 wall_ms=1088.2 chip_ms=988.3; swiglu calls=17784 wall_ms=1087.4 chip_ms=235.6; matmul m=5 k=4096 n=151936 calls=160 wall_ms=1086.3 chip_ms=1058.8; matmul m=877 k=4096 n=4096 calls=36 wall_ms=828.7 chip_ms=677.5; rmsnorm calls=11752 wall_ms=798.3 chip_ms=361.8; gqa_attention_rows calls=36 wall_ms=431.0 chip_ms=287.0; rmsnorm_heads calls=5832 wall_ms=315.2 chip_ms=77.4; rope_host calls=72396 wall_ms=173.4 chip_ms=0.0; rmsnorm_host calls=24310 wall_ms=65.7 chip_ms=0.0; rmsnorm_heads_host calls=29736 wall_ms=57.1 chip_ms=0.0; matmul m=2 k=4096 n=24576 calls=36 wall_ms=33.8 chip_ms=33.1; matmul m=2 k=12288 n=4096 calls=36 wall_ms=17.4 chip_ms=16.7; matmul m=2 k=4096 n=6144 calls=36 wall_ms=9.4 chip_ms=9.1; matmul m=2 k=4096 n=151936 calls=1 wall_ms=6.6 chip_ms=6.5; matmul m=2 k=4096 n=4096 calls=36 wall_ms=6.5 chip_ms=6.2; kv_staged_bytes_total=813072384 kv_resident_calls_total=122652","output_ids":[8404,25,26340,14109,77,1612,7514,277,2752,287,21324,198,10952,2,2585,311,35116,2752,264,19354,61202,553,8536,271,42215,2752,287,264,9780,21430,553,1424,374,264,4285,3602,7565,9947,429,1449,4296,1265,7341,13,362,1632,7514,277,2752,291,21430,537,1172,26674,2664,714,1083,56824,7149,304,279,9780,13,1096,8474,686,4227,498,1526,279,1882,3019,553,3019,11,22573,498,11075,264,17232,11,26128,6821,382,565,48995,4615,13852,271,10227,498,3161,11,1281,2704,498,614,678,279,5871,7375,518,1424,13,576,1429,4185,5392,369,56363,287,264,21430,553,1424,374,264,420,295,10812,13,362,420,295,10812,374,264,10063,11,93704,9798,429,6147,498,311,51022,279,6821,315,697,21430,448,16052,13,22201,264,420,295,10812,429,374,8311,369,279,943,315,21430,498,525,56363,287,2293,86084,11,264,220,16,15,15,15,24321,275,9798,374,14452,369,4586,990,382,641,5256,311,279,420,295,10812,11,498,686,1184,264,15175,7329,311,975,389,11,1741,438,264,2477,1331,33115,5517,476,264,40269,27292,13,362,2613,5476,315,3015,476,264,53394,517,374,1083,5390,11,438,432,8609,279,9798,10306,1181,26279,2337,279,56363,287,1882,13,70709,11,264,8413,27292,476,42613,686,387,25163,369,45379,279,21430,1283,56363,287,382,8078,2704,498,614,264,1661,17716,2530,311,1490,279,24838,9355,13,362,8455,7766,8991,646,1083,387,10950,369,6915,2385,37202,279,6821,13,1084,594,1083,264,1661,4522,311,614,264,2613,5476,315,5590,476,3015,311,2506,279,420,295,10812,20507,2337,279,56363,287,1882,382,565,35116,2752,279,10349,271,3479,553,9963,279,21430,518,264,12966,9210,11,5990,2163,220,16,20,311,220,17,15,12348,11,11649,389,279,21430,594,2884,13,1096,9210,374,16587,369,20337,279,4396,6821,323,22573,279,21430,8458,17232,369,5021,13,576,9210,1265,387,12966,6814,279,56363,287,1882,311,5648,6825,264,7469,476,60337,6821,382,17371,279,21430,389,279,420,295,10812,11,448,279,6821,1101,30587,279,7329,13,18597,553,33832,279,21430,3941,279,9798,304,264,10876,11,1496,11379,11,18950,3100,7262,13,44801,419,11379,389,2176,11067,315,279,24838,11,22573,429,498,10306,279,1852,9210,1817,882,13,1096,1882,686,26024,4057,9317,504,279,6821,11,6825,264,17232,11,5831,291,1459,382,23526,56363,287,3080,498,2666,279,6821,3161,311,1896,6083,13,1084,374,2989,311,387,8720,323,537,12973,279,1882,13,362,1632,7514,277,2752,291,21430,686,2666,29573,323,803,25988,979,14376,13,1416,498,525,42903,911,279,9210,476,279,1882,11,2908,35566,389,264,2686,9023,21430,1156,311,1936,12136,382,2679,498,2299,1667,264,420,295,10812,11,432,594,2989,311,10306,279,4396,9210,6814,279,56363,287,1882,13,1096,25351,429,279,6821,374,41047,5831,291,323,8458,17232,369,5021,13,1446,646,990,264,8474,476,264,11134,311,1492,498,10306,279,9210,20699,382,565,3393,323,9129,271,12522,498,614,56363,291,279,21430,11,432,374,882,311,1273,1181,5068,13,5443,432,311,3931,1526,264,6573,315,5567,476,264,41020,311,1490,421,432,34254,38411,323,96875,13,1416,279,21430,11074,40530,476,27870,311,3931,11,498,1231,1184,311,56363,432,4623,476,7500,279,9210,382,6025,7497,11,432,374,2989,311,3553,279,21430,10277,311,10306,1181,17232,2090,13,13655,432,304,264,9058,1992,11,49563,304,264,21430,2504,476,264,23970,13316,11,311,5358,432,504,5001,1119,3645,448,1008,6171,429,1410,40530,279,6821,13,28800,13404,11,1741,438,27861,5831,287,448,264,420,295,10812,11,686,1492,2506,697,21430,304,22823,2971,369,1635,311,2525,382,2679,498,2299,537,2704,911,279,9210,498,1483,11,498,646,1273,432,553,1667,264,6573,315,5567,13,1416,279,21430,646,3931,1526,279,5567,6707,11,279,9210,374,4396,13,1416,432,27870,11,498,1231,1184,311,7500,279,9210,10078,323,13153,279,56363,287,1882,382,2132,594,1083,264,1661,4522,311,4240,279,21430,1283,56363,287,311,4057,894,9317,557,45751,476,33998,13,1096,8609,5358,5557,311,279,24838,323,25351,429,279,21430,8458,304,1661,2971,382,1359,2701,1493,7354,11,498,646,5978,429,697,9780,21430,8458,17232,11,6092,11,323,5527,369,990,15356,498,1184,432,13,3085,6588,11,498,686,3635,803,68265,304,279,1947,315,1424,56363,287,11,3259,697,882,304,279,9780,803,11050,323,31080,382,28590,311,2677,3705,279,21430,448,2453,11,1496,979,432,594,537,17232,13,362,40530,21430,374,803,11406,1091,264,17232,825,11,773,432,594,2989,311,10306,432,10277,13,28800,56363,287,323,13404,686,1492,498,5648,32688,304,279,9780,382,2679,498,2299,501,311,56363,287,11,2908,5916,448,264,2686,11392,21430,311,6588,697,14762,13,1096,1616,11,498,646,3960,279,1882,2041,84922,5557,311,264,15172,5392,13,1634,498,8722,12136,11,498,646,3796,1493,12538,311,697,803,11392,476,27076,48895,382,23949,11,2677,2506,697,56363,287,7375,4240,323,9768,304,264,6092,1992,13,362,1632,1448,1641,2627,420,295,10812,323,1008,7375,686,1492,498,11075,279,1850,3059,323,13036,279,2272,315,697,48895,13,3085,882,323,6588,11,498,3278,387,2952,311,56363,697,9780,48895,448],"plain_ms_mean":78.50570682228911,"plain_steps":332,"proposed":641,"ratio_to_baseline":0.591888910463678,"rows":5,"tokens":1024,"verify_calls":161,"verify_ms_mean":102.53638094409939},{"accepted":449,"block":2,"first_divergence":null,"identical_to_baseline":true,"ms":57357.91531800001,"op_timing":"matmul m=1 k=4096 n=24576 calls=11448 wall_ms=10682.3 chip_ms=10556.1; matmul m=3 k=4096 n=24576 calls=8856 wall_ms=8399.0 chip_ms=8169.4; matmul m=1 k=12288 n=4096 calls=11448 wall_ms=5474.6 chip_ms=5355.4; matmul m=3 k=12288 n=4096 calls=8856 wall_ms=4373.7 chip_ms=4137.5; matmul m=877 k=4096 n=24576 calls=36 wall_ms=4189.8 chip_ms=3902.1; paged_attention_bf16 calls=38016 wall_ms=3939.9 chip_ms=2681.7; matmul m=1 k=4096 n=6144 calls=11448 wall_ms=2950.7 chip_ms=2891.3; matmul m=3 k=4096 n=6144 calls=8856 wall_ms=2347.9 chip_ms=2235.5; matmul m=877 k=12288 n=4096 calls=36 wall_ms=2282.5 chip_ms=1862.2; matmul m=1 k=4096 n=151936 calls=319 wall_ms=2134.1 chip_ms=2113.5; matmul m=1 k=4096 n=4096 calls=11448 wall_ms=2013.0 chip_ms=1966.0; matmul m=3 k=4096 n=151936 calls=246 wall_ms=1658.0 chip_ms=1628.2; matmul m=3 k=4096 n=4096 calls=8856 wall_ms=1616.2 chip_ms=1519.0; matmul m=877 k=4096 n=6144 calls=36 wall_ms=1117.0 chip_ms=951.0; swiglu calls=20340 wall_ms=1054.6 chip_ms=250.0; matmul m=877 k=4096 n=4096 calls=36 wall_ms=842.7 chip_ms=697.7; gqa_attention_rows calls=36 wall_ms=427.6 chip_ms=286.4; rmsnorm calls=72 wall_ms=261.2 chip_ms=15.2; rmsnorm_host calls=41173 wall_ms=195.4 chip_ms=0.0; rmsnorm_heads calls=72 wall_ms=165.6 chip_ms=18.1; rope_host calls=69588 wall_ms=162.3 chip_ms=0.0; rmsnorm_heads_host calls=40608 wall_ms=120.2 chip_ms=0.0; kv_staged_bytes_total=1071710208 kv_resident_calls_total=160668","output_ids":[8404,25,26340,14109,77,1612,7514,277,2752,287,21324,198,10952,2,2585,311,35116,2752,264,19354,61202,553,8536,271,42215,2752,287,264,9780,21430,553,1424,374,264,4285,3602,7565,9947,429,1449,4296,1265,7341,13,362,1632,7514,277,2752,291,21430,537,1172,26674,2664,714,1083,56824,7149,304,279,9780,13,1096,8474,686,4227,498,1526,279,1882,3019,553,3019,11,22573,498,11075,264,17232,11,26128,6821,382,565,48995,4615,13852,271,10227,498,3161,11,1281,2704,498,614,678,279,5871,7375,518,1424,13,576,1429,4185,5392,369,56363,287,264,21430,553,1424,374,264,420,295,10812,13,362,420,295,10812,374,264,10063,11,93704,9798,429,6147,498,311,51022,279,6821,315,697,21430,448,16052,13,22201,264,420,295,10812,429,374,8311,369,279,943,315,21430,498,525,56363,287,2293,86084,11,264,220,16,15,15,15,24321,275,9798,374,14452,369,4586,990,382,641,5256,311,279,420,295,10812,11,498,686,1184,264,15175,7329,311,975,389,11,1741,438,264,2477,1331,33115,5517,476,264,40269,27292,13,362,2613,5476,315,3015,476,264,53394,517,374,1083,5390,11,438,432,8609,279,9798,10306,1181,26279,2337,279,56363,287,1882,13,70709,11,264,8413,27292,476,42613,686,387,25163,369,45379,279,21430,1283,56363,287,382,8078,2704,498,614,264,1661,17716,2530,311,1490,279,24838,9355,13,362,8455,7766,8991,646,1083,387,10950,369,6915,2385,37202,279,6821,13,1084,594,1083,264,1661,4522,311,614,264,2613,5476,315,5590,476,3015,311,2506,279,420,295,10812,20507,2337,279,56363,287,1882,382,565,35116,2752,279,10349,271,3479,553,9963,279,21430,518,264,12966,9210,11,5990,2163,220,16,20,311,220,17,15,12348,11,11649,389,279,21430,594,2884,13,1096,9210,374,16587,369,20337,279,4396,6821,323,22573,279,21430,8458,17232,369,5021,13,576,9210,1265,387,12966,6814,279,56363,287,1882,311,5648,6825,264,7469,476,60337,6821,382,17371,279,21430,389,279,420,295,10812,11,448,279,6821,1101,30587,279,7329,13,18597,553,33832,279,21430,3941,279,9798,304,264,10876,11,1496,11379,11,18950,3100,7262,13,44801,419,11379,389,2176,11067,315,279,24838,11,22573,429,498,10306,279,1852,9210,1817,882,13,1096,1882,686,26024,4057,9317,504,279,6821,11,6825,264,17232,11,5831,291,1459,382,23526,56363,287,3080,498,2666,279,6821,3161,311,1896,6083,13,1084,374,2989,311,387,8720,323,537,12973,279,1882,13,362,1632,7514,277,2752,291,21430,686,2666,29573,323,803,25988,979,14376,13,1416,498,525,42903,911,279,9210,476,279,1882,11,2908,35566,389,264,2686,9023,21430,1156,311,1936,12136,382,2679,498,2299,1667,264,420,295,10812,11,432,594,2989,311,10306,279,4396,9210,6814,279,56363,287,1882,13,1096,25351,429,279,6821,374,41047,5831,291,323,8458,17232,369,5021,13,1446,646,990,264,8474,476,264,11134,311,1492,498,10306,279,9210,20699,382,565,3393,323,9129,271,12522,498,614,56363,291,279,21430,11,432,374,882,311,1273,1181,5068,13,5443,432,311,3931,1526,264,6573,315,5567,476,264,41020,311,1490,421,432,34254,38411,323,96875,13,1416,279,21430,11074,40530,476,27870,311,3931,11,498,1231,1184,311,56363,432,4623,476,7500,279,9210,382,6025,7497,11,432,374,2989,311,3553,279,21430,10277,311,10306,1181,17232,2090,13,13655,432,304,264,9058,1992,11,49563,304,264,21430,2504,476,264,23970,13316,11,311,5358,432,504,5001,1119,3645,448,1008,6171,429,1410,40530,279,6821,13,28800,13404,11,1741,438,27861,5831,287,448,264,420,295,10812,11,686,1492,2506,697,21430,304,22823,2971,369,1635,311,2525,382,2679,498,2299,537,2704,911,279,9210,498,1483,11,498,646,1273,432,553,1667,264,6573,315,5567,13,1416,279,21430,646,3931,1526,279,5567,6707,11,279,9210,374,4396,13,1416,432,27870,11,498,1231,1184,311,7500,279,9210,10078,382,2132,594,1083,264,1661,4522,311,4240,279,21430,1283,56363,287,311,4057,894,33998,476,9317,18730,13,1096,8609,5358,5557,311,279,24838,323,25351,429,279,21430,8458,304,1661,2971,382,1359,2701,1493,7354,11,498,646,5978,429,697,9780,21430,8458,17232,11,6092,11,323,5527,369,990,15356,498,1184,432,13,3085,6588,11,498,686,3635,803,68265,304,279,1947,315,1424,56363,287,11,3259,697,882,304,279,9780,803,11050,323,31080,382,28590,311,2677,3705,279,21430,448,2453,11,1496,979,432,594,537,17232,13,362,40530,21430,374,803,11406,1091,264,17232,825,11,773,432,594,2989,311,10306,432,10277,13,28800,56363,287,323,13404,686,1492,498,5648,32688,304,279,9780,382,2679,498,2299,501,311,56363,287,11,2908,5916,448,264,2686,11392,21430,311,6588,697,14762,13,1096,1616,11,498,646,3960,279,1882,2041,84922,5557,311,264,15172,5392,13,1634,498,8722,12136,11,498,646,3796,1493,12538,311,697,803,11392,476,27076,48895,382,23949,11,2677,2506,697,56363,287,7375,4240,323,9768,304,264,6092,1992,13,1096,8609,5978,429,807,7146,7373,323,5527,369,990,15356,498,1184,1105,13,3085,279,1290,7375,323,12538,11,498,646,2506,697,9780,48895,304,9073,2971,369,1635,311,2525,13],"plain_ms_mean":78.39785347798741,"plain_steps":318,"proposed":492,"ratio_to_baseline":0.6392241265709956,"rows":3,"tokens":1013,"verify_calls":246,"verify_ms_mean":88.89040823170728}],"spin_us":2000,"vm_hwm_kb_after_load":29725300,"vm_hwm_kb_end":31788288}
diff --git a/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1.start b/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1.start
new file mode 100644
index 00000000..d12c4c1d
--- /dev/null
+++ b/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-1.start
@@ -0,0 +1 @@
+2026-10-12T14:59:39Z
diff --git a/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-leg.sh b/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-leg.sh
new file mode 100755
index 00000000..c877a0d4
--- /dev/null
+++ b/docs/inference/evidence/draft-verify-20261012T1500Z/specverify-leg.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# One chip leg of qwen3_8b_specverify (draft-reuse speculative verification, preregistered M1/M2/M3).
+W=~/workspace/.worktrees/cta1024; R=~/workspace/investigations/2026-10-12-qwen3-8b-decode-speed/receipts/draft-verify
+BIN=$W/target-gb10/release/examples/qwen3_8b_specverify
+V7=$W/docs/campaigns/open-model-qwen3/evidence-v7/run/out/3c5b1083e23732e59923ab0ed289f8951061a96ff1d7ac8873117df8b3522f09.json
+N=specverify-1; cd $W || exit 2
+sha256sum $BIN > $R/$N-binary.sha256; git rev-parse HEAD > $R/$N-sc-head; git status --short > $R/$N-sc-status
+date -u +%FT%TZ > $R/$N.start
+env -u AIEN_DEV_FALLBACK AIEN_GPU_BACKEND=omega AIEN_REQUIRE_BLACKWELL=1 "$BIN" "$HOME/models/qwen3-8b" "$V7" gb10 > $R/$N.raw 2> $R/$N.err
+echo $? > $R/$N.exit; date -u +%FT%TZ > $R/$N.end
+grep "^{" $R/$N.raw > $R/$N.json
diff --git a/docs/inference/evidence/draft-verify-20261012T1500Z/tie-763.err b/docs/inference/evidence/draft-verify-20261012T1500Z/tie-763.err
new file mode 100644
index 00000000..69745d0e
--- /dev/null
+++ b/docs/inference/evidence/draft-verify-20261012T1500Z/tie-763.err
@@ -0,0 +1 @@
+  prompt 877 tokens, draft 655 tokens
diff --git a/docs/inference/evidence/draft-verify-20261012T1500Z/tie-763.exit b/docs/inference/evidence/draft-verify-20261012T1500Z/tie-763.exit
new file mode 100644
index 00000000..573541ac
--- /dev/null
+++ b/docs/inference/evidence/draft-verify-20261012T1500Z/tie-763.exit
@@ -0,0 +1 @@
+0
diff --git a/docs/inference/evidence/draft-verify-20261012T1500Z/tie-763.json b/docs/inference/evidence/draft-verify-20261012T1500Z/tie-763.json
new file mode 100644
index 00000000..2025d3dd
--- /dev/null
+++ b/docs/inference/evidence/draft-verify-20261012T1500Z/tie-763.json
@@ -0,0 +1 @@
+{"fallback_count":0,"tie_check":{"context":1640,"expected_next":382,"paths":[{"path":"plain m=1","row0":{"gap":0.007953643798828125,"scores":[29.239309310913086,29.231355667114258],"top":[323,382]}},{"path":"verify rows=1","row0":{"gap":0.007953643798828125,"scores":[29.239309310913086,29.231355667114258],"top":[323,382]}},{"path":"verify rows=3","row0":{"gap":0.007953643798828125,"scores":[29.239309310913086,29.231355667114258],"top":[323,382]}},{"path":"verify rows=5","row0":{"gap":0.001766204833984375,"scores":[29.24429702758789,29.242530822753906],"top":[323,382]}},{"path":"verify rows=9","row0":{"gap":0.001766204833984375,"scores":[29.24429702758789,29.242530822753906],"top":[323,382]}}],"position":763}}
diff --git a/docs/inference/evidence/draft-verify-20261012T1500Z/tie-764.exit b/docs/inference/evidence/draft-verify-20261012T1500Z/tie-764.exit
new file mode 100644
index 00000000..573541ac
--- /dev/null
+++ b/docs/inference/evidence/draft-verify-20261012T1500Z/tie-764.exit
@@ -0,0 +1 @@
+0
diff --git a/docs/inference/evidence/draft-verify-20261012T1500Z/tie-764.json b/docs/inference/evidence/draft-verify-20261012T1500Z/tie-764.json
new file mode 100644
index 00000000..509f3685
--- /dev/null
+++ b/docs/inference/evidence/draft-verify-20261012T1500Z/tie-764.json
@@ -0,0 +1 @@
+{"fallback_count":0,"tie_check":{"context":1641,"expected_next":2132,"paths":[{"path":"plain m=1","row0":{"gap":0.3986701965332031,"scores":[22.607830047607422,22.20915985107422],"top":[2132,37095]}},{"path":"verify rows=1","row0":{"gap":0.3986701965332031,"scores":[22.607830047607422,22.20915985107422],"top":[2132,37095]}},{"path":"verify rows=3","row0":{"gap":0.3986701965332031,"scores":[22.607830047607422,22.20915985107422],"top":[2132,37095]}},{"path":"verify rows=5","row0":{"gap":0.4026012420654297,"scores":[22.599834442138672,22.197233200073242],"top":[2132,37095]}},{"path":"verify rows=9","row0":{"gap":0.4026012420654297,"scores":[22.599834442138672,22.197233200073242],"top":[2132,37095]}}],"position":764}}
diff --git a/docs/inference/evidence/draft-verify-20261012T1500Z/tie-leg.sh b/docs/inference/evidence/draft-verify-20261012T1500Z/tie-leg.sh
new file mode 100644
index 00000000..e786cf63
--- /dev/null
+++ b/docs/inference/evidence/draft-verify-20261012T1500Z/tie-leg.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+W=~/workspace/.worktrees/cta1024; R=~/workspace/investigations/2026-10-12-qwen3-8b-decode-speed/receipts/draft-verify
+BIN=$W/target-gb10/release/examples/qwen3_8b_specverify
+V7=$W/docs/campaigns/open-model-qwen3/evidence-v7/run/out/3c5b1083e23732e59923ab0ed289f8951061a96ff1d7ac8873117df8b3522f09.json
+N=tie-763; cd $W || exit 2
+sha256sum $BIN > $R/$N-binary.sha256; date -u +%FT%TZ > $R/$N.start
+env -u AIEN_DEV_FALLBACK AIEN_GPU_BACKEND=omega AIEN_REQUIRE_BLACKWELL=1 AIEN_SPECVERIFY_TIE=763 AIEN_SPECVERIFY_BASE=$R/specverify-1.json "$BIN" "$HOME/models/qwen3-8b" "$V7" gb10 > $R/$N.raw 2> $R/$N.err
+echo $? > $R/$N.exit; date -u +%FT%TZ > $R/$N.end; grep "^{" $R/$N.raw > $R/$N.json