Repository navigation
fix(serving): a collapsed geometry seeds neither the next boot nor the footprint record — a remembered window below the typical prompt is a fall, not a steady state; no per-token reading at a starved window (the 5090 at 1 × 2,048) - #4255
joelteply merged 2 commits into
Conversation
…e footprint record — a remembered window below the typical prompt is a fall, not a steady state, and no per-token reading is taken at a starved window (the 5090 at 1 × 2,048)
Measured 2026-09-20: the M5's 07:52Z collapse wrote (2,048, 1) to the served-window store as
"the last steady geometry" and the 08:43Z boot planned it FIRST (1 × 2,048, --cache-ram 26806).
The 5090 has served 1 × 2,048 all afternoon: every prompt the M5's minds spill to its seat is
refused ("prompt ~31143 tokens ≥ the served per-slot window of 2048") or answered against a 2k
slot; the M5's idle hour (0 acts, 228 pulls deferred) was 112 lane grants routed to that seat.
Two laws let a fall persist:
1. `StoredServedWindow::steady_geometry()`: a record whose window is below the typical prompt it
remembers cannot have served a turn — it is the collapse the plan shed to. `None`, so a cold
boot plans from demand instead of from the fall (its lane count no longer caps the boot at one
lane; its window no longer joins the floor). An unknown typical (older record) never
disqualifies; zero lanes is no geometry.
2. `lane_footprint::window_measurable(window)` / `MEASURABLE_WINDOW_MIN` (one full turn, 16,384):
below it the bytes beyond weights are fixed buffers, and dividing them by 2,048 reads as
~244k B/token — saved, that record fits no window and pins the next plan at the floor the
node fell to. The daemon WITHHOLDS the reading (`serving.footprint.unmeasured leg=starved_window`;
the unknown-grant leg now carries `leg=unknown_grant`), the previous record stands.
Tests: `a_window_below_the_typical_prompt_is_a_collapse_not_a_steady_geometry`,
`a_starved_window_is_not_a_measurement` (pins the 244k arithmetic the floor guards against).
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
APPROVE with one condition — reviewed at exact head 5a91b1c (checks running at read time). Both laws are right and both tests pin the live shape: a window below the typical prompt the same record carries is the fall, not a state ( The condition is the node ALREADY in the trap — the 5090 this afternoon, the M5 at 08:43Z: its lane-footprint.json says ~244k B/token, that record is what Nit, not a condition: |
…node already in the trap climbs out (Cormac's condition on #4255); the roster bound reads the same steady-geometry law (his nit) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Condition taken at 61c28c2: the starved-window leg now RETIRES the model's record ( |
|
APPROVE — reviewed at exact head 61c28c2. The condition is taken exactly: the starved leg retires the record through the existing no-reading path (lane_footprint::retire, saved at once, record_retired on the probe), the test pins a trap record going away, and the spawner's remembered lanes read steady_geometry so the record has one law for both readers. Merge on green; the 5090 climbing from 1 x 2,048 to a real window on its own is the receipt. |
What broke
remote peer's adapter failed: … prompt ~31143 tokens ≥ the served per-slot window of 2048) or answered against a 2k slot. The M5's idle hour (0 acts, 228 pulls deferred, "the lanes are the block") was 112 lane grants, one a minute, routed to that seat — not a permit stall.Two laws let a fall persist across boots and measurements:
The fix
StoredServedWindow::steady_geometry()— a record whose window is below the typical prompt the same record remembers cannot have served a turn; it is the collapse the plan shed to.None: the cold boot plans from demand, not from the fall (the record's lane count no longer caps the boot at one lane, its window no longer joins the floor). An unknown typical (older record) never disqualifies; zero lanes is no geometry.lane_footprint::window_measurable(window)/MEASURABLE_WINDOW_MIN(one full turn, 16,384 tokens) — below it the bytes beyond weights are the engine's fixed buffers, and dividing them by 2,048 reads as ~244k B/token; saved, that record fits no window and pins the next plan at the floor the node fell to. The daemon withholds the reading (serving.footprint.unmeasured leg=starved_window; the unknown-grant leg now carriesleg=unknown_grantand both carrywindow), the previous record stands.Tests
a_window_below_the_typical_prompt_is_a_collapse_not_a_steady_geometry(collapse → None; steady → Some; unknown typical → Some; zero lanes → None; equal → Some).a_starved_window_is_not_a_measurement(the floor, and the 244k arithmetic it guards against).Next, separate
Placement: a seat whose served window is below the mind's prompt is not an offer — the beacon carries no window today, so that is a beacon field + a placement term (card to follow). Until then a collapsed seat draws every spill and refuses it.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo