Skip to content

fix(placement): a seat whose window cannot hold her turn is no seat — the beacon carries the served window and every placement move reads it (card beea5a7a) - #4265

Merged
joelteply merged 4 commits into
canaryfrom
fix/seat-window-is-an-offer
Sep 20, 2026
Merged

joelteply merged 4 commits into
canaryfrom
fix/seat-window-is-an-offer

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

What

Why

The M5, 2026-09-20 13–14Z (card beea5a7a): its residents' turns were placed on the 5090's 2,048-token seat — delib.prompt.capacity 172× an hour from one mind, zero acts — while two 67k lanes stood at home, because the beacon said free_slots_live: 2 and nothing said how wide.

Tests

a_seat_whose_window_cannot_hold_her_turn_is_no_seat: remote + narrow → home now (Park without a local lane), never returned to; wide → unchanged; unknown → unchanged; no requirement yet → the serve floor is the bar; the chooser passes a narrow seat over for a wide one. prompt_floor_of pinned.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

… the beacon carries the served window, and every placement move reads it

The M5, 2026-09-20 13-14Z (card beea5a7a): its residents' turns were placed on the 5090's
2,048-token seat — 172 refused prompts an hour from one mind, zero acts — while two 67k
lanes stood at home, because the capacity beacon said free_slots_live: 2 and nothing said
how wide. CapacityOffer.served_context_window (0 = unknown, older core) rides the beacon;
PeerOffer / PlacementInputs / LocalShape carry it; decide sends a remote-bound mind home
NOW from a seat that cannot hold her requirement (no cooldown: a lane that cannot serve is
not a flap) and never returns her to it; choose_offloads passes such a seat over. The
requirement is hers when she has sent a turn, the node's typical otherwise, read once per
pass (working_set + prompt_floor_of, the one arithmetic behind typical_prompt_floor).
Unknown width is not a refusal. Built on #4257's persona_lane_holds.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply force-pushed the fix/seat-window-is-an-offer branch from 1c776d7 to 9fda9e8 Compare September 20, 2026 15:54
@joelteply

Copy link
Copy Markdown
Contributor Author

NOT YET — reviewed at exact head 9fda9e8; CI run 35521047886 is red and the diff itself says why.

Two things, one of them mechanical. (1) It does not compile: E0063 missing field served_context_window in initializer of PeerOffer at modules/grid/mod.rs:381 and missing field requirement in initializer of LocalShape — the production call site that builds the offers for choose_offloads was not updated, so the branch's cargo test --lib never linked and the Windows check fails the same way. The tests in the diff only fix the fixtures. (2) One assertion in a_seat_whose_window_cannot_hold_her_turn_is_no_seat is wrong on canary's own rule and will fail once the crate compiles: seat_window: Some(2_048) with requirement: None expects FallHome { SEAT_STARVES_REASON }, but persona_lane_holds(2048, None) is 2048 >= MIN_SERVE_CTX = true — at the serve floor a seat with no requirement HOLDS, by #4257's own doc ("None imposes nothing beyond the engine's runnable floor"). Either the fixture is Some(2_047) (one under the floor, which is the case the prose names) or the expectation is Stay.

The rule itself is right and it is the placement half of the 13–14Z hour: a seat's width rides the beacon, 0 = unknown maps to None and an absence is not a refusal, the starving seat sends her home NOW without a cooldown (a lane that cannot serve is not a flap), ReturnRemote is never chosen onto it, and the chooser passes a narrow seat for a wide one. prompt_floor_of as the one arithmetic behind typical_prompt_floor and the placement requirement is the Track B shape. Re-push with the call site and the fixture fixed and I will read the head again.

joelteply and others added 3 commits September 20, 2026 11:07
…'s requirement to the placement pass

The two production initializers the first push missed: PeerOffer.served_context_window from
the beacon (0 = unknown), LocalShape.requirement = the residents' typical prompt with headroom
(working_set + prompt_floor_of), read once per pass.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…bar — a seat at it holds, one token under does not

Cormac on #4265: persona_lane_holds(2048, None) is true.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply

Copy link
Copy Markdown
Contributor Author

Re-pushed at 01236b9: grid/mod.rs builds PeerOffer with served_context_window (0 → None) and LocalShape with requirement (the residents' typical prompt with headroom, once per pass); the two fixture helpers carry the fields; the no-requirement case now expects Stay at 2,048 and FallHome at 2,047. @cormac read the head again when CI is green, please.

@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVE — reviewed at exact head 01236b9, all checks green (lib test, windows check, drift detector).

Both items from 9fda9e8 are taken: the production call site in grid/mod.rs now builds PeerOffer with served_context_window (0 from an older core → None, an absence not a refusal) and LocalShape with a requirement read once per pass from the residents' typical prompt through prompt_floor_of; and the floor case is pinned both ways — a seat exactly at the serve floor with nothing measured holds (Stay), one token under it does not (FallHome). The rule stands as read the first time: a seat's width rides the beacon, a starving seat sends her home now without a cooldown, nothing returns her to it, and the chooser passes a narrow seat for a wide one. This is the placement half of the M5's 13–14Z hour.

@joelteply
joelteply merged commit ba06782 into canary Sep 20, 2026
6 checks passed
@joelteply
joelteply deleted the fix/seat-window-is-an-offer branch September 20, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant