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#787 (code only)

closed derived 0ec224dcac25dee9 #787

Imported from GitHub aien-dev/aien-sovereign-core-mv#787 (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 50e0416d7ec95e596f51ea40d5e5e3eca57a9627 · Head 1eed3a42d183fc700e00d0c8729ce7e6f5dbfac6

Fetch it

A git bundle of the pull request's head, 41966 bytes.

curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/0ec224dcac25dee9.bundle -o 0ec224dcac25dee9.bundle
git fetch 0ec224dcac25dee9.bundle refs/pull/787/head

Raw bundle · 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
787
1eed3a42d183fc700e00d0c8729ce7e6f5dbfac6
{"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":787,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/787","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:38:00Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index 8bf031ee..2aab4e39 100644
--- a/.crumb
+++ b/.crumb
@@ -119,14 +119,14 @@
         }
       ],
       "children_root": "sha256:31b31d0c22430a2b7dbaf536741c122daa8e98b3e30440b78e6f0b153415c048",
-      "compiled_at": "2026-10-30T03:27:35Z",
+      "compiled_at": "2026-10-30T03:32:03Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:c546eec7ef8f8fef9070c73dea09205848a64ea17296ef307deb6292061a0bd3",
-      "evidence_files": 3586,
-      "evidence_root": "sha256:ee29710af304de14c30917f3cc8eb87c5b5e9a42b75dd9d009e842279d8075d0",
-      "files": 8055,
-      "generated_at_commit": "b20182607e07391024e4e9cacca4868d88390d5a",
-      "source_tree": "sha256:8f6b80fbe5362465a296d871241c322de5654f35e698f02b35745a3ff9db2ebf"
+      "digest": "sha256:90eedab7957b4db40b0b29a6073c13b32edef5a2d63c7bf94b00ce5210f05260",
+      "evidence_files": 3600,
+      "evidence_root": "sha256:95377677e4f0f5605b3315ffcc5a05ba58c47c56a508797bdfba6171adad1b65",
+      "files": 8070,
+      "generated_at_commit": "bbfd2084e7fd11a365d58d7fea166c3548c40f25",
+      "source_tree": "sha256:139e6709e6149fa7802e4c3dad45c903092adae3d685a1dcfb98f23fd8648ffa"
     }
   },
   "history": [],
diff --git a/crates/aien-inference-abi/src/qwen38_omega.rs b/crates/aien-inference-abi/src/qwen38_omega.rs
index 28ee17d8..e4b67b3a 100644
--- a/crates/aien-inference-abi/src/qwen38_omega.rs
+++ b/crates/aien-inference-abi/src/qwen38_omega.rs
@@ -47,7 +47,7 @@ mod moe;
 pub use moe::router_probe;
 mod prefill;
 mod rows;
-pub use rows::{RowFeed, RowOut, RowTest};
+pub use rows::{timeline_now_ns, RowFeed, RowOut, RowTest, RowTimeline};
 mod session;
 pub use prefill::PrefillStats;
 pub use session::{plan_reuse, FeedStats, Qwen38Session, Reuse, IM_START};
@@ -183,6 +183,9 @@ pub struct Qwen38Omega {
     row_src: Option<rows::RowSource>,
     /// Multi-row steps so far (the row-swap negative control counts them).
     row_steps: u64,
+    /// Chip stamps and host clock marks on every row's one-row graph ([`Self::set_row_stamps`],
+    /// the decode timeline). Off by default.
+    row_stamps: bool,
 }
 
 impl std::fmt::Debug for Qwen38Omega {
@@ -709,6 +712,7 @@ impl Qwen38Omega {
             rows: Vec::new(),
             row_src: None,
             row_steps: 0,
+            row_stamps: false,
         })
     }
 
diff --git a/crates/aien-inference-abi/src/qwen38_omega/moe.rs b/crates/aien-inference-abi/src/qwen38_omega/moe.rs
index 932b197e..62426911 100644
--- a/crates/aien-inference-abi/src/qwen38_omega/moe.rs
+++ b/crates/aien-inference-abi/src/qwen38_omega/moe.rs
@@ -507,6 +507,7 @@ impl Qwen38Omega {
             rows: Vec::new(),
             row_src: Some(row_src),
             row_steps: 0,
+            row_stamps: false,
         })
     }
 }
diff --git a/crates/aien-inference-abi/src/qwen38_omega/rows.rs b/crates/aien-inference-abi/src/qwen38_omega/rows.rs
index 3ce90561..a3169052 100644
--- a/crates/aien-inference-abi/src/qwen38_omega/rows.rs
+++ b/crates/aien-inference-abi/src/qwen38_omega/rows.rs
@@ -52,6 +52,30 @@ pub(super) struct Q36Row {
     attn: Option<Attn256Cache>,
     pos: usize,
     max_pos: usize,
+    /// [`timeline_now_ns`] marks of the last one-row token while row stamps are on: entry, before
+    /// the graph call, after it, return.
+    host: [u64; 4],
+}
+
+/// Row `r`'s last one-row token as the decode timeline reads it ([`Qwen38Omega::row_timeline`]).
+#[derive(Debug, Clone, Default, PartialEq, Eq)]
+pub struct RowTimeline {
+    /// Host marks ([`timeline_now_ns`]): `row_token` entry, before the graph call (after the
+    /// embedding row is widened), after the graph call, return (after any logits read).
+    pub host: [u64; 4],
+    /// `launches + 1` chip timestamps (ns, the GPU's PTIMER, its own clock): launch `i` ran from
+    /// `stamps[i]` to `stamps[i + 1]` (each stamp taken after the launch's WAIT_FOR_IDLE).
+    pub stamps: Vec<u64>,
+    /// One kind name per launch (`omega_gpu_q36_graph_kind_name`), in launch order.
+    pub kinds: Vec<String>,
+}
+
+/// The decode timeline's host clock: nanoseconds since the first call in this process (a
+/// monotonic `Instant`; the scheduler and `row_token` read the same one).
+pub fn timeline_now_ns() -> u64 {
+    static EPOCH: std::sync::LazyLock<std::time::Instant> =
+        std::sync::LazyLock::new(std::time::Instant::now);
+    EPOCH.elapsed().as_nanos() as u64
 }
 
 /// One row's share of a [`Qwen38Omega::step_rows`] call.
@@ -174,12 +198,16 @@ impl Qwen38Omega {
             let mut graph =
                 unsafe { Q36Graph::create(&cfg) }.map_err(gpu("row q36 graph create"))?;
             self.wire(&mut graph)?;
+            if self.row_stamps {
+                graph.set_stamps(true);
+            }
             self.rows.push(Q36Row {
                 graph,
                 gdn,
                 attn,
                 pos: 0,
                 max_pos,
+                host: [0; 4],
             });
         }
         // The strokes' graph (L312): MAX_HEADS head slots, pointed at each chunk's rows per step.
@@ -570,6 +598,8 @@ impl Qwen38Omega {
     /// [`Self::row_token`]; `exact_head` false keeps the plain head for this token (the merge
     /// train's `exact_head: false` arm; the words must not change).
     fn row_token_with_head(&mut self, f: &RowFeed, exact_head: bool) -> Result<RowOut, String> {
+        let marks = self.row_stamps;
+        let h0 = if marks { timeline_now_ns() } else { 0 };
         let (v, h) = (self.config.vocab, self.config.hidden);
         let t = f.token as usize;
         let x: Vec<f32> = self.embed[t * h..(t + 1) * h]
@@ -584,7 +614,9 @@ impl Qwen38Omega {
             ));
         }
         row.graph.set_exact_head_on(exact_head && !f.logits);
+        let h1 = if marks { timeline_now_ns() } else { 0 };
         let (token, stats) = row.graph.token(&x, row.pos).map_err(gpu("row q36 token"))?;
+        let h2 = if marks { timeline_now_ns() } else { 0 };
         row.pos += 1;
         let logits = if f.logits {
             let mut l = vec![0f32; v];
@@ -595,6 +627,9 @@ impl Qwen38Omega {
         } else {
             None
         };
+        if marks {
+            row.host = [h0, h1, h2, timeline_now_ns()];
+        }
         Ok(RowOut {
             token,
             logits,
@@ -603,6 +638,38 @@ impl Qwen38Omega {
     }
 }
 
+impl Qwen38Omega {
+    /// The decode timeline (`AIEN_Q36_DECODE_TIMELINE`): chip stamps around every launch of each
+    /// row's one-row graph (rows made later too) and four host marks per one-row token, read by
+    /// [`Self::row_timeline`]. Off by default. The stamps add a timestamp report per launch, so a
+    /// speed receipt never runs with them on.
+    pub fn set_row_stamps(&mut self, on: bool) {
+        self.row_stamps = on;
+        for row in &mut self.rows {
+            row.graph.set_stamps(on);
+        }
+    }
+
+    /// Row `r`'s last one-row token: its host marks, chip stamps and launch kinds. Refused when
+    /// row stamps are off. A stroke or a prefill does not refresh it, so read it right after a
+    /// step that fed this row alone (the door's timeline does; its checker goes red on stale marks).
+    pub fn row_timeline(&self, r: usize) -> Result<RowTimeline, String> {
+        if !self.row_stamps {
+            return Err("row_timeline: row stamps are off".into());
+        }
+        let row = self
+            .rows
+            .get(r)
+            .ok_or_else(|| format!("row_timeline: row {r} of {}", self.rows.len()))?;
+        let (stamps, kinds) = row.graph.stamps().map_err(gpu("row_timeline stamps"))?;
+        Ok(RowTimeline {
+            host: row.host,
+            stamps,
+            kinds: kinds.into_iter().map(q::kind_name).collect(),
+        })
+    }
+}
+
 impl Qwen38Omega {
     /// L369: `tokens` (a prompt chunk, at most [`q::PREFILL_MAX_ROWS`]) into row `r` at its next
     /// positions through the chip's prefill: the state ends bit for bit as `tokens.len()` steps of
diff --git a/crates/aien-omega-q38/src/q36.rs b/crates/aien-omega-q38/src/q36.rs
index b7b281b0..a0f2748d 100644
--- a/crates/aien-omega-q38/src/q36.rs
+++ b/crates/aien-omega-q38/src/q36.rs
@@ -805,8 +805,10 @@ impl Q36Graph {
     pub fn stamps(&self) -> Result<(Vec<u64>, Vec<u8>), OmegaGpuError> {
         #[cfg(has_omega_q36)]
         {
-            // 11 per layer + 4, with room to spare.
-            let cap = (self.layers * 16 + 16) as u32;
+            // The most launches one command list carries (OMEGA_GPU_CMDLIST_MAX_LAUNCHES): a token's
+            // count grows with the head and expert forms (the exact head alone adds 8), so no
+            // per-layer guess.
+            let cap = 4096u32;
             let mut stamps = vec![0u64; cap as usize + 1];
             let mut kinds = vec![0u8; cap as usize + 1];
             // SAFETY: ptr is live; both buffers hold cap + 1 entries.
diff --git a/crates/aien-serve-http/src/decode_timeline.rs b/crates/aien-serve-http/src/decode_timeline.rs
new file mode 100644
index 00000000..7fedb040
--- /dev/null
+++ b/crates/aien-serve-http/src/decode_timeline.rs
@@ -0,0 +1,673 @@
+// SPDX-License-Identifier: Apache-2.0
+// Copyright 2026 Drake Stapleton (AIEN / aien-dev)
+
+//! The 35B one-row decode timeline: where one single-row decode beat of the batch door spends its
+//! time, on the host and on the chip.
+//!
+//! `AIEN_Q36_DECODE_TIMELINE=<file.jsonl>` turns it on. When unset the door records nothing,
+//! reads no extra clock and leaves the chip stamps off. When set, every row's one-row graph runs
+//! with its per-launch chip stamps, and each beat that steps exactly one decoding row (no prompt
+//! chunk, no other row) appends one JSON line, schema [`SCHEMA`]:
+//!
+//! - `host`: [`HOST_PHASES`] in order, contiguous, on [`timeline_now_ns`]. Each beat runs from its
+//!   join to the next beat's join, or to the idle point when nobody is left.
+//!   `graph_record` and `graph_submit_wait` come from the graph's own `record_ns` / `total_ns`
+//!   (the list build, then submit + chip + completion wait + readback).
+//! - `dev`: one span per launch, contiguous, on the chip's PTIMER. That is a different clock, so
+//!   only durations are compared with host spans and never instants.
+//!
+//! [`check`] holds a file to that shape, and `q36-decode-timeline-check` runs it and prints a
+//! Wolfram-ready summary. Each stamp sits after a launch's wait-for-idle and adds a timestamp
+//! report, so the stamps cost chip time: a timeline run is never a speed receipt.
+use std::fs::File;
+use std::io::{BufWriter, Write};
+use std::path::{Path, PathBuf};
+
+use aien_inference_abi::qwen38_omega::RowTimeline;
+use aien_omega_q38::GraphStats;
+use serde::{Deserialize, Serialize};
+
+pub use aien_inference_abi::qwen38_omega::timeline_now_ns;
+
+/// The switch: a path to append the timeline to. Unset: off.
+pub const ENV: &str = "AIEN_Q36_DECODE_TIMELINE";
+/// The record schema.
+pub const SCHEMA: &str = "aien.q36-decode-timeline/1";
+/// The host phases of one beat, in order.
+pub const HOST_PHASES: [&str; 11] = [
+    "sched_join",
+    "sample",
+    "sched_feed",
+    "step_enter",
+    "embed",
+    "graph_record",
+    "graph_submit_wait",
+    "graph_exit",
+    "logits_read",
+    "step_return",
+    "sched_post",
+];
+/// The device categories [`categories`] assigns, in summary order. They are the groups of
+/// docs/speed/Q36_CEILING.md section 10, with the exact head split into its screen and its
+/// recheck and the greedy pick taken out of the glue.
+pub const DEV_CATEGORIES: [&str; 10] = [
+    "experts",
+    "gdn",
+    "attention",
+    "router",
+    "head_screen",
+    "head_recheck",
+    "head_plain",
+    "token_pick",
+    "glue",
+    "unknown",
+];
+
+/// One span: `name` from `t0` to `t1` (ns).
+#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
+pub struct Span {
+    pub name: String,
+    pub t0: u64,
+    pub t1: u64,
+}
+
+/// One single-row decode beat.
+#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
+pub struct Record {
+    pub schema: String,
+    /// Records written by this door before this one: a missing or repeated record breaks the run.
+    pub seq: u64,
+    /// The door's beat number.
+    pub beat: u64,
+    /// The row stepped.
+    pub row: usize,
+    /// That conversation's decode steps before this one.
+    pub step: u64,
+    /// The graph's stats for the token.
+    pub launches: u32,
+    pub chip_ns: u64,
+    pub record_ns: u64,
+    pub total_ns: u64,
+    pub host: Vec<Span>,
+    pub dev: Vec<Span>,
+}
+
+fn span(name: &str, t0: u64, t1: u64) -> Span {
+    Span {
+        name: name.into(),
+        t0,
+        t1,
+    }
+}
+
+/// The open part of a beat's record: every host span up to `step_return`. `sched_post` closes it
+/// at the next beat's join or at idle.
+fn open_record(
+    marks: [u64; 3],
+    beat: u64,
+    row: usize,
+    step: u64,
+    call: (u64, u64),
+    stats: &GraphStats,
+    tl: &RowTimeline,
+) -> Record {
+    let [join, sample, feed] = marks;
+    let [h0, h1, h2, h3] = tl.host;
+    let rec_end = h1 + stats.record_ns;
+    let wait_end = h1 + stats.total_ns;
+    let host = vec![
+        span("sched_join", join, sample),
+        span("sample", sample, feed),
+        span("sched_feed", feed, call.0),
+        span("step_enter", call.0, h0),
+        span("embed", h0, h1),
+        span("graph_record", h1, rec_end),
+        span("graph_submit_wait", rec_end, wait_end),
+        span("graph_exit", wait_end, h2),
+        span("logits_read", h2, h3),
+        span("step_return", h3, call.1),
+    ];
+    let dev = tl
+        .kinds
+        .iter()
+        .enumerate()
+        .map(|(i, k)| span(k, tl.stamps[i], tl.stamps[i + 1]))
+        .collect();
+    Record {
+        schema: SCHEMA.into(),
+        seq: 0,
+        beat,
+        row,
+        step,
+        launches: stats.launches,
+        chip_ns: stats.chip_ns,
+        record_ns: stats.record_ns,
+        total_ns: stats.total_ns,
+        host,
+        dev,
+    }
+}
+
+/// The batch door's timeline writer (one per door, held only while [`ENV`] is set).
+pub struct Recorder {
+    path: PathBuf,
+    out: Option<BufWriter<File>>,
+    /// join, sample, feed marks of the current beat.
+    marks: [u64; 3],
+    pending: Option<Record>,
+    written: u64,
+    failed: u64,
+    reported: (u64, u64),
+}
+
+impl Recorder {
+    /// Appends to `path` (created if missing).
+    pub fn open(path: &Path) -> Result<Self, String> {
+        let f = std::fs::OpenOptions::new()
+            .create(true)
+            .append(true)
+            .open(path)
+            .map_err(|e| format!("decode timeline: {}: {e}", path.display()))?;
+        Ok(Self {
+            path: path.to_path_buf(),
+            out: Some(BufWriter::new(f)),
+            marks: [0; 3],
+            pending: None,
+            written: 0,
+            failed: 0,
+            reported: (0, 0),
+        })
+    }
+
+    /// The path from [`ENV`], when set and not empty.
+    pub fn path_from_env() -> Option<PathBuf> {
+        std::env::var_os(ENV)
+            .filter(|v| !v.is_empty())
+            .map(PathBuf::from)
+    }
+
+    /// A beat's join starts: it closes the previous beat's record.
+    pub fn join(&mut self, now: u64) {
+        self.finish(now);
+        self.marks = [now; 3];
+    }
+
+    /// The beat's sampling starts.
+    pub fn sample(&mut self, now: u64) {
+        self.marks[1] = now;
+    }
+
+    /// The beat's feed is being built.
+    pub fn feed(&mut self, now: u64) {
+        self.marks[2] = now;
+    }
+
+    /// The beat stepped one decoding row: `call` is the step call's start and end, `tl` the
+    /// row's timeline for the token.
+    pub fn stepped(
+        &mut self,
+        beat: u64,
+        row: usize,
+        step: u64,
+        call: (u64, u64),
+        stats: &GraphStats,
+        tl: Result<RowTimeline, String>,
+    ) {
+        match tl {
+            Ok(tl) if tl.stamps.len() == tl.kinds.len() + 1 => {
+                self.pending = Some(open_record(self.marks, beat, row, step, call, stats, &tl));
+            }
+            Ok(tl) => {
+                self.failed += 1;
+                eprintln!(
+                    "aien-serve-http: decode timeline: beat {beat}: {} stamps for {} launches",
+                    tl.stamps.len(),
+                    tl.kinds.len()
+                );
+            }
+            Err(e) => {
+                self.failed += 1;
+                eprintln!("aien-serve-http: decode timeline: beat {beat}: {e}");
+            }
+        }
+    }
+
+    /// The door went idle: closes the last record and reports the counts.
+    pub fn idle(&mut self, now: u64) {
+        self.finish(now);
+        if (self.written, self.failed) != self.reported {
+            self.reported = (self.written, self.failed);
+            eprintln!(
+                "aien-serve-http: decode timeline: {} beats written to {}, {} not recorded",
+                self.written,
+                self.path.display(),
+                self.failed
+            );
+        }
+    }
+
+    fn finish(&mut self, end: u64) {
+        let Some(mut r) = self.pending.take() else {
+            return;
+        };
+        let post0 = r.host.last().map_or(end, |s| s.t1);
+        r.host.push(span("sched_post", post0, end));
+        r.seq = self.written;
+        let Some(out) = self.out.as_mut() else {
+            return;
+        };
+        let line = serde_json::to_string(&r).expect("a record serializes");
+        let res = writeln!(out, "{line}").and_then(|()| out.flush());
+        match res {
+            Ok(()) => self.written += 1,
+            Err(e) => {
+                eprintln!(
+                    "aien-serve-http: decode timeline: write to {} failed: {e}; recording stops",
+                    self.path.display()
+                );
+                self.out = None;
+            }
+        }
+    }
+}
+
+/// Device categories, one per launch. Before the last `down` launch: section 10's groups. After
+/// it (the head): with the exact head an `lm_head` launch follows an `argmax`, so the `lm_head`
+/// launches before the head's first `argmax` are the FP8 screen and those after it the BF16
+/// recheck; without one every `lm_head` is `head_plain`. The last two launches, when both are
+/// `argmax`, are the greedy pick.
+pub fn categories(kinds: &[String]) -> Vec<&'static str> {
+    let tail = kinds.iter().rposition(|k| k == "down").map_or(0, |i| i + 1);
+    let first_am = kinds[tail..]
+        .iter()
+        .position(|k| k == "argmax")
+        .map(|i| tail + i);
+    let exact = first_am.is_some_and(|a| kinds[a..].iter().any(|k| k == "lm_head"));
+    let n = kinds.len();
+    let pick = n >= 2 && kinds[n - 2] == "argmax" && kinds[n - 1] == "argmax";
+    kinds
+        .iter()
+        .enumerate()
+        .map(|(i, k)| match k.as_str() {
+            _ if pick && i + 2 >= n => "token_pick",
+            "lm_head" if !exact => "head_plain",
+            "lm_head" if first_am.is_some_and(|a| i < a) => "head_screen",
+            "lm_head" => "head_recheck",
+            "gate_up" | "down" => "experts",
+            "mix" | "gdn" | "ab" => "gdn",
+            "o_proj" | "attn" => "attention",
+            "router" => "router",
+            "res" | "swiglu" | "argmax" | "gather" | "gate" | "norm" | "perm" | "group" => "glue",
+            _ => "unknown",
+        })
+        .collect()
+}
+
+fn dur(s: &Span) -> u64 {
+    s.t1.saturating_sub(s.t0)
+}
+
+/// Holds a timeline to its shape. Empty: green. For every record: the schema; the host phases
+/// complete, in order, each `t1 >= t0`, each starting where the last ended; the device spans
+/// one per launch, contiguous; the device span at most the graph's chip time, and that at most
+/// its submit-and-wait span (durations only: two clocks); every record the same launch-kind
+/// census as the first; no unknown kind. Across records: no overlap, and consecutive beats
+/// touch.
+pub fn check(records: &[Record]) -> Vec<String> {
+    let mut bad = Vec::new();
+    if records.is_empty() {
+        bad.push("no records".into());
+    }
+    fn census(r: &Record) -> Vec<&str> {
+        let mut c: Vec<&str> = r.dev.iter().map(|s| s.name.as_str()).collect();
+        c.sort_unstable();
+        c
+    }
+    let first_census = records.first().map(census);
+    for (i, r) in records.iter().enumerate() {
+        let at = format!("record {i} (beat {})", r.beat);
+        if r.seq != i as u64 {
+            bad.push(format!(
+                "{at}: seq {} where {i} belongs (a record is missing or repeated)",
+                r.seq
+            ));
+        }
+        if r.schema != SCHEMA {
+            bad.push(format!("{at}: schema {:?}", r.schema));
+        }
+        let names: Vec<&str> = r.host.iter().map(|s| s.name.as_str()).collect();
+        if names != HOST_PHASES {
+            bad.push(format!("{at}: host phases {names:?}"));
+        }
+        for (what, spans) in [("host", &r.host), ("dev", &r.dev)] {
+            for (j, s) in spans.iter().enumerate() {
+                if s.t1 < s.t0 {
+                    bad.push(format!("{at}: {what} {j} {} ends before it starts", s.name));
+                }
+            }
+            for (j, w) in spans.windows(2).enumerate() {
+                if w[0].t1 != w[1].t0 {
+                    bad.push(format!(
+                        "{at}: {what} {j} {} ends at {}, {} starts at {}",
+                        w[0].name, w[0].t1, w[1].name, w[1].t0
+                    ));
+                }
+            }
+        }
+        if r.dev.len() != r.launches as usize {
+            bad.push(format!("{at}: {} device spans for {} launches", r.dev.len(), r.launches));
+        }
+        if let (Some(a), Some(b)) = (r.dev.first(), r.dev.last()) {
+            let dev_span = b.t1.saturating_sub(a.t0);
+            if dev_span > r.chip_ns {
+                bad.push(format!("{at}: device span {dev_span} ns > chip_ns {}", r.chip_ns));
+            }
+        }
+        if let Some(w) = r.host.iter().find(|s| s.name == "graph_submit_wait") {
+            if r.chip_ns > dur(w) {
+                bad.push(format!("{at}: chip_ns {} > graph_submit_wait {}", r.chip_ns, dur(w)));
+            }
+        }
+        if let Some(c) = &first_census {
+            if &census(r) != c {
+                bad.push(format!("{at}: launch-kind census differs from record 0"));
+            }
+        }
+        let kinds: Vec<String> = r.dev.iter().map(|s| s.name.clone()).collect();
+        if categories(&kinds).contains(&"unknown") {
+            bad.push(format!("{at}: unknown launch kind"));
+        }
+        if i > 0 {
+            let p = &records[i - 1];
+            if let (Some(pe), Some(s)) = (p.host.last(), r.host.first()) {
+                if s.t0 < pe.t1 {
+                    bad.push(format!("{at}: starts {} before record {} ends", pe.t1 - s.t0, i - 1));
+                }
+                if r.beat == p.beat + 1 && s.t0 != pe.t1 {
+                    bad.push(format!("{at}: beat follows beat {} with a gap", p.beat));
+                }
+            }
+        }
+    }
+    bad
+}
+
+/// A Wolfram-ready summary: one association of per-beat integer nanosecond lists (`period`, every
+/// host phase, every device category, `dev_span`, `sync` = `graph_submit_wait - dev_span`), plus
+/// the queries that reduce it. The arithmetic is left to Wolfram.
+pub fn summary(records: &[Record]) -> String {
+    let mut keys: Vec<String> = vec!["period".into()];
+    keys.extend(HOST_PHASES.iter().map(|p| format!("host:{p}")));
+    keys.extend(DEV_CATEGORIES.iter().map(|c| format!("dev:{c}")));
+    keys.push("dev_span".into());
+    keys.push("sync".into());
+    let mut cols: Vec<Vec<u64>> = vec![Vec::new(); keys.len()];
+    for r in records {
+        let mut row = Vec::with_capacity(keys.len());
+        let period = match (r.host.first(), r.host.last()) {
+            (Some(a), Some(b)) => b.t1.saturating_sub(a.t0),
+            _ => 0,
+        };
+        row.push(period);
+        for p in HOST_PHASES {
+            row.push(r.host.iter().filter(|s| s.name == p).map(dur).sum());
+        }
+        let kinds: Vec<String> = r.dev.iter().map(|s| s.name.clone()).collect();
+        let cats = categories(&kinds);
+        for c in DEV_CATEGORIES {
+            row.push(
+                r.dev
+                    .iter()
+                    .zip(&cats)
+                    .filter(|(_, k)| **k == c)
+                    .map(|(s, _)| dur(s))
+                    .sum(),
+            );
+        }
+        let dev_span = match (r.dev.first(), r.dev.last()) {
+            (Some(a), Some(b)) => b.t1.saturating_sub(a.t0),
+            _ => 0,
+        };
+        let wait = r
+            .host
+            .iter()
+            .find(|s| s.name == "graph_submit_wait")
+            .map_or(0, dur);
+        row.push(dev_span);
+        row.push(wait.saturating_sub(dev_span));
+        for (c, v) in cols.iter_mut().zip(row) {
+            c.push(v);
+        }
+    }
+    let mut s = format!(
+        "(* {SCHEMA}: {} beats; integer ns per beat; host clock for host:*, period, sync; chip PTIMER for dev:*, dev_span *)\n",
+        records.len()
+    );
+    s.push_str("timeline = <|\n");
+    for (i, (k, c)) in keys.iter().zip(&cols).enumerate() {
+        let vals: Vec<String> = c.iter().map(u64::to_string).collect();
+        let comma = if i + 1 < keys.len() { "," } else { "" };
+        s.push_str(&format!("  \"{k}\" -> {{{}}}{comma}\n", vals.join(", ")));
+    }
+    s.push_str("|>;\n");
+    s.push_str("(* ms per beat, medians: *) N[Median /@ timeline / 10^6]\n");
+    s.push_str(
+        "(* outside the chip + chip + sync vs the period: *) N[{Median[timeline[\"period\"] - timeline[\"host:graph_submit_wait\"]], Median[timeline[\"dev_span\"]], Median[timeline[\"sync\"]], Median[timeline[\"period\"]]} / 10^6]\n",
+    );
+    s.push_str("(* residual against the recorded 20.7 ms step: *) N[207/10 - Median[timeline[\"period\"]] / 10^6]\n");
+    s
+}
+
+/// `aien-serve-http --check-decode-timeline FILE [--drop REC:host|dev:IDX]`: [`check`] and, when
+/// green, [`summary`] on stdout. `--drop` deletes one span (or, as `REC:record:0`, the whole
+/// record) before checking: the negative control, which must come out red. Exit 0 green,
+/// 1 red, 2 usage or an unreadable file.
+pub fn run_check(args: &[String]) -> u8 {
+    let usage = "usage: aien-serve-http --check-decode-timeline FILE [--drop REC:host|dev|record:IDX]";
+    let (path, drop) = match args {
+        [p] => (p, None),
+        [p, flag, d] if flag == "--drop" => (p, Some(d.as_str())),
+        _ => {
+            eprintln!("{usage}");
+            return 2;
+        }
+    };
+    let text = match std::fs::read_to_string(path) {
+        Ok(t) => t,
+        Err(e) => {
+            eprintln!("{path}: {e}");
+            return 2;
+        }
+    };
+    let mut records = match read_jsonl(&text) {
+        Ok(r) => r,
+        Err(e) => {
+            eprintln!("{path}: {e}");
+            return 2;
+        }
+    };
+    if let Some(d) = drop {
+        let parts: Vec<&str> = d.split(':').collect();
+        let parsed = match parts.as_slice() {
+            [r, w, i] => r.parse::<usize>().ok().zip(i.parse::<usize>().ok()).map(|(r, i)| (r, *w, i)),
+            _ => None,
+        };
+        let ok = match parsed {
+            Some((r, "record", _)) if r < records.len() => {
+                records.remove(r);
+                true
+            }
+            Some((r, "host", i)) if r < records.len() && i < records[r].host.len() => {
+                records[r].host.remove(i);
+                true
+            }
+            Some((r, "dev", i)) if r < records.len() && i < records[r].dev.len() => {
+                records[r].dev.remove(i);
+                true
+            }
+            _ => false,
+        };
+        if !ok {
+            eprintln!("--drop {d}: no such span; {usage}");
+            return 2;
+        }
+        eprintln!("negative control: dropped {d}");
+    }
+    let bad = check(&records);
+    if bad.is_empty() {
+        eprintln!("decode timeline GREEN: {} records, {path}", records.len());
+        print!("{}", summary(&records));
+        0
+    } else {
+        for b in bad.iter().take(20) {
+            eprintln!("RED: {b}");
+        }
+        eprintln!("decode timeline RED: {} findings over {} records, {path}", bad.len(), records.len());
+        1
+    }
+}
+
+/// Reads a JSONL timeline.
+pub fn read_jsonl(text: &str) -> Result<Vec<Record>, String> {
+    text.lines()
+        .enumerate()
+        .filter(|(_, l)| !l.trim().is_empty())
+        .map(|(i, l)| serde_json::from_str(l).map_err(|e| format!("line {}: {e}", i + 1)))
+        .collect()
+}
+
+#[cfg(test)]
+mod tests {
+    use super::*;
+
+    /// A 40-layer exact-head kind sequence shaped like the graph's (3 GDN : 1 attention).
+    pub(crate) fn kinds40() -> Vec<String> {
+        let mut k = Vec::new();
+        for l in 0..40 {
+            k.push("norm");
+            if l % 4 == 3 {
+                k.extend(["mix", "attn", "gate", "o_proj"]);
+            } else {
+                k.extend(["mix", "ab", "gdn", "o_proj"]);
+            }
+            k.extend(["res", "norm", "router", "gate_up", "swiglu", "down", "gather", "res"]);
+        }
+        k.extend([
+            "norm", "lm_head", "lm_head", "lm_head", "argmax", "argmax", "lm_head", "argmax",
+            "argmax",
+        ]);
+        k.into_iter().map(String::from).collect()
+    }
+
+    fn timeline(kinds: Vec<String>, base: u64) -> RowTimeline {
+        let stamps = (0..=kinds.len() as u64).map(|i| base + i * 1000).collect();
+        RowTimeline {
+            host: [110, 120, 120 + 900_000, 120 + 900_010],
+            stamps,
+            kinds,
+        }
+    }
+
+    fn records(n: usize) -> Vec<Record> {
+        let mut rec = Recorder {
+            path: PathBuf::from("/dev/null"),
+            out: None,
+            marks: [0; 3],
+            pending: None,
+            written: 0,
+            failed: 0,
+            reported: (0, 0),
+        };
+        let mut out = Vec::new();
+        let mut t = 0u64;
+        for b in 0..n as u64 {
+            rec.join(t);
+            if let Some(r) = rec.pending.take() {
+                out.push(r);
+            }
+            rec.marks = [t; 3];
+            rec.sample(t + 10);
+            rec.feed(t + 50);
+            let k = kinds40();
+            let launches = k.len() as u32;
+            let mut tl = timeline(k, 5_000_000 * b);
+            tl.host = tl.host.map(|h| h + t);
+            let stats = GraphStats {
+                launches,
+                chip_ns: launches as u64 * 1000,
+                record_ns: 300_000,
+                total_ns: 899_000,
+                ..Default::default()
+            };
+            rec.stepped(b, 0, b, (t + 100, t + 900_200), &stats, Ok(tl));
+            let mut r = rec.pending.take().expect("a record");
+            r.host.push(span("sched_post", t + 900_200, t + 1_000_000));
+            r.seq = b;
+            out.push(r);
+            t += 1_000_000;
+        }
+        out
+    }
+
+    #[test]
+    fn complete_beats_are_green() {
+        let r = records(5);
+        assert_eq!(check(&r), Vec::<String>::new());
+        assert_eq!(read_jsonl(&r.iter().map(|x| serde_json::to_string(x).unwrap() + "\n").collect::<String>()).unwrap(), r);
+    }
+
+    #[test]
+    fn dropping_one_host_span_is_red() {
+        let mut r = records(3);
+        r[1].host.remove(6);
+        let bad = check(&r);
+        assert!(bad.iter().any(|b| b.contains("host phases")), "{bad:?}");
+    }
+
+    #[test]
+    fn dropping_one_device_span_is_red() {
+        let mut r = records(3);
+        r[2].dev.remove(100);
+        let bad = check(&r);
+        assert!(bad.iter().any(|b| b.contains("device spans for")), "{bad:?}");
+        assert!(bad.iter().any(|b| b.contains("dev 99")), "{bad:?}");
+    }
+
+    #[test]
+    fn dropping_one_record_is_red() {
+        let mut r = records(4);
+        r.remove(2);
+        let bad = check(&r);
+        assert!(bad.iter().any(|b| b.contains("missing or repeated")), "{bad:?}");
+    }
+
+    #[test]
+    fn overlap_and_gap_are_red() {
+        let mut r = records(2);
+        r[1].host[0].t0 -= 5;
+        assert!(check(&r).iter().any(|b| b.contains("before record 0 ends")));
+        let mut r = records(2);
+        r[1].host[0].t0 += 5;
+        assert!(check(&r).iter().any(|b| b.contains("with a gap")));
+    }
+
+    #[test]
+    fn exact_head_is_split() {
+        let k = kinds40();
+        let c = categories(&k);
+        let n = k.len();
+        assert_eq!(&c[n - 9..], ["glue", "head_screen", "head_screen", "head_screen", "glue", "glue", "head_recheck", "token_pick", "token_pick"]);
+        assert_eq!(c.iter().filter(|x| **x == "experts").count(), 80);
+        assert_eq!(c.iter().filter(|x| **x == "router").count(), 40);
+        let plain: Vec<String> = ["down", "norm", "lm_head", "argmax", "argmax"].map(String::from).into();
+        assert_eq!(categories(&plain), ["experts", "glue", "head_plain", "token_pick", "token_pick"]);
+    }
+
+    #[test]
+    fn summary_lists_every_beat() {
+        let r = records(4);
+        let s = summary(&r);
+        assert!(s.contains("\"period\" -> {1000000, 1000000, 1000000, 1000000}"), "{s}");
+        assert!(s.contains("\"dev:head_recheck\" -> {1000, 1000, 1000, 1000}"), "{s}");
+    }
+}
diff --git a/crates/aien-serve-http/src/lib.rs b/crates/aien-serve-http/src/lib.rs
index d5787984..8a5a9c67 100644
--- a/crates/aien-serve-http/src/lib.rs
+++ b/crates/aien-serve-http/src/lib.rs
@@ -22,6 +22,7 @@
 pub mod chip_reservation;
 pub mod codec;
 pub mod cpu_engine;
+pub mod decode_timeline;
 pub mod engine;
 pub mod kv_persist;
 pub mod omega_engine;
diff --git a/crates/aien-serve-http/src/main.rs b/crates/aien-serve-http/src/main.rs
index 97022f2d..1f9e3370 100644
--- a/crates/aien-serve-http/src/main.rs
+++ b/crates/aien-serve-http/src/main.rs
@@ -269,6 +269,11 @@ fn main() -> ExitCode {
         print!("{}", build_info());
         return ExitCode::SUCCESS;
     }
+    // The decode timeline's checker: `--check-decode-timeline FILE [--drop REC:host|dev:IDX]`.
+    let argv: Vec<String> = std::env::args().skip(1).collect();
+    if argv.first().map(String::as_str) == Some("--check-decode-timeline") {
+        return ExitCode::from(aien_serve_http::decode_timeline::run_check(&argv[1..]));
+    }
     let mut args = match parse_args() {
         Ok(a) => a,
         Err(e) => {
diff --git a/crates/aien-serve-http/src/qwen36_batch.rs b/crates/aien-serve-http/src/qwen36_batch.rs
index 476f138a..5e0fb6f6 100644
--- a/crates/aien-serve-http/src/qwen36_batch.rs
+++ b/crates/aien-serve-http/src/qwen36_batch.rs
@@ -28,9 +28,10 @@ use std::time::{Duration, Instant};
 
 use aien_inference_abi::qwen38::Qwen38Config;
 use aien_inference_abi::qwen38_omega::{
-    need_bytes, Qwen38Omega, Qwen38Snapshot, RowFeed, RowOut, RowTest, IM_START,
+    need_bytes, Qwen38Omega, Qwen38Snapshot, RowFeed, RowOut, RowTest, RowTimeline, IM_START,
 };
 
+use crate::decode_timeline::{timeline_now_ns, Recorder};
 use crate::engine::{
     Engine, EngineError, FinishReason, GenerateOutcome, GenerateParams, GroupJob, TestSwitches,
 };
@@ -63,6 +64,16 @@ fn env_usize(name: &str, default: usize) -> usize {
     }
 }
 
+/// The chip lock the live server takes at load and per busy spell. `AIEN_SERVE_GPU_LOCK` points
+/// it at a private file so a live server never waits behind test jobs on `/tmp/aien-gb10.lock`
+/// (coordinator 2026-10-21: serving has priority over chip tests). Added by 61cad330 on
+/// ship/motor-l387 and lost when the batch door moved its load under the lock on main.
+fn serve_lock_path() -> PathBuf {
+    std::env::var_os("AIEN_SERVE_GPU_LOCK")
+        .map(PathBuf::from)
+        .unwrap_or_else(|| PathBuf::from(GPU_LOCK_PATH))
+}
+
 fn prompt_per_beat() -> Result<usize, String> {
     match std::env::var("AIEN_Q36_PROMPT_PER_BEAT") {
         Ok(v) => match v.parse::<usize>() {
@@ -146,6 +157,16 @@ pub trait RowStep: Send + 'static {
     fn row_snapshot(&mut self, r: usize, snap: &mut Self::Snap) -> Result<(), String>;
     /// Puts a copy back into row `r` (any row).
     fn row_restore(&mut self, r: usize, snap: &Self::Snap) -> Result<(), String>;
+    /// The decode timeline ([`crate::decode_timeline`]): per-launch chip stamps and host marks on
+    /// every row's one-row step. The default refuses, so a switched-on door fails at load rather
+    /// than recording nothing.
+    fn set_row_stamps(&mut self, _on: bool) -> Result<(), String> {
+        Err("this row stepper has no decode timeline".into())
+    }
+    /// Row `r`'s last one-row token as the timeline reads it.
+    fn row_timeline(&self, _r: usize) -> Result<RowTimeline, String> {
+        Err("this row stepper has no decode timeline".into())
+    }
 }
 
 impl RowStep for Qwen38Omega {
@@ -175,6 +196,13 @@ impl RowStep for Qwen38Omega {
     fn row_restore(&mut self, r: usize, snap: &Qwen38Snapshot) -> Result<(), String> {
         Qwen38Omega::row_restore(self, r, snap)
     }
+    fn set_row_stamps(&mut self, on: bool) -> Result<(), String> {
+        Qwen38Omega::set_row_stamps(self, on);
+        Ok(())
+    }
+    fn row_timeline(&self, r: usize) -> Result<RowTimeline, String> {
+        Qwen38Omega::row_timeline(self, r)
+    }
 }
 
 /// A request handed to the scheduler. The channel carries a `Vec<Job>`: one request, or a group
@@ -399,7 +427,7 @@ impl Qwen36BatchDoor {
         let keep = keep_free()?;
         let mut t0 = Instant::now();
         let (lock, mut model) = admit_then_open(
-            || GpuLock::acquire_queued_at(Path::new(GPU_LOCK_PATH), LOAD_LOCK_WAIT),
+            || GpuLock::acquire_queued_at(&serve_lock_path(), LOAD_LOCK_WAIT),
             mem_available,
             need,
             keep,
@@ -439,13 +467,14 @@ impl Qwen36BatchDoor {
             after >> 20,
             rss_bytes() as f64 / 1e9,
         );
-        let mut door = Self::with_stepper(
+        let mut door = Self::with_stepper_timeline(
             model,
             max_context,
-            PathBuf::from(GPU_LOCK_PATH),
+            serve_lock_path(),
             REQUEST_LOCK_WAIT,
             per_beat,
             std::env::var(CHIP_GREEDY_ENV).as_deref() != Ok("0"),
+            Recorder::path_from_env(),
         )?;
         door.slot_bytes_measured = measured;
         door.slot_bytes_on_paper = on_paper;
@@ -461,11 +490,44 @@ impl Qwen36BatchDoor {
         lock_wait: Duration,
         prompt_per_beat: usize,
         chip_greedy: bool,
+    ) -> Result<Self, String> {
+        Self::with_stepper_timeline(
+            model,
+            max_context,
+            lock_path,
+            lock_wait,
+            prompt_per_beat,
+            chip_greedy,
+            None,
+        )
+    }
+
+    /// [`Self::with_stepper`] with the decode timeline written to `timeline`
+    /// ([`crate::decode_timeline`]; `None`: off). A stepper that cannot stamp refuses the door.
+    pub fn with_stepper_timeline<S: RowStep>(
+        mut model: S,
+        max_context: usize,
+        lock_path: PathBuf,
+        lock_wait: Duration,
+        prompt_per_beat: usize,
+        chip_greedy: bool,
+        timeline: Option<PathBuf>,
     ) -> Result<Self, String> {
         let slots = model.row_count();
         if slots == 0 {
             return Err("qwen36-batch: no rows".into());
         }
+        let timeline = match timeline {
+            Some(p) => {
+                model.set_row_stamps(true)?;
+                eprintln!(
+                    "aien-serve-http: qwen36-batch: decode timeline ON, writing {} (chip stamps on every one-row launch: not a speed run)",
+                    p.display()
+                );
+                Some(Recorder::open(&p)?)
+            }
+            None => None,
+        };
         let (tx, rx) = mpsc::channel::<Vec<Job>>();
         let sched = Scheduler {
             model,
@@ -488,6 +550,7 @@ impl Qwen36BatchDoor {
             pf_min: env_usize("AIEN_Q36_PREFILL_MIN", Q36_PREFILL_MIN).max(1),
             chip_greedy,
             beat: 0,
+            timeline,
         };
         std::thread::Builder::new()
             .name("qwen36-batch".into())
@@ -682,6 +745,8 @@ struct Scheduler<S: RowStep> {
     /// Greedy replies take the graph's token (`AIEN_SERVE_CHIP_GREEDY=0` turns it off).
     chip_greedy: bool,
     beat: u64,
+    /// The decode timeline ([`crate::decode_timeline`]); `None` (the default): off.
+    timeline: Option<Recorder>,
 }
 
 /// Totals over one busy spell (first arrival to last departure).
@@ -703,6 +768,9 @@ impl<S: RowStep> Scheduler<S> {
         loop {
             // Idle: wait for a request, then take the chip.
             if active.is_empty() {
+                if let Some(tl) = self.timeline.as_mut() {
+                    tl.idle(timeline_now_ns());
+                }
                 if lock.take().is_some() {
                     let s = &spell;
                     eprintln!(
@@ -739,6 +807,9 @@ impl<S: RowStep> Scheduler<S> {
             }
             // Join: every waiting request or group that fits, in arrival order. A group joins whole,
             // all its jobs in this beat; while it waits for rows nothing behind it joins.
+            if let Some(tl) = self.timeline.as_mut() {
+                tl.join(timeline_now_ns());
+            }
             loop {
                 let group = match self.waiting.take() {
                     Some(g) => g,
@@ -757,6 +828,9 @@ impl<S: RowStep> Scheduler<S> {
             }
             // Sample one token for every decoding row from its logits; leave on stop / length /
             // cancel (a row still feeding its prompt leaves on cancel only).
+            if let Some(tl) = self.timeline.as_mut() {
+                tl.sample(timeline_now_ns());
+            }
             let mut i = 0;
             while i < active.len() {
                 let finish = if active[i].prefilling() {
@@ -779,6 +853,9 @@ impl<S: RowStep> Scheduler<S> {
             if active.is_empty() {
                 continue;
             }
+            if let Some(tl) = self.timeline.as_mut() {
+                tl.feed(timeline_now_ns());
+            }
             self.beat += 1;
             spell.beats += 1;
             Self::row_swaps_due(&mut active, &mut self.rows);
@@ -893,6 +970,13 @@ impl<S: RowStep> Scheduler<S> {
                 if feed.is_empty() {
                     break;
                 }
+                // The decode timeline records a beat that steps one decoding row and nothing else.
+                let stamp = self.timeline.is_some()
+                    && active.len() == 1
+                    && feed.len() == 1
+                    && !active[who[0]].prefilling()
+                    && tests[0].is_plain();
+                let call0 = if stamp { timeline_now_ns() } else { 0 };
                 let t = Instant::now();
                 // The served path calls `step_rows` exactly as before; only a beat with a
                 // switched row goes through `step_rows_test`.
@@ -901,12 +985,31 @@ impl<S: RowStep> Scheduler<S> {
                 } else {
                     self.model.step_rows_test(&feed, &tests)
                 };
+                let call1 = if stamp { timeline_now_ns() } else { 0 };
                 spell.wall_ns += t.elapsed().as_nanos() as u64;
                 spell.steps += 1;
                 spell.row_tokens += feed.len() as u64;
                 let m = feed.len() as u64;
                 match r {
-                    Ok(outs) if outs.len() == feed.len() => {
+                    // A row that asked for logits and got none could never pick its next token: fail
+                    // the step instead of leaving that request waiting forever.
+                    Ok(outs)
+                        if outs.len() == feed.len()
+                            && feed.iter().zip(&outs).all(|(f, o)| !f.logits || o.logits.is_some()) =>
+                    {
+                        if stamp {
+                            let rt = self.model.row_timeline(feed[0].row);
+                            if let Some(tl) = self.timeline.as_mut() {
+                                tl.stepped(
+                                    self.beat,
+                                    feed[0].row,
+                                    active[who[0]].steps,
+                                    (call0, call1),
+                                    &outs[0].stats,
+                                    rt,
+                                );
+                            }
+                        }
                         for ((f, &k), o) in feed.iter().zip(&who).zip(outs) {
                             spell.chip_ns += o.stats.chip_ns;
                             let a = &mut active[k];
@@ -934,7 +1037,18 @@ impl<S: RowStep> Scheduler<S> {
                     r => {
                         let e = match r {
                             Err(e) => e,
-                            Ok(o) => format!("step_rows gave {} rows for {}", o.len(), feed.len()),
+                            Ok(o) if o.len() != feed.len() => {
+                                format!("step_rows gave {} rows for {}", o.len(), feed.len())
+                            }
+                            Ok(o) => {
+                                let rows: Vec<usize> = feed
+                                    .iter()
+                                    .zip(&o)
+                                    .filter(|(f, o)| f.logits && o.logits.is_none())
+                                    .map(|(f, _)| f.row)
+                                    .collect();
+                                format!("step_rows gave no logits for row(s) {rows:?} that asked for them")
+                            }
                         };
                         eprintln!("aien-serve-http: qwen36-batch: step over {m} rows failed: {e}");
                         for a in active.drain(..) {
diff --git a/crates/aien-serve-http/src/qwen36_batch/tests.rs b/crates/aien-serve-http/src/qwen36_batch/tests.rs
index ead5418f..c8420546 100644
--- a/crates/aien-serve-http/src/qwen36_batch/tests.rs
+++ b/crates/aien-serve-http/src/qwen36_batch/tests.rs
@@ -887,3 +887,236 @@ fn a_reader_that_fell_behind_fails_even_when_its_done_fits() {
         other => panic!("a truncated reply reported as {other:?}"),
     }
 }
+
+/// The decode timeline over the fake: [`Fake`] plus the row timeline a chip graph gives, a fixed
+/// launch sequence (one layer and the exact head) with 100 ns chip stamps.
+struct StampFake {
+    inner: Fake,
+    on: bool,
+    asked: Arc<AtomicUsize>,
+    last: Vec<RowTimeline>,
+}
+
+const STAMP_KINDS: [&str; 21] = [
+    "norm", "mix", "ab", "gdn", "o_proj", "res", "router", "gate_up", "swiglu", "down", "gather",
+    "res", "norm", "lm_head", "lm_head", "lm_head", "argmax", "argmax", "lm_head", "argmax",
+    "argmax",
+];
+
+impl RowStep for StampFake {
+    type Snap = (u64, usize);
+    fn row_snapshot(&mut self, r: usize, snap: &mut (u64, usize)) -> Result<(), String> {
+        self.inner.row_snapshot(r, snap)
+    }
+    fn row_restore(&mut self, r: usize, snap: &(u64, usize)) -> Result<(), String> {
+        self.inner.row_restore(r, snap)
+    }
+    fn row_count(&self) -> usize {
+        self.inner.row_count()
+    }
+    fn row_reset(&mut self, r: usize) -> Result<(), String> {
+        self.inner.row_reset(r)
+    }
+    fn step_rows(&mut self, feed: &[RowFeed]) -> Result<Vec<RowOut>, String> {
+        if !self.on || feed.len() != 1 {
+            return self.inner.step_rows(feed);
+        }
+        let h0 = timeline_now_ns();
+        let h1 = timeline_now_ns();
+        std::thread::sleep(Duration::from_micros(50)); // the list build
+        let rec = timeline_now_ns() - h1;
+        let mut outs = self.inner.step_rows(feed)?; // submit and wait
+        let total = timeline_now_ns() - h1;
+        let h2 = timeline_now_ns();
+        let h3 = timeline_now_ns();
+        let n = STAMP_KINDS.len();
+        let base = 7_000_000_000 + h1;
+        self.last[feed[0].row] = RowTimeline {
+            host: [h0, h1, h2, h3],
+            stamps: (0..=n as u64).map(|i| base + i * 100).collect(),
+            kinds: STAMP_KINDS.iter().map(|k| k.to_string()).collect(),
+        };
+        outs[0].stats = GraphStats {
+            launches: n as u32,
+            chip_ns: n as u64 * 100,
+            record_ns: rec,
+            total_ns: total,
+            ..Default::default()
+        };
+        Ok(outs)
+    }
+    fn set_row_stamps(&mut self, on: bool) -> Result<(), String> {
+        self.asked.fetch_add(1, Ordering::SeqCst);
+        self.on = on;
+        Ok(())
+    }
+    fn row_timeline(&self, r: usize) -> Result<RowTimeline, String> {
+        self.asked.fetch_add(1, Ordering::SeqCst);
+        Ok(self.last[r].clone())
+    }
+}
+
+fn stamp_fake(rows: usize) -> (StampFake, Arc<AtomicUsize>) {
+    let (inner, _) = Fake::new(rows, None);
+    let asked = Arc::new(AtomicUsize::new(0));
+    (
+        StampFake {
+            inner,
+            on: false,
+            asked: Arc::clone(&asked),
+            last: vec![RowTimeline::default(); rows],
+        },
+        asked,
+    )
+}
+
+/// Waits for the scheduler's idle flush: `n` lines in `path`.
+fn timeline_lines(path: &Path, n: usize) -> String {
+    for _ in 0..200 {
+        let t = std::fs::read_to_string(path).unwrap_or_default();
+        if t.lines().count() >= n {
+            return t;
+        }
+        std::thread::sleep(Duration::from_millis(10));
+    }
+    std::fs::read_to_string(path).unwrap_or_default()
+}
+
+/// Every decode beat of one conversation is one complete, gap-free record; the words are the
+/// request alone's; dropping one record, one host phase or one launch turns the checker red.
+#[test]
+fn decode_timeline_records_every_single_row_beat() {
+    let path = lock_file().with_extension("timeline.jsonl");
+    let (f, asked) = stamp_fake(1);
+    let d = Qwen36BatchDoor::with_stepper_timeline(
+        f,
+        4096,
+        lock_file(),
+        Duration::from_secs(5),
+        1,
+        true,
+        Some(path.clone()),
+    )
+    .unwrap();
+    let prompt: Vec<u32> = (0..5).map(|k| (k * 13 + 1) % VOCAB as u32).collect();
+    let (words, _) = run(&d, &prompt, &greedy(20));
+    assert_eq!(words, alone(&prompt, 20), "the timeline changed the words");
+    // 20 tokens: the first from the prompt's last step, then 19 decode steps.
+    let text = timeline_lines(&path, 19);
+    let recs = crate::decode_timeline::read_jsonl(&text).unwrap();
+    assert_eq!(recs.len(), 19, "{text}");
+    assert_eq!(crate::decode_timeline::check(&recs), Vec::<String>::new());
+    for w in recs.windows(2) {
+        assert_eq!(w[1].beat, w[0].beat + 1);
+        assert_eq!(w[1].step, w[0].step + 1);
+    }
+    assert!(asked.load(Ordering::SeqCst) >= 20);
+    let mut no_rec = recs.clone();
+    no_rec.remove(7);
+    assert!(!crate::decode_timeline::check(&no_rec).is_empty());
+    let mut no_host = recs.clone();
+    no_host[3].host.remove(4);
+    assert!(!crate::decode_timeline::check(&no_host).is_empty());
+    let mut no_dev = recs.clone();
+    no_dev[11].dev.remove(9);
+    assert!(!crate::decode_timeline::check(&no_dev).is_empty());
+    let s = crate::decode_timeline::summary(&recs);
+    assert!(s.contains("\"dev:head_recheck\" -> {100, "), "{s}");
+    // `AIEN_Q36_DECODE_TIMELINE_KEEP=<file>`: keep this host run for the checker CLI.
+    if let Some(keep) = std::env::var_os("AIEN_Q36_DECODE_TIMELINE_KEEP") {
+        std::fs::copy(&path, keep).unwrap();
+    }
+    let _ = std::fs::remove_file(&path);
+}
+
+/// Switched off (the default), the door never asks the stepper for stamps or a timeline.
+#[test]
+fn decode_timeline_off_never_asks() {
+    let (f, asked) = stamp_fake(2);
+    let d = Qwen36BatchDoor::with_stepper(f, 4096, lock_file(), Duration::from_secs(5), 1, true)
+        .unwrap();
+    let prompt = [3u32, 1, 4, 1, 5];
+    let (words, _) = run(&d, &prompt, &greedy(10));
+    assert_eq!(words, alone(&prompt, 10));
+    assert_eq!(asked.load(Ordering::SeqCst), 0);
+}
+
+/// A stepper without a timeline refuses a switched-on door instead of recording nothing.
+#[test]
+fn decode_timeline_refused_without_stamps() {
+    let (f, _) = Fake::new(1, None);
+    let path = lock_file().with_extension("refused.jsonl");
+    let r = Qwen36BatchDoor::with_stepper_timeline(
+        f,
+        4096,
+        lock_file(),
+        Duration::from_secs(5),
+        1,
+        true,
+        Some(path.clone()),
+    );
+    assert!(r.is_err());
+    assert!(!path.exists());
+}
+
+/// A stepper that never returns logits, even when a feed asks for them.
+struct NoLogits(Vec<u64>);
+
+impl RowStep for NoLogits {
+    type Snap = u64;
+    fn row_snapshot(&mut self, r: usize, snap: &mut u64) -> Result<(), String> {
+        *snap = self.0[r];
+        Ok(())
+    }
+    fn row_restore(&mut self, r: usize, snap: &u64) -> Result<(), String> {
+        self.0[r] = *snap;
+        Ok(())
+    }
+    fn row_count(&self) -> usize {
+        self.0.len()
+    }
+    fn row_reset(&mut self, r: usize) -> Result<(), String> {
+        self.0[r] = 0;
+        Ok(())
+    }
+    fn step_rows(&mut self, feed: &[RowFeed]) -> Result<Vec<RowOut>, String> {
+        Ok(feed
+            .iter()
+            .map(|f| {
+                self.0[f.row] = mix(self.0[f.row] ^ u64::from(f.token));
+                RowOut {
+                    token: (self.0[f.row] % 89) as u32 + 5,
+                    logits: None,
+                    stats: GraphStats::default(),
+                }
+            })
+            .collect())
+    }
+}
+
+/// The prompt's last feed asks for logits; a stepper that returns none fails the request with a
+/// clear error instead of leaving it waiting forever (the door used to hang here).
+#[test]
+fn missing_logits_fail_the_request() {
+    for chip_greedy in [true, false] {
+        let d = Qwen36BatchDoor::with_stepper(
+            NoLogits(vec![0; 2]),
+            4096,
+            lock_file(),
+            Duration::from_secs(5),
+            4,
+            chip_greedy,
+        )
+        .unwrap();
+        let (tx, rx) = std::sync::mpsc::channel();
+        std::thread::spawn(move || {
+            let r = d.generate(&[3, 1, 4, 1, 5], &greedy(8), &mut |_| true);
+            let _ = tx.send(r.map(|_| ()).map_err(|e| format!("{e:?}")));
+        });
+        let r = rx
+            .recv_timeout(Duration::from_secs(20))
+            .expect("the door hung on a step without the logits it asked for");
+        let e = r.expect_err("a step without asked-for logits must fail the request");
+        assert!(e.contains("no logits"), "error names the cause: {e}");
+    }
+}
diff --git a/evidence/q36-decode-timeline-20261027/PROTOCOL.md b/evidence/q36-decode-timeline-20261027/PROTOCOL.md
new file mode 100644
index 00000000..43ad65b5
--- /dev/null
+++ b/evidence/q36-decode-timeline-20261027/PROTOCOL.md
@@ -0,0 +1,45 @@
+# q36 decode timeline: zero-cost A/B protocol (frozen before any number, #785)
+
+Question: with `AIEN_Q36_DECODE_TIMELINE` unset (the default), does the instrumented door cost anything against the door without the instrumentation?
+
+## Arms
+
+- A (base): `aien-sovereign-core-mv` main `f30eb963`, which is the PR's base.
+- B (head): branch `perf/q36-decode-timeline` at the commit that carries this file, with the switch unset.
+- Both arms: omega `a647b6a9` through the same `pins/env.sh`, the same `rust-toolchain.toml`, `--release`, built with `nice -n 19 taskset -c 10-14 cargo ... -j5`.
+
+## Host A/B (runs now, host only)
+
+- Driver: `bench.patch.rs` in this folder. It is THROWAWAY and appended unchanged to `crates/aien-serve-http/src/qwen36_batch/tests.rs` in a scratch worktree of each arm, then built as each arm's test binary. It sends one request of 20,000 greedy tokens through `Qwen36BatchDoor::with_stepper` over a fake model that does no work, so it times only the door's beat loop, which is the code the switched-off path touches.
+- Correctness gate: both arms must print the same token count (20,000) and the same token digest in every sample. Otherwise the run is void.
+- Design: 2 discarded warm-up rounds, then 20 rounds. Within each round the two arms run in a seeded random order (Python `random.Random(785)`, recorded in the output), one process per arm per round, both on `taskset -c 12` under `nice -n 19`. Load1 is recorded before each round.
+- Metric: ns per token (wall over the whole request / 20,000), one sample per arm per round. Report the median plus min..max for each arm, and the median of the per-round ratios B/A.
+- Verdict: PASS if the median paired ratio B/A <= 1.02. Otherwise REGRESSION. Medians and ratios are computed in Wolfram.
+
+## Chip A/B (prepared in window.sh, NOT_RUN until an exclusive window)
+
+- Server per block: `--engine omega --model-dir /home/drakestapleton/models/qwen3.6-35b-a3b-fp8-95a723d0 --port 18190 --bind 127.0.0.1 --max-context 49152 --max-tokens-cap 16384 --thinking off --batch-slots 8`, env `AIEN_Q36_STROKE=1`, `AIEN_SERVE_GPU_LOCK=/tmp/aien-serve-18190.lock`, timeline switch unset. These are the live 18091 flags.
+- Design: 4 blocks, with arm order drawn by `random.Random(785)` among the 6 orders that hold two A and two B. Each block is one server start, 1 discarded warm-up request, then 10 requests: the fixed prompt in window.sh, `temperature 0`, `max_tokens 200`, one at a time.
+- Metric: tokens/s = `usage.completion_tokens` / request wall. Before each sample, `curl 127.0.0.1:18091/health` is recorded; the window has 18091 stopped, so any sample where 18091 answers with `in_flight > 0` is discarded and counted. The `spell over ... chip N ms/step` lines are kept as a second view.
+- Correctness gate: every request in both arms returns the same text as the first A request. Otherwise void.
+- Verdict: PASS if median tokens/s of B >= 0.99 x median of A (pooled over the 20 kept samples per arm). Otherwise REGRESSION. Medians are computed in Wolfram.
+
+## No re-run selection
+
+Each A/B runs once. A re-run happens only for a documented machine-load fault, and both runs are then reported.
+
+## The timeline run is not a speed receipt
+
+With the switch on, the chip writes one stamp per launch, which costs chip time. The 200-token timeline run says where the time goes, not how fast the step is.
+
+## Amendment 1 (before any chip number exists): chip arm A is bf51e6d6
+
+A server built from `f30eb963` has no `AIEN_SERVE_GPU_LOCK`, so inside a window where Main holds `/tmp/aien-gb10.lock` its load would wait on that lock and fail. Chip arm A is therefore `bf51e6d6`: `f30eb963` plus only the lock restore, which is the parent of the timeline commit. Arm B stays the timeline commit. The host A/B keeps `f30eb963`, because its driver passes a private lock file in both arms. The verdict rules are unchanged.
+
+## Amendment 2 (host A/B, before any host number exists): driver fix
+
+The first host run produced no sample: in `bench.patch.rs` the fake returned no logits when the prompt's last feed asked for them, so the door never picked a first reply token and the request waited until the 1800 s job limit. The driver now returns a one-hot logits row whose argmax equals its own token. No timing from that run exists, so nothing is selected away. Every other rule is unchanged.
+
+## Amendment 3 (host A/B, before any host number exists): fixed step work
+
+With Amendment 2 the smoke run (outside the counted rounds) failed: the fake stepped so fast that the reply's reader fell 256 events behind and the door dropped the row, as designed. The fake now spins a fixed 100 us per step in both arms. Per token the time is then 100 us plus the door's own loop, so the 1.02 gate catches any added host cost above about 2 us per token (Wolfram check in the report). No timing from the smoke runs is used.
diff --git a/evidence/q36-decode-timeline-20261027/RESULTS.md b/evidence/q36-decode-timeline-20261027/RESULTS.md
new file mode 100644
index 00000000..6b7ea78d
--- /dev/null
+++ b/evidence/q36-decode-timeline-20261027/RESULTS.md
@@ -0,0 +1,40 @@
+# q36 decode timeline: host results (#785)
+
+Pins: sc `6691c931` (timeline), arm A `f30eb963` for the host A/B, omega `a647b6a9`. Protocol: `PROTOCOL.md` (sha256 `babce814...7d00` at `472eba15`), with Amendments 1 to 3 written before any number they govern existed.
+
+## EXERCISED on host
+
+| Check | Result | File |
+|---|---|---|
+| `cargo test --release --no-fail-fast -p aien-serve-http -p aien-inference-abi -p aien-omega-q38` | all green except `tinyllama_parity` (4 of 6): the loader refuses the symlinked Hugging Face cache file (`symlink or nonregular checkpoint file`); this branch does not touch the loader or that test | `/home/drakestapleton/handoffs/DecodeTimeline/test-head.log` |
+| Door timeline over a stamping fake, 20 tokens | 19 records, checker GREEN | `host-timeline/host-timeline.jsonl`, `host-check.txt` |
+| `--check-decode-timeline --drop 5:dev:3` | exit 1, RED (3 findings) | `host-timeline/host-red-5-dev-3.txt` |
+| `--drop 7:record:0` | exit 1, RED (11 findings) | `host-timeline/host-red-7-record-0.txt` |
+| `--drop 3:host:4` | exit 1, RED (2 findings) | `host-timeline/host-red-3-host-4.txt` |
+| `window.sh` precondition, lock held by another lane | `NOT_RUN`, exit 3, no server started, no BOARD line | `window-negcontrol.log` |
+
+## Host zero-cost A/B (switch unset)
+
+20 rounds after 2 warm-ups, seeded order (785), `taskset -c 12 nice -n 19`, 20,000 tokens per run, fake step 100 us. Same digest `565d66b3abf21a8a` and 20,000 tokens in all 44 runs. Load1 6.2 to 7.0 (shared box).
+
+WolframLanguageEvaluator on `host-ab/ab.wl`:
+
+| | A `f30eb963` | B `6691c931` |
+|---|---|---|
+| median ns per token | 107440.73 | 107504.26 |
+| min..max ns per token | 107356.21..107579.22 | 107404.34..107742.43 |
+
+- `Median[nsB/nsA]` -> 1.00048088 (min..max 0.99959..1.00209). Gate `<= 1.02`: **PASS**.
+- B was slower in 18 of 20 rounds, `SignedRankTest[nsB - nsA]` -> p 0.00042: a real host cost of `Median` difference 63.5 ns per token, which is `63.5*^-9/20.7*^-3` -> 3.07*10^-6 of the recorded 20.7 ms step.
+- Gate sensitivity: `0.02 * 107440.73` -> 2148.8 ns per token.
+
+## NOT_RUN
+
+- Chip timeline (200 tokens on the 35B) and the chip A/B: they need a stopped 18091 and an exclusive window. `window.sh` runs both; the procedure is in `/home/drakestapleton/handoffs/DecodeTimeline/RESUME.md`.
+- The ABI host marks and `row_timeline` on the real `Qwen38Omega`: compiled and covered by the door tests only through the fake; the chip run exercises them.
+
+## Addendum: missing-logits fix (`f551b1e2`)
+
+- `missing_logits_fail_the_request` (host, fake stepper that never returns logits, both chip-greedy settings): RED before the fix, "the door hung on a step without the logits it asked for: Timeout" after 20 s (`host-timeline/nologits-before.log`); GREEN after (`host-timeline/nologits-after.log`).
+- Package tests at `f551b1e2`: same result as above, all green except `tinyllama_parity` 4 of 6 (`/home/drakestapleton/handoffs/DecodeTimeline/test-head2.log`).
+- The host A/B above measured `6691c931`, before this fix. `window.sh` now pins the head binary at `f551b1e2` (sha256 `6eca898f...9c10`), so the chip A/B measures the final code.
diff --git a/evidence/q36-decode-timeline-20261027/bench.patch.rs b/evidence/q36-decode-timeline-20261027/bench.patch.rs
new file mode 100644
index 00000000..1fbd9175
--- /dev/null
+++ b/evidence/q36-decode-timeline-20261027/bench.patch.rs
@@ -0,0 +1,78 @@
+// THROWAWAY A/B driver (evidence only, not product code): appended to
+// crates/aien-serve-http/src/qwen36_batch/tests.rs in BOTH arms, unchanged.
+// One request of BENCH_TOKENS greedy tokens through the batch door over a
+// fake model that spins a fixed 100 us per step, so the time above
+// 20,000 x 100 us is the door's own beat loop: the code the switched-off decode timeline touches.
+
+struct BenchFake(Vec<(u64, usize)>);
+
+impl RowStep for BenchFake {
+    type Snap = (u64, usize);
+    fn row_snapshot(&mut self, r: usize, snap: &mut (u64, usize)) -> Result<(), String> {
+        *snap = self.0[r];
+        Ok(())
+    }
+    fn row_restore(&mut self, r: usize, snap: &(u64, usize)) -> Result<(), String> {
+        self.0[r] = *snap;
+        Ok(())
+    }
+    fn row_count(&self) -> usize {
+        self.0.len()
+    }
+    fn row_reset(&mut self, r: usize) -> Result<(), String> {
+        self.0[r] = (0, 0);
+        Ok(())
+    }
+    fn step_rows(&mut self, feed: &[RowFeed]) -> Result<Vec<RowOut>, String> {
+        // A fixed 100 us of busy work per step stands in for the chip, so the reply's reader
+        // (256 events of slack) keeps up the way it does at 20 ms/token. Without it the reader
+        // falls behind and the door drops the row.
+        let t = Instant::now();
+        while t.elapsed() < Duration::from_micros(100) {
+            std::hint::spin_loop();
+        }
+        Ok(feed
+            .iter()
+            .map(|f| {
+                let (st, pos) = &mut self.0[f.row];
+                *st = mix(*st ^ (u64::from(f.token) << 20) ^ *pos as u64);
+                *pos += 1;
+                let token = (*st % 89) as u32 + 5;
+                // The prompt's last feed asks for logits: the door samples the first reply
+                // token from them. A one-hot row keeps that pick equal to `token`.
+                let logits = f.logits.then(|| {
+                    let mut l = vec![0.0f32; VOCAB];
+                    l[token as usize] = 1.0;
+                    l
+                });
+                RowOut {
+                    token,
+                    logits,
+                    stats: GraphStats::default(),
+                }
+            })
+            .collect())
+    }
+}
+
+#[test]
+#[ignore]
+fn bench_door_beat() {
+    const BENCH_TOKENS: usize = 20_000;
+    let d = Qwen36BatchDoor::with_stepper(
+        BenchFake(vec![(0, 0); 8]),
+        1 << 16,
+        lock_file(),
+        Duration::from_secs(5),
+        16,
+        true,
+    )
+    .unwrap();
+    let prompt = [3u32, 1, 4, 1, 5, 9, 2, 6];
+    let t = Instant::now();
+    let (words, _) = run(&d, &prompt, &greedy(BENCH_TOKENS));
+    let ns = t.elapsed().as_nanos();
+    assert_eq!(words.len(), BENCH_TOKENS);
+    let digest = words.iter().fold(0u64, |h, &w| mix(h ^ u64::from(w)));
+    println!("BENCH tokens {} ns {} digest {:016x}", words.len(), ns, digest);
+}
diff --git a/evidence/q36-decode-timeline-20261027/host-ab/ab.wl b/evidence/q36-decode-timeline-20261027/host-ab/ab.wl
new file mode 100644
index 00000000..bf4548d7
--- /dev/null
+++ b/evidence/q36-decode-timeline-20261027/host-ab/ab.wl
@@ -0,0 +1,3 @@
+(* correctness gate PASS: digests ['565d66b3abf21a8a'], tokens [20000] *)
+nsA = {2147723448, 2150172178, 2147840587, 2147124250, 2148959792, 2148006526, 2149779519, 2148672496, 2148956792, 2147947068, 2150160689, 2148361244, 2148660804, 2147613713, 2148009658, 2150966802, 2150334453, 2150983759, 2150344881, 2151584495};
+nsB = {2150198059, 2150270335, 2149576354, 2148086804, 2151058969, 2150066526, 2150103685, 2149261335, 2150060178, 2149832692, 2149272983, 2149539504, 2149020883, 2148357193, 2151887172, 2151401560, 2152536373, 2151250019, 2154848688, 2151513714};
diff --git a/evidence/q36-decode-timeline-20261027/host-ab/bench.sha256 b/evidence/q36-decode-timeline-20261027/host-ab/bench.sha256
new file mode 100644
index 00000000..3d1bebe1
--- /dev/null
+++ b/evidence/q36-decode-timeline-20261027/host-ab/bench.sha256
@@ -0,0 +1,2 @@
+73f11620eb5ed08e455b01da8ad58d31046f4b440adc91c1218b4d7436f6412b  bench-A
+2fb624fc3b07a4f19413bd3fdff3274881385c43121c82c0b032e215158743f5  bench-B
diff --git a/evidence/q36-decode-timeline-20261027/host-ab/raw.json b/evidence/q36-decode-timeline-20261027/host-ab/raw.json
new file mode 100644
index 00000000..7e412919
--- /dev/null
+++ b/evidence/q36-decode-timeline-20261027/host-ab/raw.json
@@ -0,0 +1,338 @@
+{
+ "exe": {
+  "A": "/home/drakestapleton/handoffs/DecodeTimeline/ab-host/bench-A",
+  "B": "/home/drakestapleton/handoffs/DecodeTimeline/ab-host/bench-B"
+ },
+ "rounds": [
+  {
+   "round": -2,
+   "order": "BA",
+   "load1": "6.20",
+   "B": {
+    "tokens": 20000,
+    "ns": 2153683950,
+    "digest": "565d66b3abf21a8a"
+   },
+   "A": {
+    "tokens": 20000,
+    "ns": 2149437448,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": -1,
+   "order": "BA",
+   "load1": "6.18",
+   "B": {
+    "tokens": 20000,
+    "ns": 2151917002,
+    "digest": "565d66b3abf21a8a"
+   },
+   "A": {
+    "tokens": 20000,
+    "ns": 2148549866,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 0,
+   "order": "AB",
+   "load1": "6.17",
+   "A": {
+    "tokens": 20000,
+    "ns": 2147723448,
+    "digest": "565d66b3abf21a8a"
+   },
+   "B": {
+    "tokens": 20000,
+    "ns": 2150198059,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 1,
+   "order": "BA",
+   "load1": "6.16",
+   "B": {
+    "tokens": 20000,
+    "ns": 2150270335,
+    "digest": "565d66b3abf21a8a"
+   },
+   "A": {
+    "tokens": 20000,
+    "ns": 2150172178,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 2,
+   "order": "BA",
+   "load1": "6.22",
+   "B": {
+    "tokens": 20000,
+    "ns": 2149576354,
+    "digest": "565d66b3abf21a8a"
+   },
+   "A": {
+    "tokens": 20000,
+    "ns": 2147840587,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 3,
+   "order": "AB",
+   "load1": "6.12",
+   "A": {
+    "tokens": 20000,
+    "ns": 2147124250,
+    "digest": "565d66b3abf21a8a"
+   },
+   "B": {
+    "tokens": 20000,
+    "ns": 2148086804,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 4,
+   "order": "BA",
+   "load1": "6.12",
+   "B": {
+    "tokens": 20000,
+    "ns": 2151058969,
+    "digest": "565d66b3abf21a8a"
+   },
+   "A": {
+    "tokens": 20000,
+    "ns": 2148959792,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 5,
+   "order": "AB",
+   "load1": "6.28",
+   "A": {
+    "tokens": 20000,
+    "ns": 2148006526,
+    "digest": "565d66b3abf21a8a"
+   },
+   "B": {
+    "tokens": 20000,
+    "ns": 2150066526,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 6,
+   "order": "AB",
+   "load1": "6.33",
+   "A": {
+    "tokens": 20000,
+    "ns": 2149779519,
+    "digest": "565d66b3abf21a8a"
+   },
+   "B": {
+    "tokens": 20000,
+    "ns": 2150103685,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 7,
+   "order": "AB",
+   "load1": "6.31",
+   "A": {
+    "tokens": 20000,
+    "ns": 2148672496,
+    "digest": "565d66b3abf21a8a"
+   },
+   "B": {
+    "tokens": 20000,
+    "ns": 2149261335,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 8,
+   "order": "AB",
+   "load1": "6.20",
+   "A": {
+    "tokens": 20000,
+    "ns": 2148956792,
+    "digest": "565d66b3abf21a8a"
+   },
+   "B": {
+    "tokens": 20000,
+    "ns": 2150060178,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 9,
+   "order": "BA",
+   "load1": "6.27",
+   "B": {
+    "tokens": 20000,
+    "ns": 2149832692,
+    "digest": "565d66b3abf21a8a"
+   },
+   "A": {
+    "tokens": 20000,
+    "ns": 2147947068,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 10,
+   "order": "BA",
+   "load1": "6.48",
+   "B": {
+    "tokens": 20000,
+    "ns": 2149272983,
+    "digest": "565d66b3abf21a8a"
+   },
+   "A": {
+    "tokens": 20000,
+    "ns": 2150160689,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 11,
+   "order": "BA",
+   "load1": "6.29",
+   "B": {
+    "tokens": 20000,
+    "ns": 2149539504,
+    "digest": "565d66b3abf21a8a"
+   },
+   "A": {
+    "tokens": 20000,
+    "ns": 2148361244,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 12,
+   "order": "BA",
+   "load1": "6.29",
+   "B": {
+    "tokens": 20000,
+    "ns": 2149020883,
+    "digest": "565d66b3abf21a8a"
+   },
+   "A": {
+    "tokens": 20000,
+    "ns": 2148660804,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 13,
+   "order": "AB",
+   "load1": "6.26",
+   "A": {
+    "tokens": 20000,
+    "ns": 2147613713,
+    "digest": "565d66b3abf21a8a"
+   },
+   "B": {
+    "tokens": 20000,
+    "ns": 2148357193,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 14,
+   "order": "AB",
+   "load1": "6.16",
+   "A": {
+    "tokens": 20000,
+    "ns": 2148009658,
+    "digest": "565d66b3abf21a8a"
+   },
+   "B": {
+    "tokens": 20000,
+    "ns": 2151887172,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 15,
+   "order": "AB",
+   "load1": "6.31",
+   "A": {
+    "tokens": 20000,
+    "ns": 2150966802,
+    "digest": "565d66b3abf21a8a"
+   },
+   "B": {
+    "tokens": 20000,
+    "ns": 2151401560,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 16,
+   "order": "AB",
+   "load1": "6.52",
+   "A": {
+    "tokens": 20000,
+    "ns": 2150334453,
+    "digest": "565d66b3abf21a8a"
+   },
+   "B": {
+    "tokens": 20000,
+    "ns": 2152536373,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 17,
+   "order": "AB",
+   "load1": "6.72",
+   "A": {
+    "tokens": 20000,
+    "ns": 2150983759,
+    "digest": "565d66b3abf21a8a"
+   },
+   "B": {
+    "tokens": 20000,
+    "ns": 2151250019,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 18,
+   "order": "AB",
+   "load1": "6.83",
+   "A": {
+    "tokens": 20000,
+    "ns": 2150344881,
+    "digest": "565d66b3abf21a8a"
+   },
+   "B": {
+    "tokens": 20000,
+    "ns": 2154848688,
+    "digest": "565d66b3abf21a8a"
+   }
+  },
+  {
+   "round": 19,
+   "order": "AB",
+   "load1": "6.83",
+   "A": {
+    "tokens": 20000,
+    "ns": 2151584495,
+    "digest": "565d66b3abf21a8a"
+   },
+   "B": {
+    "tokens": 20000,
+    "ns": 2151513714,
+    "digest": "565d66b3abf21a8a"
+   }
+  }
+ ]
+}
\ No newline at end of file
diff --git a/evidence/q36-decode-timeline-20261027/host-ab/run.py b/evidence/q36-decode-timeline-20261027/host-ab/run.py
new file mode 100755
index 00000000..381273bb
--- /dev/null
+++ b/evidence/q36-decode-timeline-20261027/host-ab/run.py
@@ -0,0 +1,36 @@
+#!/usr/bin/env python3
+# THROWAWAY host A/B runner for evidence/q36-decode-timeline-20261027/PROTOCOL.md (#785).
+# 2 warm-up rounds discarded, 20 rounds, arm order per round from random.Random(785),
+# one process per arm per round on taskset -c 12 under nice -n 19.
+import json, os, random, re, subprocess, sys
+
+here = os.path.dirname(os.path.abspath(__file__))
+exe = {a: open(os.path.join(here, f"exe-{a}.txt")).read().split()[0] for a in "AB"}
+rng = random.Random(785)
+out = {"exe": exe, "rounds": []}
+for rnd in range(-2, 20):
+    order = ["A", "B"]
+    rng.shuffle(order)
+    load = open("/proc/loadavg").read().split()[0]
+    row = {"round": rnd, "order": "".join(order), "load1": load}
+    for a in order:
+        p = subprocess.run(
+            ["nice", "-n", "19", "taskset", "-c", "12", exe[a], "--ignored", "--exact",
+             "qwen36_batch::tests::bench_door_beat", "--nocapture", "--test-threads=1"],
+            capture_output=True, text=True)
+        m = re.search(r"BENCH tokens (\d+) ns (\d+) digest ([0-9a-f]+)", p.stdout)
+        if p.returncode != 0 or not m:
+            sys.exit(f"arm {a} round {rnd} failed rc={p.returncode}: {p.stdout[-500:]} {p.stderr[-500:]}")
+        row[a] = {"tokens": int(m[1]), "ns": int(m[2]), "digest": m[3]}
+    print(json.dumps(row), flush=True)
+    out["rounds"].append(row)
+json.dump(out, open(os.path.join(here, "raw.json"), "w"), indent=1)
+kept = [r for r in out["rounds"] if r["round"] >= 0]
+digests = {r[a]["digest"] for r in out["rounds"] for a in "AB"}
+tokens = {r[a]["tokens"] for r in out["rounds"] for a in "AB"}
+gate = "PASS" if len(digests) == 1 and tokens == {20000} else "VOID"
+with open(os.path.join(here, "ab.wl"), "w") as f:
+    f.write(f"(* correctness gate {gate}: digests {sorted(digests)}, tokens {sorted(tokens)} *)\n")
+    f.write("nsA = {%s};\n" % ", ".join(str(r["A"]["ns"]) for r in kept))
+    f.write("nsB = {%s};\n" % ", ".join(str(r["B"]["ns"]) for r in kept))
+print("gate", gate)
diff --git a/evidence/q36-decode-timeline-20261027/host-timeline/host-check.txt b/evidence/q36-decode-timeline-20261027/host-timeline/host-check.txt
new file mode 100644
index 00000000..8331f4ec
--- /dev/null
+++ b/evidence/q36-decode-timeline-20261027/host-timeline/host-check.txt
@@ -0,0 +1,2 @@
+decode timeline GREEN: 19 records, host-timeline.jsonl
+green exit 0
diff --git a/evidence/q36-decode-timeline-20261027/host-timeline/host-red-3-host-4.txt b/evidence/q36-decode-timeline-20261027/host-timeline/host-red-3-host-4.txt
new file mode 100644
index 00000000..de66272a
--- /dev/null
+++ b/evidence/q36-decode-timeline-20261027/host-timeline/host-red-3-host-4.txt
@@ -0,0 +1,5 @@
+negative control: dropped 3:host:4
+RED: record 3 (beat 9): host phases ["sched_join", "sample", "sched_feed", "step_enter", "graph_record", "graph_submit_wait", "graph_exit", "logits_read", "step_return", "sched_post"]
+RED: record 3 (beat 9): host 3 step_enter ends at 3820694, graph_record starts at 3820726
+decode timeline RED: 2 findings over 19 records, host-timeline.jsonl
+drop 3:host:4 exit 1
diff --git a/evidence/q36-decode-timeline-20261027/host-timeline/host-red-5-dev-3.txt b/evidence/q36-decode-timeline-20261027/host-timeline/host-red-5-dev-3.txt
new file mode 100644
index 00000000..1cf530bb
--- /dev/null
+++ b/evidence/q36-decode-timeline-20261027/host-timeline/host-red-5-dev-3.txt
@@ -0,0 +1,6 @@
+negative control: dropped 5:dev:3
+RED: record 5 (beat 11): dev 2 ab ends at 7004773096, o_proj starts at 7004773196
+RED: record 5 (beat 11): 20 device spans for 21 launches
+RED: record 5 (beat 11): launch-kind census differs from record 0
+decode timeline RED: 3 findings over 19 records, host-timeline.jsonl
+drop 5:dev:3 exit 1
diff --git a/evidence/q36-decode-timeline-20261027/host-timeline/host-red-7-record-0.txt b/evidence/q36-decode-timeline-20261027/host-timeline/host-red-7-record-0.txt
new file mode 100644
index 00000000..63b237e7
--- /dev/null
+++ b/evidence/q36-decode-timeline-20261027/host-timeline/host-red-7-record-0.txt
@@ -0,0 +1,14 @@
+negative control: dropped 7:record:0
+RED: record 7 (beat 14): seq 8 where 7 belongs (a record is missing or repeated)
+RED: record 8 (beat 15): seq 9 where 8 belongs (a record is missing or repeated)
+RED: record 9 (beat 16): seq 10 where 9 belongs (a record is missing or repeated)
+RED: record 10 (beat 17): seq 11 where 10 belongs (a record is missing or repeated)
+RED: record 11 (beat 18): seq 12 where 11 belongs (a record is missing or repeated)
+RED: record 12 (beat 19): seq 13 where 12 belongs (a record is missing or repeated)
+RED: record 13 (beat 20): seq 14 where 13 belongs (a record is missing or repeated)
+RED: record 14 (beat 21): seq 15 where 14 belongs (a record is missing or repeated)
+RED: record 15 (beat 22): seq 16 where 15 belongs (a record is missing or repeated)
+RED: record 16 (beat 23): seq 17 where 16 belongs (a record is missing or repeated)
+RED: record 17 (beat 24): seq 18 where 17 belongs (a record is missing or repeated)
+decode timeline RED: 11 findings over 18 records, host-timeline.jsonl
+drop 7:record:0 exit 1
diff --git a/evidence/q36-decode-timeline-20261027/host-timeline/host-summary.wl b/evidence/q36-decode-timeline-20261027/host-timeline/host-summary.wl
new file mode 100644
index 00000000..4fbc6a65
--- /dev/null
+++ b/evidence/q36-decode-timeline-20261027/host-timeline/host-summary.wl
@@ -0,0 +1,30 @@
+(* aien.q36-decode-timeline/1: 19 beats; integer ns per beat; host clock for host:*, period, sync; chip PTIMER for dev:*, dev_span *)
+timeline = <|
+  "period" -> {464770, 496851, 483555, 486947, 472866, 450115, 473731, 470291, 474802, 472451, 461747, 471619, 474834, 471619, 469091, 459522, 480707, 479907, 474851},
+  "host:sched_join" -> {64, 35696, 18736, 19408, 10848, 12241, 9232, 7392, 12320, 9120, 9008, 9088, 9424, 9200, 7072, 14880, 16465, 17008, 8304},
+  "host:sample" -> {3072, 2272, 2144, 2352, 1824, 1840, 1920, 3392, 2048, 2256, 1712, 1984, 1920, 2336, 1776, 1968, 2032, 1584, 1600},
+  "host:sched_feed" -> {432, 224, 400, 224, 176, 144, 160, 160, 192, 144, 128, 160, 112, 192, 160, 176, 224, 160, 144},
+  "host:step_enter" -> {80, 80, 144, 64, 80, 80, 80, 80, 80, 80, 80, 80, 96, 80, 80, 80, 112, 80, 80},
+  "host:embed" -> {32, 48, 48, 32, 32, 32, 48, 48, 48, 48, 32, 48, 32, 48, 48, 48, 48, 48, 48},
+  "host:graph_record" -> {102560, 98081, 104881, 104385, 102912, 103616, 104273, 102641, 103184, 104433, 94321, 103265, 104160, 103217, 102609, 104129, 104608, 103937, 102689},
+  "host:graph_submit_wait" -> {353858, 354210, 354082, 357218, 353858, 329538, 354962, 353906, 353906, 353810, 353890, 354162, 356290, 353794, 354210, 332625, 354050, 354130, 356194},
+  "host:graph_exit" -> {32, 48, 96, 48, 48, 48, 48, 48, 48, 48, 32, 48, 48, 48, 32, 32, 32, 48, 32},
+  "host:logits_read" -> {16, 32, 32, 48, 32, 32, 48, 32, 48, 32, 48, 48, 48, 48, 48, 48, 48, 32, 48},
+  "host:step_return" -> {1040, 2800, 1376, 1296, 1168, 1056, 1440, 1088, 1184, 1024, 1088, 1152, 1120, 1184, 1424, 2544, 1264, 1184, 2944},
+  "host:sched_post" -> {3584, 3360, 1616, 1872, 1888, 1488, 1520, 1504, 1744, 1456, 1408, 1584, 1584, 1472, 1632, 2992, 1824, 1696, 2768},
+  "dev:experts" -> {200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200},
+  "dev:gdn" -> {300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300},
+  "dev:attention" -> {100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100},
+  "dev:router" -> {100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100},
+  "dev:head_screen" -> {300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, 300},
+  "dev:head_recheck" -> {100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100},
+  "dev:head_plain" -> {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+  "dev:token_pick" -> {200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200},
+  "dev:glue" -> {800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800},
+  "dev:unknown" -> {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+  "dev_span" -> {2100, 2100, 2100, 2100, 2100, 2100, 2100, 2100, 2100, 2100, 2100, 2100, 2100, 2100, 2100, 2100, 2100, 2100, 2100},
+  "sync" -> {351758, 352110, 351982, 355118, 351758, 327438, 352862, 351806, 351806, 351710, 351790, 352062, 354190, 351694, 352110, 330525, 351950, 352030, 354094}
+|>;
+(* ms per beat, medians: *) N[Median /@ timeline / 10^6]
+(* outside the chip + chip + sync vs the period: *) N[{Median[timeline["period"] - timeline["host:graph_submit_wait"]], Median[timeline["dev_span"]], Median[timeline["sync"]], Median[timeline["period"]]} / 10^6]
+(* residual against the recorded 20.7 ms step: *) N[207/10 - Median[timeline["period"]] / 10^6]
diff --git a/evidence/q36-decode-timeline-20261027/host-timeline/host-timeline.jsonl b/evidence/q36-decode-timeline-20261027/host-timeline/host-timeline.jsonl
new file mode 100644
index 00000000..a8b37182
--- /dev/null
+++ b/evidence/q36-decode-timeline-20261027/host-timeline/host-timeline.jsonl
@@ -0,0 +1,19 @@
+{"schema":"aien.q36-decode-timeline/1","seq":0,"beat":6,"row":0,"step":0,"launches":21,"chip_ns":2100,"record_ns":102560,"total_ns":456418,"host":[{"name":"sched_join","t0":2353470,"t1":2353534},{"name":"sample","t0":2353534,"t1":2356606},{"name":"sched_feed","t0":2356606,"t1":2357038},{"name":"step_enter","t0":2357038,"t1":2357118},{"name":"embed","t0":2357118,"t1":2357150},{"name":"graph_record","t0":2357150,"t1":2459710},{"name":"graph_submit_wait","t0":2459710,"t1":2813568},{"name":"graph_exit","t0":2813568,"t1":2813600},{"name":"logits_read","t0":2813600,"t1":2813616},{"name":"step_return","t0":2813616,"t1":2814656},{"name":"sched_post","t0":2814656,"t1":2818240}],"dev":[{"name":"norm","t0":7002357150,"t1":7002357250},{"name":"mix","t0":7002357250,"t1":7002357350},{"name":"ab","t0":7002357350,"t1":7002357450},{"name":"gdn","t0":7002357450,"t1":7002357550},{"name":"o_proj","t0":7002357550,"t1":7002357650},{"name":"res","t0":7002357650,"t1":7002357750},{"name":"router","t0":7002357750,"t1":7002357850},{"name":"gate_up","t0":7002357850,"t1":7002357950},{"name":"swiglu","t0":7002357950,"t1":7002358050},{"name":"down","t0":7002358050,"t1":7002358150},{"name":"gather","t0":7002358150,"t1":7002358250},{"name":"res","t0":7002358250,"t1":7002358350},{"name":"norm","t0":7002358350,"t1":7002358450},{"name":"lm_head","t0":7002358450,"t1":7002358550},{"name":"lm_head","t0":7002358550,"t1":7002358650},{"name":"lm_head","t0":7002358650,"t1":7002358750},{"name":"argmax","t0":7002358750,"t1":7002358850},{"name":"argmax","t0":7002358850,"t1":7002358950},{"name":"lm_head","t0":7002358950,"t1":7002359050},{"name":"argmax","t0":7002359050,"t1":7002359150},{"name":"argmax","t0":7002359150,"t1":7002359250}]}
+{"schema":"aien.q36-decode-timeline/1","seq":1,"beat":7,"row":0,"step":1,"launches":21,"chip_ns":2100,"record_ns":98081,"total_ns":452291,"host":[{"name":"sched_join","t0":2818240,"t1":2853936},{"name":"sample","t0":2853936,"t1":2856208},{"name":"sched_feed","t0":2856208,"t1":2856432},{"name":"step_enter","t0":2856432,"t1":2856512},{"name":"embed","t0":2856512,"t1":2856560},{"name":"graph_record","t0":2856560,"t1":2954641},{"name":"graph_submit_wait","t0":2954641,"t1":3308851},{"name":"graph_exit","t0":3308851,"t1":3308899},{"name":"logits_read","t0":3308899,"t1":3308931},{"name":"step_return","t0":3308931,"t1":3311731},{"name":"sched_post","t0":3311731,"t1":3315091}],"dev":[{"name":"norm","t0":7002856560,"t1":7002856660},{"name":"mix","t0":7002856660,"t1":7002856760},{"name":"ab","t0":7002856760,"t1":7002856860},{"name":"gdn","t0":7002856860,"t1":7002856960},{"name":"o_proj","t0":7002856960,"t1":7002857060},{"name":"res","t0":7002857060,"t1":7002857160},{"name":"router","t0":7002857160,"t1":7002857260},{"name":"gate_up","t0":7002857260,"t1":7002857360},{"name":"swiglu","t0":7002857360,"t1":7002857460},{"name":"down","t0":7002857460,"t1":7002857560},{"name":"gather","t0":7002857560,"t1":7002857660},{"name":"res","t0":7002857660,"t1":7002857760},{"name":"norm","t0":7002857760,"t1":7002857860},{"name":"lm_head","t0":7002857860,"t1":7002857960},{"name":"lm_head","t0":7002857960,"t1":7002858060},{"name":"lm_head","t0":7002858060,"t1":7002858160},{"name":"argmax","t0":7002858160,"t1":7002858260},{"name":"argmax","t0":7002858260,"t1":7002858360},{"name":"lm_head","t0":7002858360,"t1":7002858460},{"name":"argmax","t0":7002858460,"t1":7002858560},{"name":"argmax","t0":7002858560,"t1":7002858660}]}
+{"schema":"aien.q36-decode-timeline/1","seq":2,"beat":8,"row":0,"step":2,"launches":21,"chip_ns":2100,"record_ns":104881,"total_ns":458963,"host":[{"name":"sched_join","t0":3315091,"t1":3333827},{"name":"sample","t0":3333827,"t1":3335971},{"name":"sched_feed","t0":3335971,"t1":3336371},{"name":"step_enter","t0":3336371,"t1":3336515},{"name":"embed","t0":3336515,"t1":3336563},{"name":"graph_record","t0":3336563,"t1":3441444},{"name":"graph_submit_wait","t0":3441444,"t1":3795526},{"name":"graph_exit","t0":3795526,"t1":3795622},{"name":"logits_read","t0":3795622,"t1":3795654},{"name":"step_return","t0":3795654,"t1":3797030},{"name":"sched_post","t0":3797030,"t1":3798646}],"dev":[{"name":"norm","t0":7003336563,"t1":7003336663},{"name":"mix","t0":7003336663,"t1":7003336763},{"name":"ab","t0":7003336763,"t1":7003336863},{"name":"gdn","t0":7003336863,"t1":7003336963},{"name":"o_proj","t0":7003336963,"t1":7003337063},{"name":"res","t0":7003337063,"t1":7003337163},{"name":"router","t0":7003337163,"t1":7003337263},{"name":"gate_up","t0":7003337263,"t1":7003337363},{"name":"swiglu","t0":7003337363,"t1":7003337463},{"name":"down","t0":7003337463,"t1":7003337563},{"name":"gather","t0":7003337563,"t1":7003337663},{"name":"res","t0":7003337663,"t1":7003337763},{"name":"norm","t0":7003337763,"t1":7003337863},{"name":"lm_head","t0":7003337863,"t1":7003337963},{"name":"lm_head","t0":7003337963,"t1":7003338063},{"name":"lm_head","t0":7003338063,"t1":7003338163},{"name":"argmax","t0":7003338163,"t1":7003338263},{"name":"argmax","t0":7003338263,"t1":7003338363},{"name":"lm_head","t0":7003338363,"t1":7003338463},{"name":"argmax","t0":7003338463,"t1":7003338563},{"name":"argmax","t0":7003338563,"t1":7003338663}]}
+{"schema":"aien.q36-decode-timeline/1","seq":3,"beat":9,"row":0,"step":3,"launches":21,"chip_ns":2100,"record_ns":104385,"total_ns":461603,"host":[{"name":"sched_join","t0":3798646,"t1":3818054},{"name":"sample","t0":3818054,"t1":3820406},{"name":"sched_feed","t0":3820406,"t1":3820630},{"name":"step_enter","t0":3820630,"t1":3820694},{"name":"embed","t0":3820694,"t1":3820726},{"name":"graph_record","t0":3820726,"t1":3925111},{"name":"graph_submit_wait","t0":3925111,"t1":4282329},{"name":"graph_exit","t0":4282329,"t1":4282377},{"name":"logits_read","t0":4282377,"t1":4282425},{"name":"step_return","t0":4282425,"t1":4283721},{"name":"sched_post","t0":4283721,"t1":4285593}],"dev":[{"name":"norm","t0":7003820726,"t1":7003820826},{"name":"mix","t0":7003820826,"t1":7003820926},{"name":"ab","t0":7003820926,"t1":7003821026},{"name":"gdn","t0":7003821026,"t1":7003821126},{"name":"o_proj","t0":7003821126,"t1":7003821226},{"name":"res","t0":7003821226,"t1":7003821326},{"name":"router","t0":7003821326,"t1":7003821426},{"name":"gate_up","t0":7003821426,"t1":7003821526},{"name":"swiglu","t0":7003821526,"t1":7003821626},{"name":"down","t0":7003821626,"t1":7003821726},{"name":"gather","t0":7003821726,"t1":7003821826},{"name":"res","t0":7003821826,"t1":7003821926},{"name":"norm","t0":7003821926,"t1":7003822026},{"name":"lm_head","t0":7003822026,"t1":7003822126},{"name":"lm_head","t0":7003822126,"t1":7003822226},{"name":"lm_head","t0":7003822226,"t1":7003822326},{"name":"argmax","t0":7003822326,"t1":7003822426},{"name":"argmax","t0":7003822426,"t1":7003822526},{"name":"lm_head","t0":7003822526,"t1":7003822626},{"name":"argmax","t0":7003822626,"t1":7003822726},{"name":"argmax","t0":7003822726,"t1":7003822826}]}
+{"schema":"aien.q36-decode-timeline/1","seq":4,"beat":10,"row":0,"step":4,"launches":21,"chip_ns":2100,"record_ns":102912,"total_ns":456770,"host":[{"name":"sched_join","t0":4285593,"t1":4296441},{"name":"sample","t0":4296441,"t1":4298265},{"name":"sched_feed","t0":4298265,"t1":4298441},{"name":"step_enter","t0":4298441,"t1":4298521},{"name":"embed","t0":4298521,"t1":4298553},{"name":"graph_record","t0":4298553,"t1":4401465},{"name":"graph_submit_wait","t0":4401465,"t1":4755323},{"name":"graph_exit","t0":4755323,"t1":4755371},{"name":"logits_read","t0":4755371,"t1":4755403},{"name":"step_return","t0":4755403,"t1":4756571},{"name":"sched_post","t0":4756571,"t1":4758459}],"dev":[{"name":"norm","t0":7004298553,"t1":7004298653},{"name":"mix","t0":7004298653,"t1":7004298753},{"name":"ab","t0":7004298753,"t1":7004298853},{"name":"gdn","t0":7004298853,"t1":7004298953},{"name":"o_proj","t0":7004298953,"t1":7004299053},{"name":"res","t0":7004299053,"t1":7004299153},{"name":"router","t0":7004299153,"t1":7004299253},{"name":"gate_up","t0":7004299253,"t1":7004299353},{"name":"swiglu","t0":7004299353,"t1":7004299453},{"name":"down","t0":7004299453,"t1":7004299553},{"name":"gather","t0":7004299553,"t1":7004299653},{"name":"res","t0":7004299653,"t1":7004299753},{"name":"norm","t0":7004299753,"t1":7004299853},{"name":"lm_head","t0":7004299853,"t1":7004299953},{"name":"lm_head","t0":7004299953,"t1":7004300053},{"name":"lm_head","t0":7004300053,"t1":7004300153},{"name":"argmax","t0":7004300153,"t1":7004300253},{"name":"argmax","t0":7004300253,"t1":7004300353},{"name":"lm_head","t0":7004300353,"t1":7004300453},{"name":"argmax","t0":7004300453,"t1":7004300553},{"name":"argmax","t0":7004300553,"t1":7004300653}]}
+{"schema":"aien.q36-decode-timeline/1","seq":5,"beat":11,"row":0,"step":5,"launches":21,"chip_ns":2100,"record_ns":103616,"total_ns":433154,"host":[{"name":"sched_join","t0":4758459,"t1":4770700},{"name":"sample","t0":4770700,"t1":4772540},{"name":"sched_feed","t0":4772540,"t1":4772684},{"name":"step_enter","t0":4772684,"t1":4772764},{"name":"embed","t0":4772764,"t1":4772796},{"name":"graph_record","t0":4772796,"t1":4876412},{"name":"graph_submit_wait","t0":4876412,"t1":5205950},{"name":"graph_exit","t0":5205950,"t1":5205998},{"name":"logits_read","t0":5205998,"t1":5206030},{"name":"step_return","t0":5206030,"t1":5207086},{"name":"sched_post","t0":5207086,"t1":5208574}],"dev":[{"name":"norm","t0":7004772796,"t1":7004772896},{"name":"mix","t0":7004772896,"t1":7004772996},{"name":"ab","t0":7004772996,"t1":7004773096},{"name":"gdn","t0":7004773096,"t1":7004773196},{"name":"o_proj","t0":7004773196,"t1":7004773296},{"name":"res","t0":7004773296,"t1":7004773396},{"name":"router","t0":7004773396,"t1":7004773496},{"name":"gate_up","t0":7004773496,"t1":7004773596},{"name":"swiglu","t0":7004773596,"t1":7004773696},{"name":"down","t0":7004773696,"t1":7004773796},{"name":"gather","t0":7004773796,"t1":7004773896},{"name":"res","t0":7004773896,"t1":7004773996},{"name":"norm","t0":7004773996,"t1":7004774096},{"name":"lm_head","t0":7004774096,"t1":7004774196},{"name":"lm_head","t0":7004774196,"t1":7004774296},{"name":"lm_head","t0":7004774296,"t1":7004774396},{"name":"argmax","t0":7004774396,"t1":7004774496},{"name":"argmax","t0":7004774496,"t1":7004774596},{"name":"lm_head","t0":7004774596,"t1":7004774696},{"name":"argmax","t0":7004774696,"t1":7004774796},{"name":"argmax","t0":7004774796,"t1":7004774896}]}
+{"schema":"aien.q36-decode-timeline/1","seq":6,"beat":12,"row":0,"step":6,"launches":21,"chip_ns":2100,"record_ns":104273,"total_ns":459235,"host":[{"name":"sched_join","t0":5208574,"t1":5217806},{"name":"sample","t0":5217806,"t1":5219726},{"name":"sched_feed","t0":5219726,"t1":5219886},{"name":"step_enter","t0":5219886,"t1":5219966},{"name":"embed","t0":5219966,"t1":5220014},{"name":"graph_record","t0":5220014,"t1":5324287},{"name":"graph_submit_wait","t0":5324287,"t1":5679249},{"name":"graph_exit","t0":5679249,"t1":5679297},{"name":"logits_read","t0":5679297,"t1":5679345},{"name":"step_return","t0":5679345,"t1":5680785},{"name":"sched_post","t0":5680785,"t1":5682305}],"dev":[{"name":"norm","t0":7005220014,"t1":7005220114},{"name":"mix","t0":7005220114,"t1":7005220214},{"name":"ab","t0":7005220214,"t1":7005220314},{"name":"gdn","t0":7005220314,"t1":7005220414},{"name":"o_proj","t0":7005220414,"t1":7005220514},{"name":"res","t0":7005220514,"t1":7005220614},{"name":"router","t0":7005220614,"t1":7005220714},{"name":"gate_up","t0":7005220714,"t1":7005220814},{"name":"swiglu","t0":7005220814,"t1":7005220914},{"name":"down","t0":7005220914,"t1":7005221014},{"name":"gather","t0":7005221014,"t1":7005221114},{"name":"res","t0":7005221114,"t1":7005221214},{"name":"norm","t0":7005221214,"t1":7005221314},{"name":"lm_head","t0":7005221314,"t1":7005221414},{"name":"lm_head","t0":7005221414,"t1":7005221514},{"name":"lm_head","t0":7005221514,"t1":7005221614},{"name":"argmax","t0":7005221614,"t1":7005221714},{"name":"argmax","t0":7005221714,"t1":7005221814},{"name":"lm_head","t0":7005221814,"t1":7005221914},{"name":"argmax","t0":7005221914,"t1":7005222014},{"name":"argmax","t0":7005222014,"t1":7005222114}]}
+{"schema":"aien.q36-decode-timeline/1","seq":7,"beat":13,"row":0,"step":7,"launches":21,"chip_ns":2100,"record_ns":102641,"total_ns":456547,"host":[{"name":"sched_join","t0":5682305,"t1":5689697},{"name":"sample","t0":5689697,"t1":5693089},{"name":"sched_feed","t0":5693089,"t1":5693249},{"name":"step_enter","t0":5693249,"t1":5693329},{"name":"embed","t0":5693329,"t1":5693377},{"name":"graph_record","t0":5693377,"t1":5796018},{"name":"graph_submit_wait","t0":5796018,"t1":6149924},{"name":"graph_exit","t0":6149924,"t1":6149972},{"name":"logits_read","t0":6149972,"t1":6150004},{"name":"step_return","t0":6150004,"t1":6151092},{"name":"sched_post","t0":6151092,"t1":6152596}],"dev":[{"name":"norm","t0":7005693377,"t1":7005693477},{"name":"mix","t0":7005693477,"t1":7005693577},{"name":"ab","t0":7005693577,"t1":7005693677},{"name":"gdn","t0":7005693677,"t1":7005693777},{"name":"o_proj","t0":7005693777,"t1":7005693877},{"name":"res","t0":7005693877,"t1":7005693977},{"name":"router","t0":7005693977,"t1":7005694077},{"name":"gate_up","t0":7005694077,"t1":7005694177},{"name":"swiglu","t0":7005694177,"t1":7005694277},{"name":"down","t0":7005694277,"t1":7005694377},{"name":"gather","t0":7005694377,"t1":7005694477},{"name":"res","t0":7005694477,"t1":7005694577},{"name":"norm","t0":7005694577,"t1":7005694677},{"name":"lm_head","t0":7005694677,"t1":7005694777},{"name":"lm_head","t0":7005694777,"t1":7005694877},{"name":"lm_head","t0":7005694877,"t1":7005694977},{"name":"argmax","t0":7005694977,"t1":7005695077},{"name":"argmax","t0":7005695077,"t1":7005695177},{"name":"lm_head","t0":7005695177,"t1":7005695277},{"name":"argmax","t0":7005695277,"t1":7005695377},{"name":"argmax","t0":7005695377,"t1":7005695477}]}
+{"schema":"aien.q36-decode-timeline/1","seq":8,"beat":14,"row":0,"step":8,"launches":21,"chip_ns":2100,"record_ns":103184,"total_ns":457090,"host":[{"name":"sched_join","t0":6152596,"t1":6164916},{"name":"sample","t0":6164916,"t1":6166964},{"name":"sched_feed","t0":6166964,"t1":6167156},{"name":"step_enter","t0":6167156,"t1":6167236},{"name":"embed","t0":6167236,"t1":6167284},{"name":"graph_record","t0":6167284,"t1":6270468},{"name":"graph_submit_wait","t0":6270468,"t1":6624374},{"name":"graph_exit","t0":6624374,"t1":6624422},{"name":"logits_read","t0":6624422,"t1":6624470},{"name":"step_return","t0":6624470,"t1":6625654},{"name":"sched_post","t0":6625654,"t1":6627398}],"dev":[{"name":"norm","t0":7006167284,"t1":7006167384},{"name":"mix","t0":7006167384,"t1":7006167484},{"name":"ab","t0":7006167484,"t1":7006167584},{"name":"gdn","t0":7006167584,"t1":7006167684},{"name":"o_proj","t0":7006167684,"t1":7006167784},{"name":"res","t0":7006167784,"t1":7006167884},{"name":"router","t0":7006167884,"t1":7006167984},{"name":"gate_up","t0":7006167984,"t1":7006168084},{"name":"swiglu","t0":7006168084,"t1":7006168184},{"name":"down","t0":7006168184,"t1":7006168284},{"name":"gather","t0":7006168284,"t1":7006168384},{"name":"res","t0":7006168384,"t1":7006168484},{"name":"norm","t0":7006168484,"t1":7006168584},{"name":"lm_head","t0":7006168584,"t1":7006168684},{"name":"lm_head","t0":7006168684,"t1":7006168784},{"name":"lm_head","t0":7006168784,"t1":7006168884},{"name":"argmax","t0":7006168884,"t1":7006168984},{"name":"argmax","t0":7006168984,"t1":7006169084},{"name":"lm_head","t0":7006169084,"t1":7006169184},{"name":"argmax","t0":7006169184,"t1":7006169284},{"name":"argmax","t0":7006169284,"t1":7006169384}]}
+{"schema":"aien.q36-decode-timeline/1","seq":9,"beat":15,"row":0,"step":9,"launches":21,"chip_ns":2100,"record_ns":104433,"total_ns":458243,"host":[{"name":"sched_join","t0":6627398,"t1":6636518},{"name":"sample","t0":6636518,"t1":6638774},{"name":"sched_feed","t0":6638774,"t1":6638918},{"name":"step_enter","t0":6638918,"t1":6638998},{"name":"embed","t0":6638998,"t1":6639046},{"name":"graph_record","t0":6639046,"t1":6743479},{"name":"graph_submit_wait","t0":6743479,"t1":7097289},{"name":"graph_exit","t0":7097289,"t1":7097337},{"name":"logits_read","t0":7097337,"t1":7097369},{"name":"step_return","t0":7097369,"t1":7098393},{"name":"sched_post","t0":7098393,"t1":7099849}],"dev":[{"name":"norm","t0":7006639046,"t1":7006639146},{"name":"mix","t0":7006639146,"t1":7006639246},{"name":"ab","t0":7006639246,"t1":7006639346},{"name":"gdn","t0":7006639346,"t1":7006639446},{"name":"o_proj","t0":7006639446,"t1":7006639546},{"name":"res","t0":7006639546,"t1":7006639646},{"name":"router","t0":7006639646,"t1":7006639746},{"name":"gate_up","t0":7006639746,"t1":7006639846},{"name":"swiglu","t0":7006639846,"t1":7006639946},{"name":"down","t0":7006639946,"t1":7006640046},{"name":"gather","t0":7006640046,"t1":7006640146},{"name":"res","t0":7006640146,"t1":7006640246},{"name":"norm","t0":7006640246,"t1":7006640346},{"name":"lm_head","t0":7006640346,"t1":7006640446},{"name":"lm_head","t0":7006640446,"t1":7006640546},{"name":"lm_head","t0":7006640546,"t1":7006640646},{"name":"argmax","t0":7006640646,"t1":7006640746},{"name":"argmax","t0":7006640746,"t1":7006640846},{"name":"lm_head","t0":7006640846,"t1":7006640946},{"name":"argmax","t0":7006640946,"t1":7006641046},{"name":"argmax","t0":7006641046,"t1":7006641146}]}
+{"schema":"aien.q36-decode-timeline/1","seq":10,"beat":16,"row":0,"step":10,"launches":21,"chip_ns":2100,"record_ns":94321,"total_ns":448211,"host":[{"name":"sched_join","t0":7099849,"t1":7108857},{"name":"sample","t0":7108857,"t1":7110569},{"name":"sched_feed","t0":7110569,"t1":7110697},{"name":"step_enter","t0":7110697,"t1":7110777},{"name":"embed","t0":7110777,"t1":7110809},{"name":"graph_record","t0":7110809,"t1":7205130},{"name":"graph_submit_wait","t0":7205130,"t1":7559020},{"name":"graph_exit","t0":7559020,"t1":7559052},{"name":"logits_read","t0":7559052,"t1":7559100},{"name":"step_return","t0":7559100,"t1":7560188},{"name":"sched_post","t0":7560188,"t1":7561596}],"dev":[{"name":"norm","t0":7007110809,"t1":7007110909},{"name":"mix","t0":7007110909,"t1":7007111009},{"name":"ab","t0":7007111009,"t1":7007111109},{"name":"gdn","t0":7007111109,"t1":7007111209},{"name":"o_proj","t0":7007111209,"t1":7007111309},{"name":"res","t0":7007111309,"t1":7007111409},{"name":"router","t0":7007111409,"t1":7007111509},{"name":"gate_up","t0":7007111509,"t1":7007111609},{"name":"swiglu","t0":7007111609,"t1":7007111709},{"name":"down","t0":7007111709,"t1":7007111809},{"name":"gather","t0":7007111809,"t1":7007111909},{"name":"res","t0":7007111909,"t1":7007112009},{"name":"norm","t0":7007112009,"t1":7007112109},{"name":"lm_head","t0":7007112109,"t1":7007112209},{"name":"lm_head","t0":7007112209,"t1":7007112309},{"name":"lm_head","t0":7007112309,"t1":7007112409},{"name":"argmax","t0":7007112409,"t1":7007112509},{"name":"argmax","t0":7007112509,"t1":7007112609},{"name":"lm_head","t0":7007112609,"t1":7007112709},{"name":"argmax","t0":7007112709,"t1":7007112809},{"name":"argmax","t0":7007112809,"t1":7007112909}]}
+{"schema":"aien.q36-decode-timeline/1","seq":11,"beat":17,"row":0,"step":11,"launches":21,"chip_ns":2100,"record_ns":103265,"total_ns":457427,"host":[{"name":"sched_join","t0":7561596,"t1":7570684},{"name":"sample","t0":7570684,"t1":7572668},{"name":"sched_feed","t0":7572668,"t1":7572828},{"name":"step_enter","t0":7572828,"t1":7572908},{"name":"embed","t0":7572908,"t1":7572956},{"name":"graph_record","t0":7572956,"t1":7676221},{"name":"graph_submit_wait","t0":7676221,"t1":8030383},{"name":"graph_exit","t0":8030383,"t1":8030431},{"name":"logits_read","t0":8030431,"t1":8030479},{"name":"step_return","t0":8030479,"t1":8031631},{"name":"sched_post","t0":8031631,"t1":8033215}],"dev":[{"name":"norm","t0":7007572956,"t1":7007573056},{"name":"mix","t0":7007573056,"t1":7007573156},{"name":"ab","t0":7007573156,"t1":7007573256},{"name":"gdn","t0":7007573256,"t1":7007573356},{"name":"o_proj","t0":7007573356,"t1":7007573456},{"name":"res","t0":7007573456,"t1":7007573556},{"name":"router","t0":7007573556,"t1":7007573656},{"name":"gate_up","t0":7007573656,"t1":7007573756},{"name":"swiglu","t0":7007573756,"t1":7007573856},{"name":"down","t0":7007573856,"t1":7007573956},{"name":"gather","t0":7007573956,"t1":7007574056},{"name":"res","t0":7007574056,"t1":7007574156},{"name":"norm","t0":7007574156,"t1":7007574256},{"name":"lm_head","t0":7007574256,"t1":7007574356},{"name":"lm_head","t0":7007574356,"t1":7007574456},{"name":"lm_head","t0":7007574456,"t1":7007574556},{"name":"argmax","t0":7007574556,"t1":7007574656},{"name":"argmax","t0":7007574656,"t1":7007574756},{"name":"lm_head","t0":7007574756,"t1":7007574856},{"name":"argmax","t0":7007574856,"t1":7007574956},{"name":"argmax","t0":7007574956,"t1":7007575056}]}
+{"schema":"aien.q36-decode-timeline/1","seq":12,"beat":18,"row":0,"step":12,"launches":21,"chip_ns":2100,"record_ns":104160,"total_ns":460450,"host":[{"name":"sched_join","t0":8033215,"t1":8042639},{"name":"sample","t0":8042639,"t1":8044559},{"name":"sched_feed","t0":8044559,"t1":8044671},{"name":"step_enter","t0":8044671,"t1":8044767},{"name":"embed","t0":8044767,"t1":8044799},{"name":"graph_record","t0":8044799,"t1":8148959},{"name":"graph_submit_wait","t0":8148959,"t1":8505249},{"name":"graph_exit","t0":8505249,"t1":8505297},{"name":"logits_read","t0":8505297,"t1":8505345},{"name":"step_return","t0":8505345,"t1":8506465},{"name":"sched_post","t0":8506465,"t1":8508049}],"dev":[{"name":"norm","t0":7008044799,"t1":7008044899},{"name":"mix","t0":7008044899,"t1":7008044999},{"name":"ab","t0":7008044999,"t1":7008045099},{"name":"gdn","t0":7008045099,"t1":7008045199},{"name":"o_proj","t0":7008045199,"t1":7008045299},{"name":"res","t0":7008045299,"t1":7008045399},{"name":"router","t0":7008045399,"t1":7008045499},{"name":"gate_up","t0":7008045499,"t1":7008045599},{"name":"swiglu","t0":7008045599,"t1":7008045699},{"name":"down","t0":7008045699,"t1":7008045799},{"name":"gather","t0":7008045799,"t1":7008045899},{"name":"res","t0":7008045899,"t1":7008045999},{"name":"norm","t0":7008045999,"t1":7008046099},{"name":"lm_head","t0":7008046099,"t1":7008046199},{"name":"lm_head","t0":7008046199,"t1":7008046299},{"name":"lm_head","t0":7008046299,"t1":7008046399},{"name":"argmax","t0":7008046399,"t1":7008046499},{"name":"argmax","t0":7008046499,"t1":7008046599},{"name":"lm_head","t0":7008046599,"t1":7008046699},{"name":"argmax","t0":7008046699,"t1":7008046799},{"name":"argmax","t0":7008046799,"t1":7008046899}]}
+{"schema":"aien.q36-decode-timeline/1","seq":13,"beat":19,"row":0,"step":13,"launches":21,"chip_ns":2100,"record_ns":103217,"total_ns":457011,"host":[{"name":"sched_join","t0":8508049,"t1":8517249},{"name":"sample","t0":8517249,"t1":8519585},{"name":"sched_feed","t0":8519585,"t1":8519777},{"name":"step_enter","t0":8519777,"t1":8519857},{"name":"embed","t0":8519857,"t1":8519905},{"name":"graph_record","t0":8519905,"t1":8623122},{"name":"graph_submit_wait","t0":8623122,"t1":8976916},{"name":"graph_exit","t0":8976916,"t1":8976964},{"name":"logits_read","t0":8976964,"t1":8977012},{"name":"step_return","t0":8977012,"t1":8978196},{"name":"sched_post","t0":8978196,"t1":8979668}],"dev":[{"name":"norm","t0":7008519905,"t1":7008520005},{"name":"mix","t0":7008520005,"t1":7008520105},{"name":"ab","t0":7008520105,"t1":7008520205},{"name":"gdn","t0":7008520205,"t1":7008520305},{"name":"o_proj","t0":7008520305,"t1":7008520405},{"name":"res","t0":7008520405,"t1":7008520505},{"name":"router","t0":7008520505,"t1":7008520605},{"name":"gate_up","t0":7008520605,"t1":7008520705},{"name":"swiglu","t0":7008520705,"t1":7008520805},{"name":"down","t0":7008520805,"t1":7008520905},{"name":"gather","t0":7008520905,"t1":7008521005},{"name":"res","t0":7008521005,"t1":7008521105},{"name":"norm","t0":7008521105,"t1":7008521205},{"name":"lm_head","t0":7008521205,"t1":7008521305},{"name":"lm_head","t0":7008521305,"t1":7008521405},{"name":"lm_head","t0":7008521405,"t1":7008521505},{"name":"argmax","t0":7008521505,"t1":7008521605},{"name":"argmax","t0":7008521605,"t1":7008521705},{"name":"lm_head","t0":7008521705,"t1":7008521805},{"name":"argmax","t0":7008521805,"t1":7008521905},{"name":"argmax","t0":7008521905,"t1":7008522005}]}
+{"schema":"aien.q36-decode-timeline/1","seq":14,"beat":20,"row":0,"step":14,"launches":21,"chip_ns":2100,"record_ns":102609,"total_ns":456819,"host":[{"name":"sched_join","t0":8979668,"t1":8986740},{"name":"sample","t0":8986740,"t1":8988516},{"name":"sched_feed","t0":8988516,"t1":8988676},{"name":"step_enter","t0":8988676,"t1":8988756},{"name":"embed","t0":8988756,"t1":8988804},{"name":"graph_record","t0":8988804,"t1":9091413},{"name":"graph_submit_wait","t0":9091413,"t1":9445623},{"name":"graph_exit","t0":9445623,"t1":9445655},{"name":"logits_read","t0":9445655,"t1":9445703},{"name":"step_return","t0":9445703,"t1":9447127},{"name":"sched_post","t0":9447127,"t1":9448759}],"dev":[{"name":"norm","t0":7008988804,"t1":7008988904},{"name":"mix","t0":7008988904,"t1":7008989004},{"name":"ab","t0":7008989004,"t1":7008989104},{"name":"gdn","t0":7008989104,"t1":7008989204},{"name":"o_proj","t0":7008989204,"t1":7008989304},{"name":"res","t0":7008989304,"t1":7008989404},{"name":"router","t0":7008989404,"t1":7008989504},{"name":"gate_up","t0":7008989504,"t1":7008989604},{"name":"swiglu","t0":7008989604,"t1":7008989704},{"name":"down","t0":7008989704,"t1":7008989804},{"name":"gather","t0":7008989804,"t1":7008989904},{"name":"res","t0":7008989904,"t1":7008990004},{"name":"norm","t0":7008990004,"t1":7008990104},{"name":"lm_head","t0":7008990104,"t1":7008990204},{"name":"lm_head","t0":7008990204,"t1":7008990304},{"name":"lm_head","t0":7008990304,"t1":7008990404},{"name":"argmax","t0":7008990404,"t1":7008990504},{"name":"argmax","t0":7008990504,"t1":7008990604},{"name":"lm_head","t0":7008990604,"t1":7008990704},{"name":"argmax","t0":7008990704,"t1":7008990804},{"name":"argmax","t0":7008990804,"t1":7008990904}]}
+{"schema":"aien.q36-decode-timeline/1","seq":15,"beat":21,"row":0,"step":15,"launches":21,"chip_ns":2100,"record_ns":104129,"total_ns":436754,"host":[{"name":"sched_join","t0":9448759,"t1":9463639},{"name":"sample","t0":9463639,"t1":9465607},{"name":"sched_feed","t0":9465607,"t1":9465783},{"name":"step_enter","t0":9465783,"t1":9465863},{"name":"embed","t0":9465863,"t1":9465911},{"name":"graph_record","t0":9465911,"t1":9570040},{"name":"graph_submit_wait","t0":9570040,"t1":9902665},{"name":"graph_exit","t0":9902665,"t1":9902697},{"name":"logits_read","t0":9902697,"t1":9902745},{"name":"step_return","t0":9902745,"t1":9905289},{"name":"sched_post","t0":9905289,"t1":9908281}],"dev":[{"name":"norm","t0":7009465911,"t1":7009466011},{"name":"mix","t0":7009466011,"t1":7009466111},{"name":"ab","t0":7009466111,"t1":7009466211},{"name":"gdn","t0":7009466211,"t1":7009466311},{"name":"o_proj","t0":7009466311,"t1":7009466411},{"name":"res","t0":7009466411,"t1":7009466511},{"name":"router","t0":7009466511,"t1":7009466611},{"name":"gate_up","t0":7009466611,"t1":7009466711},{"name":"swiglu","t0":7009466711,"t1":7009466811},{"name":"down","t0":7009466811,"t1":7009466911},{"name":"gather","t0":7009466911,"t1":7009467011},{"name":"res","t0":7009467011,"t1":7009467111},{"name":"norm","t0":7009467111,"t1":7009467211},{"name":"lm_head","t0":7009467211,"t1":7009467311},{"name":"lm_head","t0":7009467311,"t1":7009467411},{"name":"lm_head","t0":7009467411,"t1":7009467511},{"name":"argmax","t0":7009467511,"t1":7009467611},{"name":"argmax","t0":7009467611,"t1":7009467711},{"name":"lm_head","t0":7009467711,"t1":7009467811},{"name":"argmax","t0":7009467811,"t1":7009467911},{"name":"argmax","t0":7009467911,"t1":7009468011}]}
+{"schema":"aien.q36-decode-timeline/1","seq":16,"beat":22,"row":0,"step":16,"launches":21,"chip_ns":2100,"record_ns":104608,"total_ns":458658,"host":[{"name":"sched_join","t0":9908281,"t1":9924746},{"name":"sample","t0":9924746,"t1":9926778},{"name":"sched_feed","t0":9926778,"t1":9927002},{"name":"step_enter","t0":9927002,"t1":9927114},{"name":"embed","t0":9927114,"t1":9927162},{"name":"graph_record","t0":9927162,"t1":10031770},{"name":"graph_submit_wait","t0":10031770,"t1":10385820},{"name":"graph_exit","t0":10385820,"t1":10385852},{"name":"logits_read","t0":10385852,"t1":10385900},{"name":"step_return","t0":10385900,"t1":10387164},{"name":"sched_post","t0":10387164,"t1":10388988}],"dev":[{"name":"norm","t0":7009927162,"t1":7009927262},{"name":"mix","t0":7009927262,"t1":7009927362},{"name":"ab","t0":7009927362,"t1":7009927462},{"name":"gdn","t0":7009927462,"t1":7009927562},{"name":"o_proj","t0":7009927562,"t1":7009927662},{"name":"res","t0":7009927662,"t1":7009927762},{"name":"router","t0":7009927762,"t1":7009927862},{"name":"gate_up","t0":7009927862,"t1":7009927962},{"name":"swiglu","t0":7009927962,"t1":7009928062},{"name":"down","t0":7009928062,"t1":7009928162},{"name":"gather","t0":7009928162,"t1":7009928262},{"name":"res","t0":7009928262,"t1":7009928362},{"name":"norm","t0":7009928362,"t1":7009928462},{"name":"lm_head","t0":7009928462,"t1":7009928562},{"name":"lm_head","t0":7009928562,"t1":7009928662},{"name":"lm_head","t0":7009928662,"t1":7009928762},{"name":"argmax","t0":7009928762,"t1":7009928862},{"name":"argmax","t0":7009928862,"t1":7009928962},{"name":"lm_head","t0":7009928962,"t1":7009929062},{"name":"argmax","t0":7009929062,"t1":7009929162},{"name":"argmax","t0":7009929162,"t1":7009929262}]}
+{"schema":"aien.q36-decode-timeline/1","seq":17,"beat":23,"row":0,"step":17,"launches":21,"chip_ns":2100,"record_ns":103937,"total_ns":458067,"host":[{"name":"sched_join","t0":10388988,"t1":10405996},{"name":"sample","t0":10405996,"t1":10407580},{"name":"sched_feed","t0":10407580,"t1":10407740},{"name":"step_enter","t0":10407740,"t1":10407820},{"name":"embed","t0":10407820,"t1":10407868},{"name":"graph_record","t0":10407868,"t1":10511805},{"name":"graph_submit_wait","t0":10511805,"t1":10865935},{"name":"graph_exit","t0":10865935,"t1":10865983},{"name":"logits_read","t0":10865983,"t1":10866015},{"name":"step_return","t0":10866015,"t1":10867199},{"name":"sched_post","t0":10867199,"t1":10868895}],"dev":[{"name":"norm","t0":7010407868,"t1":7010407968},{"name":"mix","t0":7010407968,"t1":7010408068},{"name":"ab","t0":7010408068,"t1":7010408168},{"name":"gdn","t0":7010408168,"t1":7010408268},{"name":"o_proj","t0":7010408268,"t1":7010408368},{"name":"res","t0":7010408368,"t1":7010408468},{"name":"router","t0":7010408468,"t1":7010408568},{"name":"gate_up","t0":7010408568,"t1":7010408668},{"name":"swiglu","t0":7010408668,"t1":7010408768},{"name":"down","t0":7010408768,"t1":7010408868},{"name":"gather","t0":7010408868,"t1":7010408968},{"name":"res","t0":7010408968,"t1":7010409068},{"name":"norm","t0":7010409068,"t1":7010409168},{"name":"lm_head","t0":7010409168,"t1":7010409268},{"name":"lm_head","t0":7010409268,"t1":7010409368},{"name":"lm_head","t0":7010409368,"t1":7010409468},{"name":"argmax","t0":7010409468,"t1":7010409568},{"name":"argmax","t0":7010409568,"t1":7010409668},{"name":"lm_head","t0":7010409668,"t1":7010409768},{"name":"argmax","t0":7010409768,"t1":7010409868},{"name":"argmax","t0":7010409868,"t1":7010409968}]}
+{"schema":"aien.q36-decode-timeline/1","seq":18,"beat":24,"row":0,"step":18,"launches":21,"chip_ns":2100,"record_ns":102689,"total_ns":458883,"host":[{"name":"sched_join","t0":10868895,"t1":10877199},{"name":"sample","t0":10877199,"t1":10878799},{"name":"sched_feed","t0":10878799,"t1":10878943},{"name":"step_enter","t0":10878943,"t1":10879023},{"name":"embed","t0":10879023,"t1":10879071},{"name":"graph_record","t0":10879071,"t1":10981760},{"name":"graph_submit_wait","t0":10981760,"t1":11337954},{"name":"graph_exit","t0":11337954,"t1":11337986},{"name":"logits_read","t0":11337986,"t1":11338034},{"name":"step_return","t0":11338034,"t1":11340978},{"name":"sched_post","t0":11340978,"t1":11343746}],"dev":[{"name":"norm","t0":7010879071,"t1":7010879171},{"name":"mix","t0":7010879171,"t1":7010879271},{"name":"ab","t0":7010879271,"t1":7010879371},{"name":"gdn","t0":7010879371,"t1":7010879471},{"name":"o_proj","t0":7010879471,"t1":7010879571},{"name":"res","t0":7010879571,"t1":7010879671},{"name":"router","t0":7010879671,"t1":7010879771},{"name":"gate_up","t0":7010879771,"t1":7010879871},{"name":"swiglu","t0":7010879871,"t1":7010879971},{"name":"down","t0":7010879971,"t1":7010880071},{"name":"gather","t0":7010880071,"t1":7010880171},{"name":"res","t0":7010880171,"t1":7010880271},{"name":"norm","t0":7010880271,"t1":7010880371},{"name":"lm_head","t0":7010880371,"t1":7010880471},{"name":"lm_head","t0":7010880471,"t1":7010880571},{"name":"lm_head","t0":7010880571,"t1":7010880671},{"name":"argmax","t0":7010880671,"t1":7010880771},{"name":"argmax","t0":7010880771,"t1":7010880871},{"name":"lm_head","t0":7010880871,"t1":7010880971},{"name":"argmax","t0":7010880971,"t1":7010881071},{"name":"argmax","t0":7010881071,"t1":7010881171}]}
diff --git a/evidence/q36-decode-timeline-20261027/window.sh b/evidence/q36-decode-timeline-20261027/window.sh
new file mode 100755
index 00000000..59a7f9af
--- /dev/null
+++ b/evidence/q36-decode-timeline-20261027/window.sh
@@ -0,0 +1,216 @@
+#!/usr/bin/env bash
+# q36 decode timeline window (#785). DO NOT RUN outside an exclusive window opened by Drake.
+#
+# Assumes Main holds /tmp/aien-gb10.lock (an ancestor of this shell holds it, e.g.
+#   flock -w 900 /tmp/aien-gb10.lock bash /home/drakestapleton/handoffs/DecodeTimeline/window.sh
+# ) and has stopped the live 35B on 18091. Any failed precondition prints NOT_RUN and exits 3
+# without touching the chip.
+#
+# Phase 1: head binary, AIEN_Q36_DECODE_TIMELINE on, 200 greedy tokens on a fixed prompt, then
+#          the checker (green), its two red controls, and the Wolfram-ready summary.
+# Phase 2: zero-cost chip A/B, A = bf51e6d6 (main + lock restore only) vs B = head with the switch
+#          unset (PROTOCOL.md Amendment 1 in the evidence
+#          folder): 4 server blocks in a seeded order, 1 warm-up + 10 requests each.
+# Everything lands in $EV. Wolfram computes the medians afterwards from $EV/*.wl.
+set -u
+umask 022
+
+W=/home/drakestapleton/work/DecodeTimeline
+BIN_HEAD=$W/bin-head/aien-serve-http
+BIN_BASE=$W/bin-a/aien-serve-http
+SHA_HEAD=6eca898f1628ac93b16ac5f0ab7772d310b8b51bdbd5e4b236e7306369ad9c10 # sc f551b1e2 + omega a647b6a9
+SHA_BASE=e7c2e61a814421a8b22046a408affbe4fc19c3f5e552726e56359152a50bcab7 # sc bf51e6d6 + omega a647b6a9
+MODEL=/home/drakestapleton/models/qwen3.6-35b-a3b-fp8-95a723d0
+PORT=18190
+LOCK=/tmp/aien-gb10.lock
+BOARD=/home/drakestapleton/handoffs/BOARD.md
+STAMP=$(date -u +%Y%m%dT%H%M%SZ)
+EV=/home/drakestapleton/handoffs/DecodeTimeline/window-$STAMP
+BUDGET_S=840 # stop starting new work after 14 min; the hold limit is 15
+T0=$(date +%s)
+PROMPT='Count from 1 to 400 in English words, one number per line, nothing else.'
+SERVER_PID=
+
+ts() { date -u +%FT%TZ; }
+board() { echo "$(ts) DecodeTimeline: $*" >> "$BOARD"; }
+say() { echo "$(ts) $*" | tee -a "$EV/window.log"; }
+not_run() {
+  echo "NOT_RUN: $*"
+  [ -d "$EV" ] && echo "$(ts) NOT_RUN: $*" >> "$EV/window.log"
+  exit 3
+}
+elapsed() { echo $(( $(date +%s) - T0 )); }
+
+mkdir -p "$EV" || not_run "cannot create $EV"
+
+# ---- preconditions (no chip contact) ----
+# 1. The gb10 lock is held, and by an ancestor of this shell.
+[ -e "$LOCK" ] || not_run "$LOCK missing"
+ino=$(stat -c %i "$LOCK")
+holders=$(awk -v ino="$ino" '{ split($6, a, ":"); if (a[3] == ino) print $5 }' /proc/locks | sort -u)
+[ -n "$holders" ] || not_run "$LOCK is not held by anyone; take it first (flock -w 900 $LOCK bash $0)"
+anc=" "
+p=$$
+while [ "$p" -gt 1 ]; do
+  anc="$anc$p "
+  p=$(awk '{print $4}' "/proc/$p/stat" 2>/dev/null) || break
+done
+held_by_us=no
+for h in $holders; do case "$anc" in *" $h "*) held_by_us=yes ;; esac; done
+[ "$held_by_us" = yes ] || not_run "$LOCK held by pid(s) $holders, none an ancestor of $$ ($anc)"
+# 2. The live 35B is stopped: no health answer, no listener on 18091.
+if curl -s -m 5 127.0.0.1:18091/health > "$EV/health-18091-before.json"; then
+  not_run "18091 answers /health; the live 35B must be stopped by Main first"
+fi
+[ -z "$(ss -ltnH 'sport = :18091')" ] || not_run "a listener is still on 18091"
+# 3. No compute process on the chip.
+apps=$(nvidia-smi --query-compute-apps=pid,process_name,used_memory --format=csv,noheader 2>&1) \
+  || not_run "nvidia-smi failed: $apps"
+echo "$apps" > "$EV/compute-apps-before.txt"
+[ -z "$apps" ] || not_run "compute apps present: $apps"
+# 4. Exact binaries.
+echo "$SHA_HEAD  $BIN_HEAD" | sha256sum -c --status 2>/dev/null || not_run "$BIN_HEAD sha256 mismatch"
+echo "$SHA_BASE  $BIN_BASE" | sha256sum -c --status 2>/dev/null || not_run "$BIN_BASE sha256 mismatch"
+# 5. Model, ports, tools.
+[ -f "$MODEL/config.json" ] || not_run "model dir $MODEL missing"
+[ -z "$(ss -ltnH "sport = :$PORT")" ] || not_run "port $PORT busy"
+for t in curl jq ss python3 flock; do command -v $t > /dev/null || not_run "$t missing"; done
+
+{
+  echo "stamp $STAMP"; echo "lock holders $holders"; echo "ancestors$anc"
+  echo "head $SHA_HEAD"; echo "base $SHA_BASE"; uname -r
+  nvidia-smi --query-gpu=driver_version,name --format=csv,noheader
+  cat /proc/loadavg
+} > "$EV/preconditions.txt"
+
+# ---- server control ----
+stop_server() {
+  [ -n "$SERVER_PID" ] || return 0
+  kill -TERM "$SERVER_PID" 2> /dev/null
+  for _ in $(seq 60); do kill -0 "$SERVER_PID" 2> /dev/null || break; sleep 1; done
+  kill -KILL "$SERVER_PID" 2> /dev/null
+  wait "$SERVER_PID" 2> /dev/null
+  SERVER_PID=
+}
+finish() {
+  stop_server
+  nvidia-smi --query-compute-apps=pid,process_name,used_memory --format=csv,noheader \
+    > "$EV/compute-apps-after.txt" 2>&1
+  curl -s -m 5 127.0.0.1:18091/health > "$EV/health-18091-after.json"
+  board "GPU-END window.sh $EV (elapsed $(elapsed) s; compute apps after: $(tr '\n' ';' < "$EV/compute-apps-after.txt"))"
+}
+
+# start_server BIN LOG [ENV=VAL ...]: loopback only, fail closed.
+start_server() {
+  local bin=$1 log=$2
+  shift 2
+  env AIEN_Q36_STROKE=1 AIEN_SERVE_GPU_LOCK=/tmp/aien-serve-$PORT.lock "$@" \
+    "$bin" --engine omega --model-dir "$MODEL" --port $PORT --bind 127.0.0.1 \
+    --max-context 49152 --max-tokens-cap 16384 --thinking off --batch-slots 8 \
+    > "$log" 2>&1 &
+  SERVER_PID=$!
+  for _ in $(seq 300); do
+    kill -0 "$SERVER_PID" 2> /dev/null || { say "server exited during load: $log"; SERVER_PID=; return 1; }
+    curl -s -m 2 127.0.0.1:$PORT/health > /dev/null && break
+    sleep 1
+  done
+  curl -s -m 2 127.0.0.1:$PORT/health > /dev/null || { say "server not healthy in 300 s"; stop_server; return 1; }
+  local l
+  l=$(ss -ltnH "sport = :$PORT" | awk '{print $4}')
+  if [ -z "$l" ] || [ -n "$(echo "$l" | grep -v '^127\.0\.0\.1:')" ]; then
+    say "listener check FAILED on $PORT: $l"
+    stop_server
+    return 1
+  fi
+  say "server pid $SERVER_PID up ($bin), listeners: $(echo $l)"
+}
+
+# request OUT MAX: one greedy chat request; prints "tokens wall_s 18091_in_flight".
+request() {
+  local out=$1 max=$2 inflight
+  inflight=$(curl -s -m 2 127.0.0.1:18091/health | jq -r '.in_flight // "down"' 2> /dev/null)
+  [ -n "$inflight" ] || inflight=down
+  local body
+  body=$(jq -nc --arg p "$PROMPT" --argjson m "$max" \
+    '{model:"qwen3.6-35b-a3b-fp8",messages:[{role:"user",content:$p}],temperature:0,max_tokens:$m,stream:false}')
+  local wall
+  wall=$(curl -s -m 300 -o "$out" -w '%{time_total}' -H 'content-type: application/json' \
+    -d "$body" 127.0.0.1:$PORT/v1/chat/completions) || { echo "fail 0 $inflight"; return 1; }
+  echo "$(jq -r '.usage.completion_tokens // "fail"' "$out") $wall $inflight"
+}
+
+board "GPU-START window.sh $EV (lock held by $holders; 18091 stopped; compute apps empty)"
+trap 'finish' EXIT
+trap 'say "interrupted"; exit 4' INT TERM
+
+# ---- phase 1: the timeline ----
+TL=$EV/timeline.jsonl
+say "phase 1: timeline"
+if start_server "$BIN_HEAD" "$EV/server-timeline.log" AIEN_Q36_DECODE_TIMELINE="$TL"; then
+  r=$(request "$EV/timeline-reply.json" 200)
+  say "timeline request: tokens wall_s 18091_in_flight = $r"
+  sleep 2 # the door flushes the last record at idle
+  stop_server
+  n=$(wc -l < "$TL" 2> /dev/null || echo 0)
+  tok=${r%% *}
+  say "records $n (one per decode step: expect completion_tokens - 1 = $(( ${tok:-1} - 1 )) when the reply is a single run)"
+  grep -E 'decode timeline' "$EV/server-timeline.log" | tee -a "$EV/window.log"
+  "$BIN_HEAD" --check-decode-timeline "$TL" > "$EV/summary.wl" 2> "$EV/check.txt"
+  echo "check exit $?" >> "$EV/check.txt"
+  "$BIN_HEAD" --check-decode-timeline "$TL" --drop 5:dev:3 > /dev/null 2> "$EV/red-drop-dev.txt"
+  echo "red control (drop one launch) exit $? (must be 1)" >> "$EV/red-drop-dev.txt"
+  "$BIN_HEAD" --check-decode-timeline "$TL" --drop 7:record:0 > /dev/null 2> "$EV/red-drop-record.txt"
+  echo "red control (drop one record) exit $? (must be 1)" >> "$EV/red-drop-record.txt"
+  tail -n 1 "$EV/check.txt" "$EV/red-drop-dev.txt" "$EV/red-drop-record.txt" | tee -a "$EV/window.log"
+else
+  say "phase 1 NOT_RUN: server did not come up"
+fi
+
+# ---- phase 2: zero-cost chip A/B (switch unset) ----
+order=$(python3 -c '
+import itertools, random
+orders = sorted(set(itertools.permutations("AABB")))
+print("".join(random.Random(785).choice(orders)))')
+say "phase 2: A/B order $order (seed 785)"
+echo "block,arm,i,tokens,wall_s,in_flight_18091,text_sha256" > "$EV/ab.csv"
+ref_text=
+b=0
+for arm in $(echo "$order" | fold -w1); do
+  b=$((b + 1))
+  if [ "$(elapsed)" -gt "$BUDGET_S" ]; then
+    say "block $b ($arm) NOT_RUN: time budget $BUDGET_S s used"
+    continue
+  fi
+  bin=$BIN_HEAD
+  [ "$arm" = A ] && bin=$BIN_BASE
+  start_server "$bin" "$EV/server-ab-$b-$arm.log" || { say "block $b ($arm) NOT_RUN: server"; continue; }
+  request "$EV/ab-$b-$arm-warm.json" 200 > /dev/null
+  for i in $(seq 10); do
+    r=$(request "$EV/ab-$b-$arm-$i.json" 200)
+    text=$(jq -r '.choices[0].message.content // ""' "$EV/ab-$b-$arm-$i.json" | sha256sum | cut -c1-16)
+    [ -n "$ref_text" ] || ref_text=$text
+    echo "$b,$arm,$i,$(echo "$r" | tr ' ' ','),$text" >> "$EV/ab.csv"
+    [ "$text" = "$ref_text" ] || say "CORRECTNESS: block $b $arm $i text $text != $ref_text (A/B void)"
+  done
+  grep 'spell over' "$EV/server-ab-$b-$arm.log" > "$EV/spells-$b-$arm.txt"
+  stop_server
+done
+
+# Wolfram-ready A/B lists: tokens/s per kept sample (18091 in_flight must be "down" or 0).
+python3 - "$EV/ab.csv" > "$EV/ab.wl" <<'PY'
+import csv, sys
+rows = list(csv.DictReader(open(sys.argv[1])))
+kept = {"A": [], "B": []}
+dropped = 0
+for r in rows:
+    if r["tokens"] in ("fail", "") or r["in_flight_18091"] not in ("down", "0"):
+        dropped += 1
+        continue
+    kept[r["arm"]].append(f'{r["tokens"]}/{r["wall_s"]}')
+print("(* tokens/s = completion_tokens / wall_s; discarded samples: %d *)" % dropped)
+print("abA = {%s};" % ", ".join(kept["A"]))
+print("abB = {%s};" % ", ".join(kept["B"]))
+print("{Length[abA], Length[abB], N[Median[abA]], N[Median[abB]], N[Median[abB]/Median[abA]], N[Median[abB]/Median[abA]] >= 99/100}")
+PY
+say "A/B lists in $EV/ab.wl ($(grep -c . "$EV/ab.csv") csv lines); summary in $EV/summary.wl"
+say "done in $(elapsed) s"