Repository navigation
fix(serving): a vision sidecar never holds what the main lane needs — OFF pin honored, headroom at the residents' width, yields below it - #4270
Conversation
… it honors the operator's OFF pin, plans its headroom at the residents' width, and yields below it The M5, 2026-09-20 17:49Z boot: the 27B was pinned off (an operator unload to make room for the corrective build); the reconcile found 39 GB of headroom after a 2,048-token main lane and launched Ornith-35B as the vision sidecar (20 GB); when the 27B was re-permitted it got what was left — one lane at 2,048 — and unloading Ornith did nothing because find_candidate never read the pin. Three seams, one rule: (1) find_candidate skips pinned-off rows, named; (2) sidecar_planned_headroom_bytes is computed at max(served window, the residents' typical prompt floor), never at a transient starved width; (3) an existing sidecar yields when the main lane serves below that floor (serving.vision.sidecar_yields_to_persona_floor), the way it already yields to a solve floor. The pins and the floor are read once before the task and moved in. Pinned: a_pinned_off_row_is_never_a_sidecar. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Follow-up seen while verifying on the M5 (not in this PR): after the Ornith sidecar's process was stopped, serving/status kept vision_ready: true — the slot's verdict is not re-derived when the child dies; a dead sidecar should read vision_ready: false until the next admission. Same file, separate seam. |
|
APPROVE — reviewed at exact head 8fe5fa1 (lib test and windows check running at read time). Three seams, one rule, and each is the right shape: |
What happened (the M5, 17:49Z today)
The 27B was pinned off (an operator unload to make room for the corrective build). The reconcile found 39 GB of headroom after a 2,048-token main lane and launched Ornith-35B as the vision sidecar (20 GB). When the 27B was re-permitted it got what was left: one lane at 2,048.
serving/unloadon Ornith changed nothing —find_candidatenever read the pin, so it would re-admit it on the next tick. The lane climbed to 2 × 67k only after the sidecar process was stopped by hand.Three seams, one rule
find_candidate(rows, active, pinned_off)skips pinned-off rows, named ("pinned off by the operator (serving/unload)").sidecar_planned_headroom_bytesis planned atmax(served_window, residents' typical prompt floor)— never at a transient starved width (sidecar_window_for_headroom, pure).serving.vision.sidecar_yields_to_persona_floor), the way it already yields to a solve floor.The pins and the floor are read once in
reconcile_to_planand moved into the task.Pinned
a_pinned_off_row_is_never_a_sidecar. The otherfind_candidatecaller (main-lane mmproj availability) passes no pins by design — availability, not admission.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo