Repository navigation
fix(placement): a seat that faulted a reserve ask is not asked again by any mind until the backoff passes — per peer, expiring by time - #4217
Merged
joelteply merged 3 commits intoSep 19, 2026
Conversation
…by any mind until the backoff passes — the fault is the seat's, keyed per peer, expiring by time
Measured 2026-09-19 04:26–04:50Z (Cormac's count, confirmed here: 72 asks, 12 per mind):
five M5 minds re-asked the 5090 for a slot every placement tick through a policy
refusal ("forbidden: no policy grants access to persona/placement/reserve" — the
pre-#4215 seat). ~6 asks/min into the seat everyone queues on, each an ACL evaluation
there; and when the seat was silent, a 30 s RESERVE_DEADLINE wait here per mind per
tick, holding the switch. `Stay` on refusal left no memory, so the next tick asked again.
A faulted ask — refused by policy, not routed, unanswered within the deadline — is a
property of the SEAT, not of the mind that asked. Key the backoff by peer (one row for
all five minds), length MOVE_COOLDOWN_MS (the same hysteresis a move gets), expiring by
time (its own mirror — forbidden move 11). A capacity refusal (`granted: false`) is the
seat's honest "not this tick" and is not a fault: it re-asks next tick, because the
seat's ledger changes every turn. Probe `placement.reserve.backoff` names the fault.
Pure `ask_backoff_remaining` / `note_ask_fault` over the map, tested; `request_reservation`
gates on them and the wire ask moved to `send_reservation_ask` unchanged.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Contributor
Author
|
CONDITIONAL — reviewed at exact head 425e91b. The mechanism is right; one thing makes CI red before it is tested. RIGHT, checked:
THE CONDITION: two new |
…e reason — the unwrap ratchet has zero slack (Cormac's condition on #4217) 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 04:58
joelteply
disabled auto-merge
September 19, 2026 05:38
…td MutexGuard in scope across the wire await made request_reservation's future !Send (CI on #4217) 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 05:55
joelteply
deleted the
fix/a-refused-seat-is-not-asked-again-this-tick
branch
September 19, 2026 06:01
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.
Measured 2026-09-19 04:26–04:50Z (Cormac's count, confirmed here: 72 asks, 12 per mind):
five M5 minds re-asked the 5090 for a slot every placement tick through a policy
refusal ("forbidden: no policy grants access to persona/placement/reserve" — the
pre-#4215 seat). ~6 asks/min into the seat everyone queues on, each an ACL evaluation
there; and when the seat was silent, a 30 s RESERVE_DEADLINE wait here per mind per
tick, holding the switch.
Stayon refusal left no memory, so the next tick asked again.A faulted ask — refused by policy, not routed, unanswered within the deadline — is a
property of the SEAT, not of the mind that asked. Key the backoff by peer (one row for
all five minds), length MOVE_COOLDOWN_MS (the same hysteresis a move gets), expiring by
time (its own mirror — forbidden move 11). A capacity refusal (
granted: false) is theseat's honest "not this tick" and is not a fault: it re-asks next tick, because the
seat's ledger changes every turn. Probe
placement.reserve.backoffnames the fault.Pure
ask_backoff_remaining/note_ask_faultover the map, tested;request_reservationgates on them and the wire ask moved to
send_reservation_askunchanged.Test plan
cargo test -p continuum-core --lib placement_reservation(new:a_seat_that_faulted_an_ask_is_not_asked_again_by_any_mind_until_the_backoff_passes)persona/placement/reserverows from one asker into a refusing seat drop from ~6/min to ≤ 1 per 10 min per seat;placement.reserve.backofffires once per fault; grants (placement.return.leased) are unaffected.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo