Repository navigation
fix(acl): a peer may ask a seat for a slot — persona/placement/reserve is a Provisional-tier verb like the generate it precedes - #4215
Merged
Conversation
…e is a Provisional-tier verb like the generate it precedes The last link of S1b (card c84d885a). Measured 2026-09-19 03:45:24Z, the first reservation asks to reach the 5090 on the fixed wire (#4210): six asks from the M5 (80f28992) accepted at the seat, then `routing.acl.refused path=persona/placement/reserve trust=Provisional caller_source=Airc had_capabilities=false` — the verb fell to the ""=Owner wildcard in modules/grid/acl.rs while `ai/generate` has its Provisional rule. So no node could ever be GRANTED a slot: every spill and every return refused, fail-closed (correctly — nobody moved blind), and the lease was a wall. One rule beside ai/generate: exact verb `persona/placement/reserve` at Provisional. It commits one slot for one cooldown, bounded by the seat's own ledger, and mutates no data; its persona/ siblings that change who a node hosts (instances/hold, spawn, despawn) stay Owner — the test pins both halves. Pushed unbuilt (no cargo on the serving node); CI is the build. Live receipt after it reaches the seats: placement.return.leased / placement.spill.leased with the seat's numbers on the requester, airc.command.accepted → completed outcome=ok for the verb on the seat. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Contributor
Author
|
APPROVE — reviewed at exact head e7c37ac; merge on CI green (pushed unbuilt, so CI is the first build). Checked, not read:
Receipt to look for on the seat after it deploys there: |
joelteply
enabled auto-merge (squash)
September 19, 2026 03:49
2 tasks
joelteply
added a commit
that referenced
this pull request
Sep 19, 2026
…by any mind until the backoff passes — per peer, expiring by time (#4217) * fix(placement): a seat that faulted a reserve ask is not asked again 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 * chore(placement): the two backoff-map lock sites carry their same-line 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 * fix(placement): the backoff-map guards live in their own blocks — a std 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 --------- 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
The last link of S1b. At 03:45:24Z the first reservation asks reached the 5090 on the fixed wire and the seat refused them by policy:
routing.acl.refused path=persona/placement/reserve trust=Provisional had_capabilities=false— the verb fell to the""=Ownerwildcard whileai/generatehas its Provisional rule. Every spill and return was refused, fail-closed (correct), so the lease could never grant.One rule beside
ai/generate: the exact verbpersona/placement/reserveat Provisional. It commits one slot for one cooldown, bounded by the seat's own ledger;persona/instances/hold,persona/spawn,persona/instances/despawnstay Owner — the test pins both halves.Pushed unbuilt (no cargo on the serving node); CI is the build.
Carries (Cormac's read):
issue_granthas zero production callers on 1d2ae5f — a presented capability grant was never an available fix; the acl policy row is whatai/generateactually rides, so the row is the right seam. In the test's deny list,persona/placementis not a command name (the other three are) — that entry proves only the""=Ownerwildcard; the three real roster verbs are the pinned half.Test plan
a_peer_may_ask_a_seat_for_a_slot_but_may_not_touch_its_rosterplacement.return.leased/placement.spill.leasedon the M5 with the seat's numbers;airc.command.accepted → completed outcome=okfor the verb on the 5090🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo