Will's local AI pipeline · Splash 1.7.0 · depth probe · engine finding

Session length here is capped by the window, not by KV

Every wave in this suite has pushed prompt volume and failed to trip the KV pool; the last one explained why (width becomes queue depth). So the probe walked the other axis: one conversation, held across turns, past the resident line. It was served at 255,948 prompt tokens = 1.64× the 155,648-token resident KV budget. The next turn was refused — and the refusal was the 262,144-token context window, arriving before the engine ever saw the request.

1.64× resident255,948 tokens in one held context, served normally
spill at the lineturns 1–6 spill 0 · turn 7 (1.04×) +2,176
0 suspensionsno disk demotion, no capacity failure, at any depth reached
refused pre-admission400 context_length_exceeded, prefill_rows unmoved

1 · Context grows, spill switches on once 11 served turns, then a refusal

One conversation: context size, spill activity, and wall time per turn
Bars = prompt tokens the engine reported for that turn (× the resident KV budget). Orange = spill_moves during that turn. Dashed = wall seconds (right-hand scale). Hover a bar
context × resident budgetspill moves in that turnwall s (turn cost)
turnprompt tokens× residentwall sprefill_rows Δspill Δsusp / demote / capacity
126,2220.17×6.4226,24400 / 0 / 0
248,9440.31×6.7322,73600 / 0 / 0
371,6660.46×6.9422,73800 / 0 / 0
494,3880.61×7.1422,74000 / 0 / 0
5117,1100.75×7.0122,74200 / 0 / 0
6139,8320.90×7.2122,74400 / 0 / 0
7162,5541.04×7.3522,746+2,1760 / 0 / 0
8185,2761.19×7.3622,748+7980 / 0 / 0
9207,9981.34×7.7722,750+5120 / 0 / 0
10231,9731.49×8.3524,005+7090 / 0 / 0
11255,9481.64×8.6123,980+7500 / 0 / 0
12refused 400 context_length_exceeded000 / 0 / 0

Totals across the probe: 256,173 prefill rows, 4,945 spill moves, and resource_suspensions, priority_suspensions, disk.kv_demotions, kv_demotions_refused, capacity_failures — not one moved. Governor headroom stayed between 10 MB and 79 MB the whole time, so the spill onset tracks the resident line, not host memory pressure.

2 · Deep sessions are cheap, because the cache carries the history the part that matters for agents

Each turn appended ~20 k tokens, and every turn prefilled only ~22.7 k rows — the new block, never the history. So wall time per turn went 6.42 s → 8.61 s across a 9.8× context increase (+34 %). kv.pages_cache climbed 5,718 → 7,998 pages, which is above the 4,864-page resident KV capacity: the cache pool and the resident pool are different pools, and that is exactly why a session can stand at 1.64× the resident budget without the engine objecting.

Practical reading for agent sessions on this box: long held context is not a memory problem, it is a window problem. The thing to budget against is 262,144 tokens; spill is what the engine does for free past 155,648.

3 · Two refusal modes, and only one of them is the engine how to tell them apart in one counter

turn 12 -> HTTP 400  {"error":{"message":"prompt exceeds the context window",
                          "code":"context_length_exceeded"}}
           scheduler.prefill_rows delta during that turn: 0   <- never admitted

Compare the 2026-11-19 wave, where width 40 produced HTTP 503 frontend request capacity is exhausted — that was --queue-size, a capacity ceiling, and it had queued counters moving. Both look like "the engine refused me" if you read only the HTTP code. The discriminator is one gauge: if scheduler.prefill_rows did not move, the request never reached the engine — it is a client-side contract error, and the fix is on the caller.

4 · What this design does not settle limits stated, not smoothed

n = 1 conversation, 11 served turns, one engine instance, one day, not restarted (lifetime counters carried in at resource_suspensions 4 / spill_moves 22,560). The spill onset is bounded to the interval between turn 6 (0.90×) and turn 7 (1.04×) — this probe cannot resolve it finer than that. pages_active read 0 at every sample because each turn finishes in ~7 s and sampling ran at 10 s, so the residency evidence here is the spill deltas; an occupancy curve needs 1–2 s sampling. spill_moves is the engine's counter of moves, not bytes. The text is synthetic filler — right shape (held, growing), not real retrieval behaviour.

Update, same night: the sampling gap above was closed by a fine pass — 44 turns of ~5.9 k tokens with an intra-turn 1 s sampler, tenancy clean by attribution (results/depth-fine-2026-11-19/). Residency is 1:1 with context (peak kv_tokens = prompt_tokens within one page on all 44 turns); the spill trigger is the 4,864-page capacity exactly — last clean turn peaks 4,784 pages, first spilling turn 4,968 — tightening the onset bracket from (0.90×, 1.04×] to (0.984×, 1.021×]. Peak residency climbs to 8,083 pages = 1.66× capacity and is still served, with ~256 spill moves/turn of churn and the 1 s peaks of waiting_memory / suspended / restoring at zero on every turn. Wall time stays near flat (1.57 → 2.11 s over 28.6× context, −22 % effective rate), so "cheap per turn" survives.

git clone https://github.com/willturner-maker/benchmarks
cd benchmarks/bench/splash-concurrency
./run_depth_detached.sh ~/my-depth 20000 18     # detached, samples /status, proves its own tenancy
# instrument: depth_probe.py  (turn size calibrated from the engine's own tokenizer: 15.95 tok/word here)
Engine: Splash 1.7.0, ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF:IQ3_S, same instance as waves 19b/19c (not restarted). Read back from /status: resident KV kv_capacity_tokens 155,648 = 4,864 pages × 32 tok, kv_page_bytes 423,936, maximum_context_tokens 262,144, maximum_batch_width 4. Window 2026-11-20T02:24:58Z → 02:28:37Z, detached, operator idle; 9 of 10 in-flight samples attributed to this run, the one foreign sample inside the 90 s lead-in. Record: bench/splash-concurrency/results/depth-2026-11-19/ (depth_probe.jsonl, engine samples, status edges, pins, RECORD.md); instrument bench/splash-concurrency/depth_probe.py; runner bench/splash-concurrency/run_depth_detached.sh. Context: the clean-window volume wave that made depth the live question.