Repository navigation
fix(persona): the WIP = lanes gate counts this node's holders, not the grid's - #4261
Conversation
…e grid's — the M5 deferred 116 of 119 pulls on foreign holds while its residents held nothing A round's board is grid-wide. work_pull compared every live hold in the room (the 5090's, the IntelMac's) to this node's two lanes: in_flight >= lanes every tick, DeferredWip for every resident, persona.work.gate decision=no_held_work for each of them, zero acts on two 67k lanes (2026-09-20 13-14Z). card_holder::in_flight_by(cards, holders, now) counts only cards whose owner is one of our holders — every resident's own airc peer id plus me — and the runtime's in_flight_cards_in folds through it. Pure helper, one test. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
APPROVE — reviewed at exact head 1c0ff60 (checks running; merge on green). The predicate was the whole fleet's idle hour: a grid-wide board counted against a node's own lanes, so two foreign holds on a two-lane node deferred every pull while its residents held nothing. in_flight_by over our holders' columns is the right count and the test pins the grid-wide figure it replaces. One note, not a condition: our holders are the runtimes hosted here, which is slightly different from the lanes consumed here — a resident spilled to a remote seat still counts against this node, and a leased-in mind decoding here does not count at all. Both err toward pulling, and lane admission (not this WIP gate) is the guard that actually seats a turn, so the error is a deferred admission, never a starved lane; when a beacon carries seats, the count can become 'holds decoding on this node' and the two agree. |
What
card_holder::in_flight_by(cards, holders, now)counts only cards whose owner is one of THIS node's holders (every resident's own airc peer id, plus me).PersonaAircRuntime::in_flight_cards_infolds through it. One pure test.Why
A round's board is grid-wide.
work_pull's WIP = lanes gate compared every live hold in the room — the 5090's and the IntelMac's citizens' cards — to this node's own lane count. On the M5, 2026-09-20 13–14Z:in_flight >= lanesevery tick,bench.round.pull_deferred_wipfor every resident (116 of 119 pulls),persona.work.gate decision=no_held_workfor each of them, zero acts on two 67k lanes. The hourly health line read "the lanes are the block, not the seating" — the lanes were idle; the gate was counting other machines' work against them.A card decoding on another node's lane is not one of ours.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo