Repository navigation
A learner pages out when her pass ends, and a memory shortfall ends the pass instead of waiting - #5925
Conversation
…he pass instead of waiting Joel 2026-11-11: "No such thing as permanent in our dynamic system. Why would you grab what you aren't actively using." A pass now ends by settling: publish what she learned since her newest generation, then unload her shadow (its optimizer with it), release her leases, and release the engine's learning workspace with its last learner. Her next pass seats her from the durable generation and restores it. Progress a checkpoint did not confirm keeps her seated, so it is published, never learned again. A memory shortfall (seat or cover) now ends the pass holding nothing with a typed probe (training.in_place.memory_short); the 30 s tick or a serving change runs the next pass. The memory wait, its engine-replacement select and their test are deleted. Live-engine fixture (qwen2.5-0.5b, CPU fork 316ad8b92 line): after the first pass nothing is seated, custody holds nothing and the engine holds none of her residencies; a third arrival in the same life restores the generation and commits exactly one more step. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
|
Fable review of #5925 at 68eb0fa (card 07fd25e2), source read of the whole diff (not run here: the M5 is serving). PASSED. |
… (timer audit H3, H4, H14, H17, H18) (#5991) H3 lanes: parked non-directed callers wait on `released` alone. It now fires after every change that can admit (budget permit back, ticket given up or granted, budget grant aging an ambient caller, held-work wait ending, grown pool), and the release's wake fires after its permits return (it ran in the permit's Drop body, before the fields dropped: the missed wake the three 1 s arms hid). Arms deleted. H4 lane_send: a 503/refused POST mid-relaunch resends on the serving daemon's next live publish after the POST, bounded by DEFAULT_SERVING_WAIT; linear backoff and its two constants deleted. H14 training_admission: await_training_change and SERVING_BUSY_RETRY deleted (no production caller since #5925); TrainingWait::Serving carries the typed GateRefusal. H17 embed lease: the retry waits on the LeaseBoard change that makes room, bounded by the authority's own tick, instead of a fixed 2 s sleep. H18 lane memory headroom: re-judged on each MemoryPressureMonitor publish (subscribe_published) instead of a 5 s poll. Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Opus 5.5 <[email protected]>
Joel 2026-11-11: "No such thing as permanent in our dynamic system. Why would you grab what you
aren't actively using." A pass now ends by settling: publish what she learned since her newest
generation, then unload her shadow (its optimizer with it), release her leases, and release the
engine's learning workspace with its last learner. Her next pass seats her from the durable
generation and restores it. Progress a checkpoint did not confirm keeps her seated, so it is
published, never learned again.
A memory shortfall (seat or cover) now ends the pass holding nothing with a typed probe
(training.in_place.memory_short); the 30 s tick or a serving change runs the next pass. The
memory wait, its engine-replacement select and their test are deleted.
Live-engine fixture (qwen2.5-0.5b, CPU fork 316ad8b92 line): after the first pass nothing is
seated, custody holds nothing and the engine holds none of her residencies; a third arrival in the
same life restores the generation and commits exactly one more step.
Co-Authored-By: Claude Opus 5.5 (1M context) [email protected]
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE