Repository navigation
The lane floor follows a mind's recent growth samples, never a lifetime peak - #5579
Conversation
…me peak On the M5, 2026-10-28, the residents' all-time sent_peaks (188-370k tokens; recent turns 20-43k) set a 423,945-token requirement: every runnable plan was refused as below the floor and four residents shared one 27,904-token slot from ~21:46Z. PersonaDemand gains a ring of recent growth samples (sent_recent, serde default); growth_sample takes its max, else her typical demand (requirement_tokens' rule), else the legacy peak. sent_median_with and sent_ceiling_of read it. sent_peak stays recorded for the glass box. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
At b91bef7, growth_sample's unconditional typical_tokens fallback manufactures a growth vote for assembly-only records (sent_peak=0, sent_recent empty). This is the same regression caught in #5578: lane_under_plan records untrimmed assembly only; the new publication floor rejects the intended lower plans, so jitter/climbing/alternating rehome tests observe the retained high plan and fail. c3935ec had145passing/3failing serving tests; restricting legacy migration to records with historical growth evidence fixed all three at f449aef, with all selected CI passing. Please preserve None when neither recent nor historical growth was recorded, and add the absence-of-observation regression from #5578. Do not weaken the existing serving tests. Also reconcile the persisted ring names (sent_recent vs growth_recent) before merging both branches; these are overlapping implementations. The reported two-lane M5 recovery is useful live evidence but does not cover the missing-observation transition. Source verdict: changes requested on this exact head. |
|
CI now independently reproduces the exact reviewed defect on b91bef7: run40797111739, serving job123196244083 ends145passed/3failed (climbing, jittering, alternating rehome), same failures as #5578's original migration. The other red checks mirror this failure. Source fetched at combined deployment f208b6e still contains unconditional Minimal correction preserving your recent-max policy: consult recent sent samples first; if absent and sent_peak == 0, return None; otherwise use the explicit legacy-demand migration. Add #5578's assembly_without_a_growth_observation_does_not_create_a_publication_floor regression. This avoids changing your chosen statistic or touching the serving tests. |
The legacy fallback (typical demand, else the lifetime peak) is for records written before the sent ring existed, which carry sent_peak > 0. Applied to every record with an empty ring, it gave minds with no growth sample a floor, and the serving re-home tests failed on CI (a_climbing_plan_coalesces..., a_jittering_gain..., a_lane_far_below...). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Local receipt, M5, combined tree f7cbd25aa (canary 3e54bfa + #5564 bcfcac5 + #5579 ce265af + #5581 ed666c6), serving down 10:06-10:10Z: continuum-cognition 1199 passed 0 failed; continuum-mind 1142/0; continuum-hands 293/0; continuum-serving 148/0 (incl. rehome::*); continuum-context 25/0; source-hygiene 69/0 (unwired machinery back under baseline). |
…ap_or (unwrap ratchet 1937 -> 1936) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
The lane floor follows a mind's recent growth samples, never a lifetime peak.
The defect (the M5, 2026-10-28)
sent_median_withtook the median of each resident'ssent_peak, a lifetime maximum that only ever rises (record_sent_in_memory:max). The residents' peaks were 188-370k tokens while their recent turns ran 20-43k. The median (Benchy's 339,156) x 1.25 headroom set a 423,945-token requirement. No plan that fit in memory met it, so every runnable plan was refused asserving.plan.below_persona_floor(published=false), and the stale plan stood: from ~21:46Z four residents shared ONE 27,904-token slot (-c 27904 --parallel 1), and Aiko's turns stopped completing (5 asked, 0 complete).The fix
PersonaDemandgains a ring of recent growth samples (sent_recent, serde default, beside the existingrecent/need_recentrings).growth_sample(d)= the max of that ring, else her typical demand (the rulerequirement_tokensalready states: "the typical turn ... never the peak"), else the legacy peak.sent_median_withandsent_ceiling_ofread it.sent_peakstays recorded for the glass box. Test:a_historic_giant_turn_stops_setting_the_lane_floor.Measured
cargo test -p continuum-cognition working_set16/0;cargo check -p continuum-serving -p continuum-gridok.serving.plan.branchplanned_lanes=2 planned_window=27904, published; engine-c 55808 --parallel 2(from--parallel 1). 15-minute live read: posted below when complete. Remaining limit is memory (usable_bytes 16,473,220,710 after the 12 GiB eco reserve), a separate item.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo