Repository navigation
A resident learns between her turns on the node engine (the line to canary) - #6283
Merged
Merged
Conversation
workload stays: canary's workload/ready.rs and steps.rs (#6059) use it now. Stacked on #6277. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ust owner includes
Canary's prebuilt_artifact.rs declares BUILD_INPUTS as a LazyLock over include_str!("../build-inputs.txt");
sync-windows-bootstrap.ps1 still regex-parsed 'pub const BUILD_INPUTS: ... = [...]', which no longer
matches, so the sync threw 'Missing canonical prebuilt build inputs.' It reads the file instead (8 lines,
the same list as the generated block in windows-prebuilt.ps1). Stacked on #6261.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…: continuum-host owns it continuum_host::process_name: the contract and the basename once (mod.rs); the call per OS (proc_pidpath on macOS, /proc/<pid>/comm on Linux, QueryFullProcessImageNameW through a query-only handle on Windows). continuum_process::command_name delegates to it; the ps spawn, the tasklist spawn and the tasklist CSV parser are deleted (the serving daemon's tick spawned ps to read one name, measured on the M5 2026-11-17). Supersedes #6112's first form, which put the OS calls inside continuum-process's logic. Stacked on #6091. Tests: continuum-host process_name (our own pid named by its basename, a gone pid is not; both path separators), continuum-process 5/5, continuum-engine checks. Not run: the Windows arm (Codex, 5090). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… OS branch
continuum_host::process_end: the contract once (mod.rs), SIGKILL on Unix (an ESRCH race reads as gone),
on Windows the handle-pinned, creation-time-checked TerminateProcess and taskkill /F /T for a tree.
continuum_process::{kill9, signal_if_same} delegate; the identity check on Unix stays the process
table's, passed in, and Windows never reads the table for it. The two Windows termination tests move
with the code. continuum-process drops libc and its windows-sys dependency (a test keeps windows-sys).
os_branches_in_logic: owned.rs's 8 sites go to 0, as a touched file must; owned.rs:142's
unwrap_or_else carries its justification. Tests: continuum-host process_* 10 passed, continuum-process
5/5; continuum-engine and continuum-grid check. Not run: the Windows arm (Codex, 5090).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…irst use case, residency, placement and volume scaffolded
Joel, 2026-11-25: design the extensible network for every use case now and beyond; one subclass to start,
scaffolds for the rest. THE-LANE-ON-SAGE.md, "The types".
- UseCase: a decision's typed Situation, Action and Outcome; its envelope (admissible actions, or one
forced; never learned) and its constraint (an outcome no policy may trade: Violation { measured, limit }).
- Policy<U>: choose among the admissible actions, learn from a closed record, PolicyId (name, parameters'
revision). Baseline is generic over every use case, so a new use case runs with no policy edited.
- Measured<T> (Unmeasured explicit), Fraction (refused out of range, never clamped), Ewma and Window views
that declare what they retain.
- Record<U>: the InputRevisions read, the compact situation, the policy, the action, forced/refused, the
outcome once reported. Decider<U>: envelope, policy, record. replay(): another policy on recorded
history, an outcome only where it chose what was done.
- Capacity: Observed (a candidate) or Committed (a Lease: rate, until, Price).
- cases: lane (Continue, Switch, Batch, Idle; per-mind urgency, wait and deadline, depth and cold bytes,
phase, predicted remainder, step and switch times, prefix hits; the overdue mind forced, finish-first,
batches no wider than the Core), and scaffolds residency (continuity a constraint), placement (a peer
only under a lease in force), volume (hot work never on a slower volume with a faster one free).
- NonEmpty<T>: an empty choice, or an empty set of volumes, does not compile.
Tests (continuum-sage decide, 6): the design test (a use case written only in the test runs unedited
under Baseline; a second policy replays its history with no producer or executor; an untaken action gets
no outcome), the lane's envelope, placement's lease rule, volume's hot-set rule, Measured/Fraction/views.
Ratchets pass for the whole line against canary. Stacked on #6112.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…(Codex's review of #6278) - Steady state allocates nothing: actions are Copy slots and bitmasks (lane: Switch(slot), Batch(mask); keys are Copy), the envelope fills a buffer the decider reuses, a policy answers an index, records live in a preallocated ring found by id % capacity, the situation copied in with clone_from. - One counter stamps each decision and each outcome; replay interleaves them in that order and calls learn only for an outcome known at that point and an action it also chose. Regression: A then B decided, B's outcome first: the replayed policy learns B then A, as it did live. - Gate::Defer: a volume decision with no room defers (the pressure owner reclaims) instead of forcing the roomiest full volume. Placement admits a peer only under a lease that outlasts the work's measured run plus transfer and queue, at a price within its budget; unmeasured work cannot be shown to fit. - Verdict: Forced, Chosen, Refused, Deferred (and Vacant for an unused slot), never Option fields spread across one state; Window keeps its samples sorted as they arrive, so a quantile is one index; SLOTS is Mask::BITS. Tests 7 (continuum-sage decide); clippy clean; ratchets pass for the whole line against canary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ecord ring never overwrites an open decision (Codex's re-review of #6278) - placement carries(): run = max(predicted, units / lease.rate) + transfer + queue; a zero or non-finite rate carries nothing. Test: a zero-rate lease and 1 unit/s for 100 units in a 60 s term are refused. - Decider::decide answers Decided::Full { open } when the slot it would reuse holds an open decision: never overwritten, its late outcome is still graded and learned once. Test: capacity 1, A open, B Full, A's outcome checked against its constraint, then B decides. - The allocation claim is stated accurately: nothing allocates once a buffer reaches its high-water mark. Tests continuum-sage (decide 8); clippy clean; ratchets pass for the whole line against canary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…unjustified copy, text or allocation; the lane's decision files are the first Joel, 2026-11-25: every PR repeats the same optimization failures, so the checklist (clones vs refs, strings and JSON, transfers, CPU iteration) must run, not be remembered. source-hygiene's new zero gate: in a hot file's production code, .clone/.to_vec/.to_owned/.to_string/.collect, format!, String::, serde_json, vec!, Vec::new/with_capacity and Box::new are sites unless the line says '// cold: <why>'. Arc::clone is a handle, not a site. First hot files: continuum_sage::decide's record, use_case, policy, measured and cases/lane (the lane decides at every Core step). replay moves to decide/replay.rs, not hot (it runs offline); construction sites carry their cold reason. hot_path_copies is zero; ratchets pass for the line; decide 8/8. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…bound steps next, an addressed mind takes the next step; frame.rs's whole-turn rule is deleted The M5, 2026-11-25 17:02Z: Benchy 38 asked, 0 completed, four minds on one Core. frame::pick kept a running turn on the Core at equal need until it ended, and its wait budget only reordered waiting turns, never the running one, so a short turn waited out every long one. - driver/lane.rs: the driver's pick is continuum_sage::decide's lane use case. Each step it refills an owned situation in place (no allocation past the high-water mark; marked hot-path), decides, and closes the previous decision with its measured outcome. The envelope forces any mind past her bound; NeedFirst switches to a more urgent mind, else continues. - Urgency::wait_bound is the one owner of the guarantee (1 s for every urgency; Joel, 2026-11-24), read by the lane, never a constant in the driver. - frame.rs deleted with its whole-turn tests; Phase::Waiting's cached prefill estimate and Reuse::reused, read only by the old pick, deleted; to_served_prefix renamed reposition_to_served_prefix (clippy). - decide's lane: kv_bytes, cold_bytes and an outcome's tokens are Measured (unknown is never 0); Prefill remaining is u64 (no sentinel); NeedFirst policy with its own test. Measured, M5, qwen2.5-0.5b, a_short_turn_never_waits_out_another_minds_long_one (two minds, one urgency; the short turn arrives after the long one's first token): short 8 tokens in 1.08 s, long 256 tokens in 2.57 s (engine time); the short turn completes first. Under frame::pick it waited out all 256 tokens. persona_scheduler 25/25 (frame's 4 tests deleted with it); continuum-sage decide 9/9; ratchets pass for the line against canary. Not yet: the 15-minute live read on the M5 with four residents. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…istory; the cost model serves Joel, 2026-11-25: decision making belongs on an algorithm subclass, OpenCV-style, over the history we designed for it. #6280's first commit hard-wired NeedFirst and fed it nothing: every history feature was Unmeasured. - decide::Algorithms<U>: a use case's algorithms registered by name and created by name; a name means one algorithm. Policy gains typed parameters (Param, refused out of range, never clamped) and save/load of its learned state as bytes. - cases::lane_history::LaneHistory: per mind, prefill and decode seconds per token, switch-in cost and prefix hits (EWMAs), turn lengths (a window), tokens decoded this turn, KV bytes. The driver reports observations as the executor (switched in, reused, stepped, turn ended, resident, left) and the history fills each mind's features; unseen stays Unmeasured. A mind that leaves takes her track with her. - cases::lane_cost::CostModel: continue while the running mind's next step (or her predicted remainder) fits a margin of the tightest waiter's slack (bound - wait - her switch cost); else bring that waiter in; a more urgent mind at once. Parameter: margin (0, 1]. - The scheduler's config names the algorithm (lane_algorithm; default cases::lane::SERVING = cost-model); an unknown name refuses the engine's start. Measured on the M5 (0.5B, live residents beside it, load average 10), alternating runs of a_short_turn_never_waits_out_another_minds_long_one: short turn 1.52/1.53 s with need-first, 2.06/2.09 s with cost-model; the short turn finishes first under both. The long turn's 3.2-14.7 s is the residents' load. decide 12/12, persona_scheduler 25/25, ratchets pass against canary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…p, starting from its start value or from what this node learned
Joel, 2026-11-25: start from a constant or a procedurally guessed value when no saved state exists,
otherwise from the learned value saved to disk through our saved-state lifecycle; the value must be
allowed to change, like a good control system.
- CostModel::learn: each closed decision with a mind running and another waiting is one reading.
A wait past its bound reads down (switch sooner), every waiter inside hers reads up (run longer).
Rprop step: grows x1.2 while readings agree, halves on a flip, never grows while the margin is
pinned at the whole slack, so it needs no step bounds of its own. Learned state = margin, step,
last direction (17 bytes); a refused state leaves the model as it was.
- Decider::save/load reach the policy's state.
- driver/lane.rs: LearnedLane, a Rebuildable continuum_saved_state kind ("lane-learned", one per
node, contract = the algorithm's name, so another algorithm's bytes are never resumed), beside the
preserved minds. Resumed at the engine's start, saved at every stop; nothing saved starts at 0.5.
Tests: the margin rises on calm readings, the step grows on agreement, a breach lowers it, no waiter
is no reading, a restart resumes the learned margin, empty state is the start
(the_cost_models_margin_is_a_control_loop_both_ways_and_survives_a_restart); LearnedLane runs the
saved-state round trip. decide 13/13, persona_scheduler 25/25, starvation regression passes (short
turn first, 2.08 s), ratchets pass against canary.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…TING_MARGIN 0.9, STARTING_STEP its headroom The slack check already budgets the waiter's measured switch cost and the running mind's measured step time, so the one unbudgeted risk is a step overrunning its mean: the guess spends nearly all the slack and keeps a tenth for that. The first step is that tenth, so one breach reading spends exactly the guessed headroom. Labelled an inference; the loop corrects it, the saved state replaces it after a stop. Tests that are written at a margin set it explicitly. decide 13/13; ratchets pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…measurements, learned per model class Joel, 2026-11-25: no arbitrary middle and no guessed constant; start from a procedure or a classification, or from what was learned and saved. - CostModel holds Option<Learned>. Unseeded, the first contended decision with a measured step seeds it: one of the running mind's measured steps kept as headroom in the waiter's slack, margin = (slack - step) / slack, first step = that headroom. Unseeded with no measured step, it switches (the bound holds). STARTING_MARGIN and STARTING_STEP deleted. - Classification: LearnedLane is keyed by the served model's class (a v5 uuid of its name, one file per model under lane-learned/), contract = algorithm and model. A model this node has served resumes what it learned on it; a new one seeds by the procedure. - PolicyId.parameters is a revision counter advanced by every seed, reading, set and load (an unseeded margin is never reported as 0). Decider::param reads a parameter through the decider. Tests: seeding from the first measurement, and no seed without a measured step (the_cost_models_margin_is_seeded_from_the_first_measurements_it_needs); the control loop falls faster on agreeing breaches and rises on calm; a restart resumes it; nothing saved is unseeded; LearnedLane's round trip with another model's state as the divergent contract. decide 14/14, persona_scheduler 26/26, starvation regression passes, ratchets pass against canary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…it: the reward every learner reads The driver reported every step's tokens to the lane as executor, but the outcome closing each decision said tokens: Unmeasured, so no algorithm could learn throughput. The lane now sums Stepped tokens between decisions and closes each with Measured::Value of them. persona_scheduler 26/26; ratchets pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… linear UCB, and the lane's features for it Any use case that states its features and its outcome's physical targets (Featured) gets a learner with no code of its own: decide::Ridge (several targets on one feature vector, one observation at a time, forgetting toward its prior so an unexcited direction never winds up) under decide::LinearUcb (maximize target 0's optimistic prediction among actions whose loads' pessimistic predictions stay at or under one; exploration is one standard error in the target's own units, so no penalty weight and no exploration constant). Codex's alternative shaped it: predict physical outcomes, never a fixed penalty, grade by chronological prediction error on what was chosen. The lane implements Featured (cases::lane_features): 12 features (times against the wait bound, phase indicators), targets = the share of Core time that served a mind rather than a transition, and the worst wait against its bound. The outcome now carries that transition time (the driver sums each SwitchedIn). The record count is one owner, lane::DECISIONS, which is also the learner's memory. Registered as "linear-ucb"; SERVING stays "cost-model" until a live read says otherwise. Measured (simulated Core, four minds, 300 s, same turns each; tokens/s as the value lost first): need-first 357.4 tok/s, worst wait 1.13 of the bound, turn p50 26.3 s, 41 turns cost-model 357.1 tok/s, 1.08, 26.9 s, 41 linear-ucb 357.0 tok/s, 1.03, 27.2 s, 41; prediction error 0.0074 -> 0.0003 of the Core decide 15/15, persona_scheduler 26/26, source-hygiene 135/135. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…del it matched in simulation Revert this commit if the M5's 15-minute read is worse than the cost model's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… judged as one unit
Benchy on the M5, 2026-11-25 18:27Z onward: every act refused before dispatch ("active tool receipt
has missing, duplicate, or mismatched native call/result IDs"), 24 refusals in 50 minutes, each
logged as persona.act.lane_starved and retried with the same input. Her view (epoch 459, restored at
the 18:25:46Z restart) already showed her newest act's element (actions/15298) at a pointer, so
View::judge_tail dropped her result as shown while her call, a new element, was sent alone; the
batch had a ToolUse with no ToolResult and active_protocol_error refused it on every tick. Her
persisted ids pair correctly (volatile.json receipt 15298: call and toolUseId equal).
judge_tail now keeps an item her view shows under another source's key when an item linked to it
(one follows the other, Cause::Of) is sent in the same tail: the exchange arrives whole, and her newest
result is never cut to the pointer her view held. Sent under its own key stays never-again; an
element shown with nothing new linked to it is still not shown twice.
continuum-context 138/138 (new: a_call_never_arrives_without_its_result); source-hygiene clean.
Follow-up (Fable): a pre-dispatch protocol refusal reaches settle as a string fault classified
LaneStarved, so it defers forever unseen; it should be its own typed refusal that repairs the view.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…its value is the share of her remaining phase served per second Live on the M5, 2026-11-25 19:24 to 19:33Z (build 82750a4), linear-ucb valued only the Core's share not spent on transitions. A switch by pointer is about 1 ms, so switching looked free and lowered the worst wait, and it rotated minds every step: 25 to 378 switches a turn, turn p50 117 s against the whole-turn rule's 17 s, though waits fell (p50 2.6 s, max 5.8 s, against 5.3 s and 49 s). Shortest remaining processing time first minimizes mean time to finish. The outcome now carries `served`, the share of the stepped mind's remaining phase the decision finished (lane::served, one owner; the driver records the stepped mind's predicted remainder with the open decision), and the learner's value is that per second of the Core; each candidate's new feature is the same rate as her history predicts it (one over her remaining time). The wait bound stays its constraint. Simulated, same turns each (300 s, four minds): need-first turn p50 26.3 s, cost-model 27.4 s, linear-ucb 15.3 s; tok/s 357.4 / 357.0 / 356.1; worst wait 1.13 / 1.08 / 1.04 of the bound. Relative prediction error 0.014 -> 0.001. decide 15/15, persona_scheduler 26/26, source-hygiene 135/135. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…fill chunks, never the engine's batch
The M5, 2026-11-25 19:40 to 19:50Z (build 7123): the Core 99.5% busy, 853 bound violations up to
7.5 s, service gaps of 7 to 9 s under a 1 s bound, though the lane decides at every step. prefill_chunk
still sized each chunk to the whole engine batch, by frame.rs's reasoning ("her turn keeps the Core
until it ends, so nothing is sized to yield to another mind"), which outlived frame.rs. A step cannot
be preempted, so one chunk held everyone (Aris: a 32k-token prefill, 24.7 s).
lane::step_tokens (one owner, in the use case): the tightest other mind's slack (bound, less wait,
less measured switch cost) at the stepped mind's measured time a token, between one token and the
batch; the whole batch when no one else is ready or her rate is not yet measured. The driver records
it with each pick and prefill_chunk reads it.
decide 16/16 (new: a_step_is_no_longer_than_the_tightest_other_minds_slack), persona_scheduler 26/26,
source-hygiene 135/135; driver.rs stays at 998 lines.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…t her bound, not after The M5, 2026-11-25 19:56 to 20:06Z (build 7124, chunks sized by the lane): 1,037 bound violations, p50 1.014, p90 1.04, max 2.77 of the bound. The envelope forced a mind only once her wait had reached her deadline; a step cannot be preempted, so the step before carried her past it every time. It now forces the most pressed mind whose wait plus the running mind's measured step reaches her deadline. The simulator now sizes prefill chunks with lane::step_tokens as the driver does. Same turns, 300 s: need-first worst wait 1.01 of the bound, turn p50 27.7 s; cost-model 1.02, 26.9 s; linear-ucb 1.00, 16.2 s, 42 turns. decide 16/16, persona_scheduler 26/26, source-hygiene 135/135. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…raph rebuild after a bind The M5, 2026-11-25 20:10 to 20:20Z (build 7125, 33 turns, 16,730 decoded tokens): a bind averaged 0.28 ms, but the step after it rebuilt the engine's graph. Never-switched turns reused 99% of graphs and spent 5.6 ms a token submitting; turns switched every token reused 0% and spent 11.2 ms. The GPU took ~13.4 ms a token either way. The lane saw only the bind, so a switch looked twenty times cheaper than it is. Stepped now says whether the step followed a switch. A switched step is not one of her plain steps: what it took beyond her plain time a token is her rebuild (its own mean), and her switch cost is her bind plus her rebuild. Every lane algorithm reads it through Mind::switch_in. decide 16/16 (the history test now covers a switched step), persona_scheduler 26/26, source-hygiene 135/135; driver.rs stays at 998 lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…measures it, and a new mind takes the Core's The M5, 2026-11-25 20:39 to 20:49Z (build 7126): 884 bound violations up to 7.9 s, service gaps to 7.85 s, 12 turns. 2860189 stopped switched steps feeding a mind's per-token rate (to learn the rebuild against her plain steps); under rotation nearly every step is switched, so her rate stayed unmeasured and lane::step_tokens stepped her a whole engine batch, the 7123 fault again. - Her rate in each phase is over every step she took, switched ones too (the rebuild in it is a conservative rate to size her steps by); a separate plain rate over unswitched steps is what a switched step is compared with to learn the rebuild. - The history keeps this Core's rate by phase over every mind's steps (the served model's), and fills a mind not yet measured (a new one-off) with it, so her first step is sized too. decide 16/16 (history test: rate over all steps, rebuild against plain, an unseen mind at the Core's rate), persona_scheduler 26/26, source-hygiene 135/135. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…fore anyone passes it The M5, 2026-11-25 20:54 to 21:04Z (build 7127, twelve resident turns at once): 929 bound violations, p50 1.02, max 3.5 of the bound. Each waiter was checked alone against one more step, so a crowd nearing the bound together each looked safe; one is served a step, and the rest overran by a step apiece. Earliest deadline first, counting the queue: a waiter with k more pressed ahead of her is reached after k + 1 steps, so the most pressed goes next as soon as any waiter's slack is within her rank's steps. Ranks are counts over at most 64 slots: no allocation. The same window also showed the honest switch cost working where the lane chooses: switches per generated token 0.91 -> 0.66, graph reuse 9.5% -> 41%, submit 10.7 -> 9.1 ms a token (against 7125). decide 17/17 (new: a_crowd_nearing_the_bound_is_served_before_anyone_passes_it), persona_scheduler 26/26, source-hygiene 135/135. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… behind background work, and the bound still ages everyone Where the Core's time went on the M5, 2026-11-25 21:09 to 21:19Z (build 7128, 99% busy): one-off turns took 245 s of the turn-attributed Core (31 s prefill, 215 s decode; 9,901 of 13,006 decoded tokens), residents 150 s. Twenty of the 21 one-offs were dream consolidation (continuum_academy dream drain and review: generate_text with no persona, max_tokens 490, urgency Content); residents were at Want. The stock learner had no urgency signal and finishes the least work left first, so short dream jobs were served ahead of residents' acts. need-first respected urgency; the learner did not. The envelope now offers a policy only the most urgent class present (CLAUDE.md goal 9: priority, with aging so no mind starves): a less urgent mind is offered when no more urgent one is ready, a running mind that is outranked is not offered Continue, and the bound still forces anyone. Batches only join minds of that class. The same window, against 7127: bound violations 929 -> 339 (max 3.5 -> 2.1 s), switches per decoded token 0.66 -> 0.16, graph reuse 41% -> 86%, submit 9.1 -> 6.4 ms a token, decoded tokens in ten minutes 8,864 -> 13,006 (+47%). decide 18/18 (new: a_less_urgent_mind_steps_only_when_no_more_urgent_one_is_ready_or_her_bound_forces_her), persona_scheduler 26/26, source-hygiene 135/135. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…arning through the day, dreaming in the quiet The M5, 2026-11-25 21:24 to 21:34Z (build 7129, priority classes): residents got the Core back (resident turn p50 12.3 s, down from 60 to 80; Atlas's acts p50 15 s), but twenty dreams at Content were each held to the 1 s wait bound, so the Core rotated through them every second: 2,509 violations (p50 1.05), all background, half the Core spent at the edge of the bound. Joel, 2026-11-25: dreams are occasional (daydreams, deep dreaming at night); continual learning during work is regular but intermittent, at a rate that keeps the queue of what to learn in check. - Urgency::wait_bound is Some(act bound) for Want and Urgent, None for Content; Urgency::act_bound owns the 1 s. Mind::deadline is an Option (no sentinel); Mind::slack and Mind::scale serve every algorithm, step sizing, the crowd check and the features. - The history keeps the background class's account: its backlog (its ready minds' predicted remaining Core time) and served time each decision; arrived = backlog growth + served; owed when the served rate (an EWMA over the lane's replay window) falls behind the arrival rate. A mind with no history of her own (a one-off) is predicted at this Core's typical turn, so her remainder is counted. - The envelope forces background work only when it is owed and no act is crowding its bound; otherwise it steps when no act is ready. sage 82/82, decide 19/19 (new: background_work_keeps_its_queue_in_check_instead_of_a_wait_bound), persona_scheduler 26/26, source-hygiene 135/135. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ery bounded waiter her turn The M5, 2026-11-25 21:45 to 21:55Z (build 7130): background work stepped only in slack and broke no bound; residents' service gaps p50 1.08 s, acts p50 30 s. The 1,005 violations left were all acts, p50 1.02 of the bound: the crowd check priced each queue position at the running mind's time a token (0.2 ms while she prefills), and step sizing left only the tightest waiter's slack, never the turns queued behind her. lane::room: for each bounded waiter, her slack (bound, less wait, less measured switch) less the turns ahead of her, each as long as the longest waiter's measured step and switch; the least of these. The envelope forces the most pressed when the room is within the next step, and lane::step_tokens sizes a step to the room, so a prefill chunk never takes time the queue behind it needs. A waiter whose own switch eats her slack is now forced by the envelope, before the policy is asked. sage 83/83, decide 19/19, persona_scheduler 26/26, source-hygiene 135/135. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…probe a turn (plan S1's live read) The M5, 2026-11-25 22:00 to 22:10Z (build 7131): residents' prefill was 161 s of 600 (27% of the Core); 137k of 493k prompt tokens prefilled again, each act's prompt diverging from what she held 3 to 12k tokens before the previous act's end (Aris: 19,944 shared of 23,303; Aiko: 18,705 of 31,075). A context is a FIFO; something in her tail is rewritten every act, and nothing said what. driver/divergence.rs (cold, once a turn at her bind): when her prompt diverges inside what she holds, persona.engine.diverged probes the shared and rewritten token counts and 96 tokens of words before the point, after it in what she held, and after it in the new prompt. driver.rs stays at 998 lines. persona_scheduler 26/26, source-hygiene 135/135. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ow can grow again Where the residents' prefill went (the M5, 2026-11-25 22:27 to 22:34Z, build 7132, the new persona.engine.diverged probe): 17 divergences rewrote 155,781 tokens; 98% were view turnovers (her recall, awareness and context blocks re-rendered at a new epoch), 2% her own output re-rendered. Aris turned over five times in seven minutes at 5 to 7k tokens of view with a 66,209-token window. Why: from 22:30:06Z the time price of context held her at 18.6 to 19.2k tokens (Priced::Held, measured 12,264..18,030), and its search never leaves the contexts it measured, so a window held small is never measured larger: a control that can only step down (CLAUDE.md, "Control both ways"). Inside that, tools took 8,846 and framing 2,740, leaving her view 5 to 7k, a turnover every act or two, 50k of her window unused. A choice whose held context sits at the top of the measured contexts, with window above it, now holds an upward trial (Priced::Trial): the top plus the spread measured (at least her reply's want), never past the window. Its act measures that context; the next choice is made over the wider range and comes back down if the larger window prices worse. Still open (next): the fresh-tokens-per-act line is fitted against prompt size, so restarts' cold prompts and small windows' turnovers both read as "context costs fresh tokens". continuum-context 139/139 (new: a_choice_at_the_top_of_what_was_measured_tries_above_it), source-hygiene 135/135. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… stops reading restarts as "context is dear" The time price of context fits fresh tokens per act, and whole-act seconds, against the prompt held. A cold act (nothing resumed: a restart, a lost cache, a divergence before any checkpoint) prefills her whole prompt whatever context she holds; its cause is the engine's state, not her context's size. Folded in, every restart steepened the fresh line toward one and the act-seconds line with it, the price held her window small, the small window turned over every act or two, and those turnovers read the same way (the M5, 2026-11-25: Aris held at 19k of a 66k window, five turnovers in seven minutes). A cold act still measures prefill and decode seconds per token; it no longer enters the fresh or the whole-act line. Fits already saved keep their old moments, which new warm acts dilute. continuum-context 140/140 (new: a_cold_act_is_no_evidence_that_context_brings_fresh_tokens), source-hygiene 135/135. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ks is never granted as one shared stream The M5, 2026-11-25 22:45Z (build 7134): serving.grants divided the engine's one stream (n_ctx 262,144, n_seq_max 1) among the residents as if they occupied it together: 197,458 to one mind, 35,238 and 28,422 to Aris and Atlas, none to Benchy, so Aris was served 23,886 tokens and Atlas 18,898, and their views turned over every act or two. On the in-process Core one mind is on it at a time and every mind's KV is her own mapped file, already sized for the whole window: five files of 1,575,813,120 bytes (1.47 GiB, 262,144 tokens at ~6 KB) on a 64 GiB machine. - ContextGeometry carries KvHolding: Shared (llama-server's slots or unified pool: grants share allocated_tokens) or PerMind (the in-process Core). - The serving daemon stores it with the pool at launch; under PerMind the grant inputs offer every demand the whole of one sequence as its target and wish (her need stays as measured), and the pool holds them all. What she holds of it is the time price of context's choice. continuum-serving 181/181 (new: per_mind_blocks_each_offer_the_whole_sequence; the timing-sensitive a_demand_move_publishes_the_grants_without_a_tick failed once under the parallel run, passes alone 3/3), persona_scheduler 26/26, source-hygiene 135/135. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…er own resume path On a hybrid a re-prefill from a checkpoint is not bit-identical to a history decoded token by token, so greedy answers can differ by a token between the two paths with no learning involved. The M5's Qwen3.6-35B, 2026-11-26 03:27Z: a mind that never learned, sent down her path (a detour keeping only the view, then the prompt), answered "<think>\n\nTopeka-Topeka-..." exactly as she did after learning, while the appended mind answered "<think>Topeka-..."; with nothing shared, the cold control matched her and the appended mind said "Ohio" where both said "Bluegrass". The control now takes her path: a detour when she shares the view, a cold start when she shares nothing. learn_port --ignored: 2/2 on qwen2.5-0.5b and 2/2 on Qwen3.6-35B-A3B-Q4_K_M. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…654f3bb) 91e875f moved core/vendor/llama.cpp to 7e654f3bb but left LLAMA_CPP_PIN at a08234c04, so vendor_pin failed at the line and on every branch stacked on it (Cormac, 2026-11-26 03:51Z). vendor_pin 3/3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…and wakes on freed memory (delta10, card 28aac827) WIP for the M5 deploy (Fable): delta10, tested on canary 495a7e1, re-applied three-way onto fable/lane-wired 1712bba with no conflicts. Includes Codex's learning-memory adapter (inference/learning/memory.rs), which Codex keeps out of check-in until the 5090 deploy: this branch is not for merge. - LearnPort: the trainer tells the engine Measure/Load/Seat/Learn/Checkpoint/Release; the engine answers on learning/said. The engine-thread learn slot, learn_step and grant paths are deleted. - A pass reads keys only (DurableStore::pending_keys, a projected query paged at 1024) and one bucket's rows only under its gate (arrivals_in via pending_page, paged at 256); the competence signature is re-minted only when a bucket's rows change. - A seat short of memory is held (HeldOff::Memory) and wakes on resources/free, which the resource authority now says on the node bus. - Probes: training.on_engine.measure_told and training.on_engine.said. Receipts (IntelMac, on 495a7e1): continuum-dreaming training_trigger 69/69; arrivals_in returning every pending row fails 3 tests; ratchets vs 495a7e1 exit 0. Not yet compiled on 1712bba. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…weights (card 28aac827)
The 5090 (2026-11-26, 900 s): 144 Measured, 101 Loaded, 0 Seated. A seat whose optimizer or
workspace lease was refused was held for that one lease; letting the seat go freed its own
weight lease, which covered the hold, so Released seated it again at once: Measure, Load, the same
refusal, in a loop (101 refusals of 36,176,000 bytes = 101 Loaded).
A refusal for memory now holds the bucket until the WHOLE seat fits in the short kind: every row
seating it again leases (its measured weights, optimizer and workspace), counted the way the
authority leases them (seat_bytes). The seat keeps its measured weight rows for that; lease()
takes one borrowed Lease { consumer, rows, whole }. The measure-defect test (a need past the whole
governed device) reads the same whole-seat figure.
Receipts (IntelMac, on fable/lane-wired): continuum-dreaming training_trigger 70/70 (new:
a_seat_refused_its_optimizer_waits_for_the_whole_seat_not_its_own_freed_weights). Mutation:
holding for the refused lease alone fails it at the "own freed weights" assertion. Ratchets vs
7f5ae66 clean except vendor_pin, which was the base's (fixed on lane-wired in e2736ae).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…ays so, once (card 28aac827) The M5 (2026-11-26, build 7f5ae66): 1,454 examples waiting, every bucket keyed to Ornith-1.5-35B, Qwen3.6-35B served. The pass found no bucket on the served base, seated nothing and said nothing at all, so the node looked as if the trainer never ran. waiting_by_base (in_place.rs) replaces eligible_keys: the pending keys split into the buckets on the served base (what a pass seats) and those elsewhere. A pass says the elsewhere set as training.on_engine.unserved_base (served base, bucket count, the bases), only when it or the served base changed since last said. Receipts (IntelMac, on fable/lane-wired e2736ae): continuum-dreaming training_trigger 70/70 (the paging test now also asserts the other base's bucket is listed elsewhere, not seated); ratchets vs 36c7cef exit 0. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…what she learned stays (card 70c24ee8) The M5 serves Qwen3.6-35B, and every pending bucket there is keyed to Ornith-1.5-35B: 1,454 examples nothing on the node learns (training.on_engine.unserved_base). A lesson is her lived text, learnable on any base; a gene and its generations are bound to the base they were learned on. genome/training-trigger/transfer (Privileged; preview by default) carries only what is not learned yet, to Codex's constraints (9913596d): - Nothing of the source changes but where its rest is learned: id, fitted messages, source base and review stay as written; the positions it learned stay its own. Each pending source row leaves pending and names the row its rest went to (Submission::carried_to). - One carried row per source row in the target bucket: id = v5(source id, "carry:<base>"), so a repeat carries nothing (NothingOutstanding); examples = the source's from its learned position; carried_from/carried_offset name the origin, so whatever the target learns traces to it. - ONE atomic ORM batch (create + update) under both buckets' gates, as an owned operation (OwnedKind::Transfer); refused while a seat holds either bucket, or when the buckets pin different policies. The source's newest generation is projected first, so a crash between a commit and its projection cannot carry a learned example. - The engine renders a carried lesson with the target's own tokenizer, per request, as any. - policies_agree is now the one check both moves (rekey, transfer) share, typed to each caller's refusal. The rekey docs no longer claim engine locks it never took. Receipts (IntelMac, on fable/lane-wired e2736ae): continuum-dreaming training_trigger 76/76 (new: only_her_outstanding_examples_are_carried_once_and_the_source_keeps_what_it_learned, a_seat_on_either_bucket_refuses_the_transfer_and_nothing_moves, a_transfer_onto_the_same_base_or_an_unknown_one_is_refused, and the command's preview/apply); mutation (carry from example 0) fails the first at its "only the examples not learned yet" assertion; ratchets vs 23435f1 exit 0. Not yet run on the M5. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…never an abort (card 28aac827)
The 5090 (2026-11-26, PID 35524): std::bad_alloc in the measurement frames passed through
continuum_opt_measure_shadow_graph, declared noexcept with no catch, and std::terminate took the
core down ("Rust cannot catch foreign exceptions"). continuum_adapter_measure and
continuum_opt_shadow_state_write_path had the same shape.
Every learn boundary (learn_boundary.cpp) now runs its native call through one guarded():
done, refused, an allocation failed (std::bad_alloc), or another exception, returned as a
continuum_outcome. Rust reads it as llama::safe::learn::shadow::Native: a caught failure is
refused by its own step's name, never by a native failure string a previous call left (Codex
on b32e31b7); a refusal keeps native code's own, current reason. The optimizer-state write owns
its FILE (closed whatever happens, its close checked when written). The seat it refuses is let
go and held by the trainer as any refusal.
Not in this change (Fable's, on the fork): restoring whatever llama_opt_measure_shadow_graph
changed on the context before it threw (Codex on 90487472).
Receipts (IntelMac, mac-cpu-only): llama lib 29/29; ratchets vs 94ed533 exit 0. The throw
path itself is exercised only by a replay that allocates past the device (Codex's 5090 run).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
The M5 (2026-11-26 05:25Z, build 94ed533, Qwen3.6-35B-A3B at a 262,144-token window): every resident's seat measured 78,339,770,944 or 105,623,459,040 bytes of compute against 55.7 GB governed, so the trainer called each a measurement defect and nothing learned. The fork priced attention at the whole served window; a live step reads only her lesson. LessonRows (continuum-persona-engine) is the one geometry: the reply rows a seat trains and the whole lesson its attention reads. Rendered::rows is its one owner: the port measures a seat by it, and a step checks its lesson against it (a lesson longer on either is TooLong, so the trainer measures again). The fork's measure takes both (19f5daed3). Receipts (the M5): llama learn_test passes (0.5B: 527,023,872 B for 64 reply rows in a 256-row lesson, 528,793,344 B at the 1,024-row window; a lesson shorter than its reply refused). cargo check continuum-engine, continuum-persona-llama, llama --tests: clean. Live 35B receipt next. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…; the KV pad is one constant The M5 (2026-11-26 05:40Z, build 7ba2292): with seats measured at ~7.3 GB (was 78-105 GB), Demetri's seats were seated and then answered step_refused, and training.on_engine.said carried only the kind. why_of reads the reason every refusal, keep and quarantine carries. Fork 26aeb0853: llama_kv_cache::n_kv_pad is the one pad a step's view and a learning measure read (Cormac's review nit). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…loss, and a generation's steps The M5's first live Learned on Qwen3.6-35B (b90a894, persona 8044b75b, 2026-11-26 05:48:53Z) was read off training.on_engine.said with no steps and no loss (Fable). The probe now carries them: a Learned step's optimizer steps and its loss when native code read one, and a Saved generation's committed steps (progress_of, beside said_kind and why_of). Receipts (IntelMac, on fable/lesson-rows b90a894): continuum-dreaming training_trigger 76/76; ratchets vs b90a894 exit 0. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…learns before her next turn The M5 (2026-11-26 05:47Z, build b90a894): residents resumed from disk had every lesson refused, "she could not be brought to the lesson's context: her genes were not served". Her saved basis was only the genes' identity (id:scale), so the engine could not rebuild the adapters her blocks were computed under until a turn of hers handed them back; an idle resident never learned. Gene (persona_scheduler/gene.rs) is one gene as a turn runs it: id, the adapter file, scale; its signature is the one identity two bases compare by (moved out of driver.rs). A turn hands the engine its genes with their files (provider -> submit_for_persona -> GenerationRequest), Basis keeps them, a stop writes them beside her blocks (PreservedMind::genes, serde default: a manifest written before names none), and a resume carries them back. Basis::held_or_loaded loads her adapters again from those files when only they were kept, and refuses when the files do not name the genes her blocks were computed under: never a prefill under other genes. The lesson path uses it. driver.rs 998 -> 991 lines. Receipts (the M5): continuum-engine persona_scheduler 26/26 (the manifest round trip now carries a gene and its file); learn_port --ignored on qwen2.5-0.5b 2/2 run serially (in parallel both share the node bus's Said, as before this change); cargo check continuum-engine and continuum-core --tests clean of new warnings. Live receipt next. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…s (fork 7e81db086) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
The M5 (2026-11-26 06:20Z, build 11d0522): Aiko resumed, her genes loaded again from the files kept with her blocks (persona.engine.genes_loaded speech-discipline:0.12944444), and her step was then refused "optimizer workspace allocation was refused" with nothing saying whether no row was measured for the buffer, the graph outgrew its measured row, or the lease no longer covered it. learning.workspace.refused names required, held, measured, fits and covered. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
The M5 (2026-11-26 06:33Z, build fca144c): learning.workspace.refused MTL0 required 1,795,324,768 held 4,617,194,784 measured 3,911,758,624 fits=false covered=true (CPU likewise, 209,408 within 160,530,464). The admission compared required.max(held) with her measured row, so any lesson smaller than what serving had grown the shared buffer to was refused, and the seat quarantined. The scheduler allocates only required - held (ggml-backend.cpp:3283-3285), nothing when the graph fits: only growth spends memory, so only growth is checked. admits() is the rule, tested: a graph within the buffer is admitted; growth past her row, past a lapsed lease, or on a buffer with no row is refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
The 5090 (2026-11-26): a code lesson measured 1.9 TB, past the whole governed device, so its bucket was held as a defect and never learned. Doctrine: a training example is a budgeted prompt, collapsed, never truncated or parked. - lesson::render_within(lesson, rows): whole when it fits; otherwise her older turns collapse oldest first through continuum_context::ladder (summary, then a marker naming what it stood for). Her framing, the newest input and her reply are never touched; the stored lesson is not changed. - Learning::Load carries a Fit (what the authority governs of each kind beside the seat's weights). The driver measures within it: whole lesson rows when they fit, otherwise fewer (reply kept whole), each probe scaled by the measured overshoot and at most half the last, so probes end at the reply alone (<= log2(whole/reply)+1 dry runs). Loaded says lesson_rows; every Learn carries them as `within`, and learn_port renders render_within at them, so a step learns exactly what the seat was measured for (Fable's two conditions). - learning::leased is the one counting rule for seat bytes (Codex: no two counters); the trainer's seat_bytes copy is deleted. Measured: lesson 5/5 (3 new; mutation that skips the collapse fails 2), training_trigger 76/76, engine --tests checks, ratchets 135/135 vs d119ff4. The model-backed learn_port validators (incl. a zero-room Load sized to the reply alone) are not run on the IntelMac: they need the M5 or 5090. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
… reclaim), replacing six counters Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ume/commit, storage identity, fenced credit, proven never-here; progress in the gate) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…eamer its first Consumer Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ess remainder, Option probe fields), the envelope's first is one named Choice, no MAX sentinel unknown_as_value 218 -> 210 (canary's), unjustified unwraps in touched files 1 -> 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Specify placement under changing host load
…er generation (Cormac, Codex) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… each file's status), and the trainer's three new warnings fixed (an unread transfer field, a test-only id, an unused import) core warnings 14 -> 11 (baseline); ci-change-scope 26/26; training_trigger 76/76. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Nov 26, 2026
…ts unused re-exports, and SeatRun::id outside tests #6283's continuum-core job failed on warnings 11 -> 14; these three are continuum-dreaming's (training_trigger.rs:72, durable/transfer.rs:35, seat_run.rs:147). The caller of transfer_apply already knows where it carried from; only the seat tests read a run's id back. Measured: cargo check -p continuum-dreaming reports no continuum-dreaming warning; training_trigger 76/76 (IntelMac, on 0076c61 + 9be02c0). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…s 12 -> 11) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Nov 26, 2026
…min and grow passes move into continuum_sage::place::Flexbox; a prompt's flex_allocate is an adapter onto it The algorithm lives once, generic over Quantity (Tokens added beside Bytes and Slots), with the caller's tie order and reused buffers (no allocation past the high-water mark). continuum-context's flex_allocate keeps its API for its callers (string ids, u32 tokens) and holds only that diff; its own passes are deleted (244 -> 126 lines), and the never-read warnings field with them. A place's bytes and a mind's prompt now share by the same solver, which the placer's elastic claims call next. Also fixes the replay example, broken by #6283's Priced::Trial (mine). Measured: continuum-sage 106/106 (the_flexbox_shares_bytes_floors_first_then_by_priority, on the 5090's 15:41Z split), continuum-context 140/140 + replay example, cognition llm_deliberation_faculty prompt epoch tests pass; ratchets 135/135. Seen, pre-existing at the base (fails without this change): cognition an_unsaved_newest_result_is_saved_and_pages_instead_of_refusing (113,923 required vs 110,128); mine to fix next. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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 line to canary, in one piece. A resident learns on the node's own engine, between her turns, at full model size. Every commit since #6261 is included, stacked in order (#6261 -> #6278 -> #6280 -> learning line -> lesson rows -> codec collapse -> the paging/Placer design).
Serves: plan goal 8 (learning), the path's step 3. Advances line 3b (one live engine) and UNIFIED-PAGING slices 3a/3b (design).
What it carries
continuum_sage::decide(continuum_sage::decide: one parent for every decision; the lane its first use case, residency, placement and volume scaffolded #6278, The SAGE lane picks the Core's next step: no mind waits past her bound; frame.rs's whole-turn rule deleted #6280).LessonRows), never the served window (fork 7e81db086:n_kvbounded by the lesson, the pad one constant).PreservedMind::genes), so she learns before her next turn.admits()).Placer) and 3b, reviewed PASS by Cormac and Codex.Measured
M5 (Qwen3.6-35B-A3B, live residents), 15-minute windows,
training.on_engine.saidin~/.continuum/probes/continuum-probes.jsonl:Receipt: persona 8044b75b, seat ee97ebb9, learned loss 0.650 then 0.388, saved steps=2 (1795675602547).
Tests at 2ae0fee on the M5:
persona_scheduler+learn_port--include-ignored --test-threads=1, 31/31.5090 (Codex, 08:24-08:39Z): 39 Measured, 0 Seated. 5.18 MB of VRAM governed free against 5.737 GB needed. That is UNIFIED-PAGING slice 3a/3b's to fix; serving restored, no regression.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo