Repository navigation
fix(serving): a re-home fires at the best of its evidence span, not the streak's all-time high (card 5bac4968) - #5062
Merged
joelteply merged 1 commit intoOct 15, 2026
Conversation
…he streak's all-time high (card 5bac4968) The re-home guard fired only on a tick whose plan reached rehome_plan_high, the highest plan seen since the streak began. Nothing lowered it while the plan stayed at or below it. Kimi's node, 2026-10-15 (Fable, 78d2c37f): the plan read 109,768 at the post-deploy relaunch tick while memory was still being freed, then settled at 33k-87k. The streak kept counting (streak=3, cooling=0), but the fire tick could never reach 109,768, so her lane served a 6,144 window until an operator relaunched it. The fire condition now takes the high over the last REHOME_SUSTAINED_TICKS plans, the evidence span the streak itself requires (at_recent_plan_high). BigMama's #4851 intent is kept: the relaunch takes the fire tick's plan, at the best the sustained evidence saw, never a low tick of an alternating plan; in a two-value alternation the high is always inside the span. The streak's all-time high is unchanged for climb detection, so the boot staircase still coalesces into one re-home at its top. A transient high now ages out with the evidence it came from. Tests: a_transient_plan_spike_does_not_strand_the_lane_below_the_settled_plan (fires at tick 3 after the spike; under the old rule it never fires), plus the pure rule pinned on Fable's numbers. The alternating, staircase and jitter tests are unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
joelteply
added a commit
that referenced
this pull request
Oct 15, 2026
…ugh the release's recheck, not asserted gone at the first snapshot (card fb166622) (#5063) * test(git_bridge): a cancelled git's survivors are confirmed gone through the release's recheck, not asserted gone at the first snapshot (card fb166622) #5062's CI (run 38750082018, 2026-10-15 14:32Z, base eeb7a32) failed a_git_ends_with_its_waiter_and_says_how_it_ended at git_bridge.rs:1103: Lingering { processes: [pid 15439] }. lane_process::end_tree kills the cancelled git's descendants and then takes ONE still_present snapshot, so a descendant still dying is reported. That is conservative custody, not a leak; the test asserted the snapshot empty. It's the same race #5053 fixed for the hook pid (card 0d18171d). The test now runs the release as code/release-hands does: close, then recheck the reported processes (kill again while the pid still names it) and retain_processes until confirmed, within the existing 10 s deadline. No tree may be unknown, and a second close must report nothing. No timeout was raised and no report is cleared: a process the recheck never confirms still fails the test. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * test(git_bridge): say what the CI log showed (pid 15439 unconfirmed at the snapshot), not why (helper on #5063) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
joelteply
deleted the
5bac4968/re-home-guard-s-rehome-plan-high-only-ra
branch
October 15, 2026 16:41
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.
The re-home guard fired only on a tick whose plan reached rehome_plan_high,
the highest plan seen since the streak began. Nothing lowered it while the
plan stayed at or below it. Kimi's node, 2026-10-15 (Fable, 78d2c37f): the
plan read 109,768 at the post-deploy relaunch tick while memory was still
being freed, then settled at 33k-87k. The streak kept counting (streak=3,
cooling=0), but the fire tick could never reach 109,768, so her lane served
a 6,144 window until an operator relaunched it.
The fire condition now takes the high over the last REHOME_SUSTAINED_TICKS
plans, the evidence span the streak itself requires
(at_recent_plan_high). BigMama's #4851 intent is kept: the relaunch takes
the fire tick's plan, at the best the sustained evidence saw, never a low
tick of an alternating plan; in a two-value alternation the high is always
inside the span. The streak's all-time high is unchanged for climb
detection, so the boot staircase still coalesces into one re-home at its
top. A transient high now ages out with the evidence it came from.
Tests: a_transient_plan_spike_does_not_strand_the_lane_below_the_settled_plan
(fires at tick 3 after the spike; under the old rule it never fires), plus
the pure rule pinned on Fable's numbers. The alternating, staircase and
jitter tests are unchanged.
Measured
a_transient_plan_spike_does_not_strand_the_lane_below_the_settled_planfires at tick 3 after the spike. The oldat_high(plan >= all-time high) never fires on that sequence; that's the mutation the test catches. The pure rule is pinned on Fable's numbers. The alternating (fix(serving): a lane far below a plan that alternates under its high re-homes; a climb still coalesces #4851), staircase and jitter tests are unchanged and must stay green. CI at this head is pending; IntelMac does not compile the core.Not changed: REHOME_SUSTAINED_TICKS (its measured jitter provenance stands), the 2x/min-gain bar, the cooldown, the paging refusal, or climb detection (the streak's all-time high still resets on a climb, so the staircase still coalesces).
🤖 Generated with Claude Code
https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE