Repository navigation
fix(placement): a return to a seat asks for its slot exactly as a spill does — the seat's grant bounds the fleet's swing - #4206
Merged
joelteply merged 1 commit intoSep 19, 2026
Conversation
…ll does — the seat's grant bounds the fleet's swing 2026-09-19 00:3xZ, the first minutes after the 5090 ran #4198: its beacon carried its measured wait, read QUEUED, and the IntelMac brought all seven bound minds home in one tick — S1b doing its job. The tick that seat's p50 dips under the bound, `decide` says ReturnRemote for all seven at once, and `apply(ReturnRemote)` re-bound WITHOUT a grant: seven returns rebuild the very queue they left, then all seven fall home again — the metronome at fleet scale, one cooldown per swing. The lease (#4199) exists for exactly this; the return path did not use it. Now a return asks the seat for its slot as a spill does (`request_reservation`, bounded by the seat's own freshness window): the seat grants `free_slots_live − outstanding`, the rest stay home until its beacon shows room. Refused or unanswered = Stay, receipted (`placement.return.leased` / `placement.return.refused`). One ledger for both paths, so a return can never take a slot a spill was granted. Test: seven_returning_minds_take_only_the_seats_free_slots_and_the_rest_stay_home — two slots, two returns, five wait, and a spill from another node then finds nothing. Whole-file: placement_switch, placement_reservation, source_hygiene — 32/32. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
enabled auto-merge (squash)
September 19, 2026 00:50
joelteply
deleted the
fix/a-return-to-a-seat-asks-for-its-slot-like-a-spill-does
branch
September 19, 2026 00:53
joelteply
added a commit
that referenced
this pull request
Sep 19, 2026
… operator's airc sent it where the seat never listens (#4210) Live 2026-09-19 01:4xZ on the M5, the first gated returns (#4206): six persona/placement/reserve asks to the 5090, six `placement.return.refused` "unanswered within 30 s". The seat never heard them: `request_reservation` was called on the OPERATOR's airc (`operator_airc()`), which sends in the operator's current room — the academy on the M5 — while the seat's core listens where the citizens' generates go (each mind's own airc, in her current room; `go_remote` builds her transport on exactly that handle). Fail closed was the right default — nobody moved blind — but with it no return and no spill can ever be granted, so the lease was a wall. Both ask sites (spill and return) now use the switch's own handle (`airc_handle`), the wire her generates ride. Same fix, both directions, in one commit (forbidden move 11). Not built tonight (no cargo on the serving node under the freeze); CI is the build; whole-file tests are unchanged in shape (the pure decisions did not move). Live receipt after it lands: placement.return.leased / placement.spill.leased with the seat's numbers, and no "unanswered". Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Minutes after the 5090 ran #4198 tonight, its beacon read QUEUED and the IntelMac brought all seven bound minds home in one tick — correct. The tick its wait dips under the bound,
decidesays ReturnRemote for all seven, andapply(ReturnRemote)re-bound without a grant: seven returns rebuild the queue they left — the metronome at fleet scale.A return now asks the seat for its slot exactly as a spill does; the seat grants
free_slots_live − outstanding, the rest stay home until its beacon shows room. Receiptsplacement.return.leased/placement.return.refused. One ledger for both paths.Test plan
seven_returning_minds_take_only_the_seats_free_slots_and_the_rest_stay_home— 2 slots → 2 return, 5 stay; a spill then finds nothingplacement.return.leased≤ its free slots per tick andplacement.return.refusedfor the rest — no seven-at-once swing in[placement]lines🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo