Repository navigation
fix(serving): a lane over its decode knee re-homes DOWN — fewer, wider lanes is re-home evidence whatever the token-space says - #4160
Merged
Conversation
…r lanes is evidence whatever the token-space says; the knee only ever applied at boot Measured 2026-09-17 on the M5: the knee read 7, then walked toward 4, while the live lane stayed at 8 × 51,712 with 7.9 t/s per stream. The reconcile's re-home evidence is token-space (window × lanes) and a plan that trades lanes for width is a wash (+14% for 7 × 67,340) or a loss (4 × 67,340) — so every tick declined on the margin and the knee clamp, computed correctly into the plan, never reached the lane. Only a reboot applied it, and the boot has its own bug (#4159: the file went stale) — the whole knee mechanism was serving-side inert. `lane_over_its_knee(live_window, live_lanes, plan_window, plan_lanes)`: plan lanes fewer than live AND plan window at least as wide = the knee clamping the roster; it counts as re-home evidence beside the space margin. Fewer-and-narrower stays a pressure shrink (not this arm); same or more lanes still need the margin. The sustain streak (3 ticks) and the cooldown still gate the relaunch; the declined probe carries `over_knee`. Card 27ae209f. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
This was referenced Sep 17, 2026
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.
What broke
The knee read 7 (then walked toward 4) while the M5's live lane stayed at 8 × 51,712 with 7.9 t/s per stream. Re-home evidence is token-space (window × lanes); a plan that trades lanes for width is a wash (+14% for 7 × 67,340, under
REHOME_MIN_GAIN_PCT) or a loss (4 × 67,340), so every tick declined on the margin and the knee clamp — correctly in the plan — never reached the lane. Only a reboot applied it, and the boot path has its own bug (#4159). The knee was serving-side inert.Fix
lane_over_its_knee: plan lanes < live lanes AND plan window ≥ live window = the knee clamping the roster → counts as evidence beside the space margin. Fewer-and-narrower is still a pressure shrink (not this arm); same/more lanes still need the margin. Streak (3 ticks) + cooldown unchanged. The declined probe carriesover_knee.Test
a_lane_over_its_knee_is_rehome_evidence_whatever_the_token_space_says(+ the existing evidence test still green).Acceptance
On the M5 within ~3 ticks + cooldown of deploy:
serving.reconcile.window decision=re-homing … live_lanes 8 plan_lanes ≤7 over_knee=true, thenserving/statuslanes = the knee and decode p50 above 10 t/s.Card 27ae209f. Independent of #4159 (different file), lands in any order.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo