Repository navigation
Her view holds what she read: reply claims measured need (no runaway cap), unclaimed window is her view's, epoch start takes the derived half (ONE-BUDGET slice 6) - #5610
Conversation
…runaway cap), unclaimed window is her view's room, and the epoch start takes the derived half bound (ONE-BUDGET slice 6, first PR) Live on the M5 (ab0466601, 2026-10-30 18-19Z): an act's reply claimed ACT_OUTPUT_CAP (12,288) at a priority above her context while measuring 809-1,641; unclaimed window went to that reply first; and a turnover started her growing sources at a fixed quarter. Benchy: granted=21346, appended_per_act=16565, room=0 -> every act turned over and collapsed every earlier read; 75 reads/greps and 2 edits in an hour, one file read 8 times. - reply_claim: want = her measured need (or the reply-sized prior until measured), at least a pending cut's retained measured peak as DEMAND (not doubled again; the registry already counts a cut channel double). No cap, no runaway, no PASS_RUNAWAY_MULTIPLE. - view.rs: no runaway claim above her context; the fit reserves the reply's grant; what no claim took is her view's room (view_room = unallocated). The request's max_tokens is the new `output_window`: the window her fitted prompt leaves. - epoch.rs: the start takes the derivation's half bound (reserve >= growing), or less only when one act's appends need it. EPOCH_START_SHARE deleted. - ACT_OUTPUT_CAP deleted. Tests rewritten to the contract; a regression test pins the start at the derived bound (a quarter fails it). Next, owned: WORKING_WINDOW_TOKENS becomes a measured prefill-cost term in the epoch start (it stands in for a real cost; not deleted bare). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…leaves), verbatim Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… prompt at the measured density; core's view fixture carries output_window Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…kes the refused bound fit the reduced prompt (my recompute let a third attempt through) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…newest-result refit's typed capacity refusal, never a third request (with room for her view the newest result starts whole, so that refit now runs) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…opportunistic bound, and the retry's bound is recomputed for the reduced prompt at the measured density Reducing the prompt to keep a whole-window bound traded her context for output she does not need and refused after one call; the reserve is what the reduction must leave room for. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…t the whole remaining window: the refusal-and-refit protocol assumes a fixed bound, and a cut grows the next claim from the evidence Removes output_window: each refit fix moved the failure because a whole-window bound changed what a provider refusal means. The starvation's causes stay deleted (the runaway cap above her context, unclaimed window handed to the reply, the quarter start). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Review of #5610 at exact head aaa05b8 (Cormac, independent: not my session): one blocker, otherwise the right fix. I read the diff of Right:
Blocker: the doc and PR body describe a mechanism the code doesn't implement.
Please make the code, the doc comment and the body say one thing. I believe the code is the right choice. Measured need as
Not blocking (debt for slice 6, owned): |
…d_answer); reply_claim's doc states the grant is max_tokens and the cost it accepts (Cormac on #5610) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
APPROVE (Cormac) at exact head 32b59ee, conditional on exact-head CI green (2 pass, 10 pending at review time). Verified with
My blocker is resolved. Not built or run here. |
…repeats, typed outcomes never graded, L7 by controlled probes, reversal counter, the live gap from #5610 and the two steps to L1, section 10 decided) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… disk and a mind's context (design) (#5607) * One Budget: one authority, one algorithm, one contract for VRAM, RAM, disk and a mind's context (design) Rewrites MEMORY-AUTHORITY-DAEMON.md (VRAM-only, 2026-07-20) as ONE-BUDGET.md and repoints the six code comments that cited it. Design only: the contract, the ratchets that drive one-offs to zero, and the crate-sized rewrite with owners. Built from four read-only inventories of canary 365f70f (VRAM, RAM, disk, prompt). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * One Budget: slice 0, enforcement first (consolidated budget_discipline, touched-file-is-clean, no exemption markers) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * One Budget: slice 6 in detail — a mind's context on every machine (the 10-30 live defect, the contract, deletions, two-node-class validation) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * One Budget slice 6: validation on the RTX 3090 and the M4 32 GB (Joel), plus the M5 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * One Budget slice 6: validation sweeps measured node profiles, so an unknown machine is covered by its own profile (not a list of boxes) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * One Budget slice 6: first PR's deletions; the pending cut peak kept (a measurement); the window knee replaced by a measured prefill-cost term next, not deleted bare Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * One Budget: the five safety contracts from Codex's review (grant shrink is a request with generation-bound leases; atomic multi-resource admission; missing/stale/failed resize are typed states; durable is not cache; demand vs feasibility vs allocation) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * Mind context: causality in the type (items carry cause + content; the view enforces causal closure, whole chain heads, fold-not-break, cycles rendered as repeats, misses raise claims); chains are the flexbox's claim units Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * Mind context causality, per Cormac's review: repeat identity = (normalized request fingerprint, outcome content hash); overflow folds finished chains whole, live skeletons over the grant are contract 5's typed refusal; typed stable causes + CauseNotHeld; Root counted; hash at spill; miss = the one expand verb; owners Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * Mind context causality, per Codex's review: same output is not the same effect (occurrences kept with receipts; 'unchanged' only on producer evidence); CauseNotHeld is a durable handle, not demonstrated closure; the validator proves visible progression, live work proves behavior; three fixtures Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * Typed boundaries: strings are the enemy (inventory, contract, ratchet, slices with owners) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * Typed boundaries, per Cormac's review: commands typed per module (no central verb enum; kernel dispatches a typed CommandUri by registration); the ratchet counts exactly on #5609's site machinery; id rendering in a floor crate below airc and continuum; ts-rs for every client-facing type; T4/T6 ownership Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * One Budget slice 6: max_tokens is the reply's measured grant (the whole-window bound was tried and removed; the refusal protocol assumes a fixed bound) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * One Budget: acceptance test for the user's own load (a game or Photoshop starting and quitting): grants shrink as requests, the engine pages KV live with no relaunch, windows follow at epoch starts, and grow back Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * SERVING-ENGINE S2 in detail: reconfigure grows or shrinks live, its own module (server-reconfigure, one slot-page mover shared with save/restore, one rebuild_context), typed outcome, never truncates, validator Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * S2: the split is weights vs contexts (load_weights / build_contexts), fused today in common_init_result, the speculative init and load_model; the page is the existing prompt-cache state Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * S2: reconfigure is a task in the task phase (the fork's own SLOT_SAVE safe point); mid-turn slots continue; stable slot ids; a busy slot past a smaller n_seq is refused by name Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * Requirements: how a mind gets what she needs. Closed loops, not open-loop rules: the contention (space and time, many minds, many activities), twelve requirements, the adaptive systems each loop borrows from (traffic signals, PFF working sets, BBR, MLFQ, codec rate control, foveation), seven loops by timescale, fifteen scenarios with measured pass criteria Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * How a mind gets what she needs: plugged into the grid governance (nested market, placement first, adapt within); her context is one claim among her output, genes, hands, senses, dreaming and memory; R4 cleared by price; L0 placement loop; the value-unit question Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * How a mind gets what she needs: Cormac's review folded in (faults vs repeats, typed outcomes never graded, L7 by controlled probes, reversal counter, the live gap from #5610 and the two steps to L1, section 10 decided) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * How a mind gets what she needs: decode seconds are a cost; output is bounded by space and the lane-time price (Cormac's approval condition) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * The proving ground: a system that proves the system, one mind to the grid. Only the world is simulated (calibrated from measurements); the policy code is production; workloads from captures; fidelity tiers T0-T3; a known-bad suite of every incident we shipped; the prover must predict live within published error; build order joins the existing dyno, contend, flow sim, serving-replay, capacity sim and grid tests Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * The proving ground: Cormac's review folded in (P9 content-free reductions on the node; clock and RNG seams with a ratchet; the behaviour model declares its support and out of support requires T2; section 10 decided: no fixed error bound, the hardware classes, known-bad blocks merge) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * S2: the safe point is between batched decode steps (unfinished generations page out and continue); a slot that does not fit is paged out now and L4 chooses; reconfigure reports pause seconds vs tokens held; per-backend footprint (Cormac's review) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * S2: a busy slot past a smaller n_seq is paged out now with its unfinished generation, not refused (one rule with contract 2; Cormac) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * MIND-CONTEXT causality: the render receipt (what was actually sent, per item: level, sent content hash, Resident/Loaded/LoadFailed), one per render from the view; task wakes discharge only on a whole result actually sent (Codex) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * The multi-persona tuning campaign: three nodes on their own (M5, 5090, IntelMac), one latest everywhere, the prover first, each fix predicted then live, rounds per node until the plan's goal-2 gates and the design's invariants hold for a day Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * Campaign: what live teaches goes into the simulation first; design merged for everyone, then fix for one another and merge as we go (Joel) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
It serves the minds by letting a resident keep the files she just read, so she edits instead of re-reading. Goal 7, One budget, slice 6 of #5607; it unblocks goal 2.
Live defect: M5, build
ab0466601, 2026-10-30 18–19Z.ACT_OUTPUT_CAP = 12,288at a priority above her context. Its measured need was 809–1,641 tokens.granted=21346 appended_per_act=16565 room=0. Every act turned over and collapsed every earlier read.Change:
ACT_OUTPUT_CAP,reply_runawayandPASS_RUNAWAY_MULTIPLEare deleted.view.rs: unclaimed window is her view's room (view_room = plan.unallocated), never the reply's.max_tokens: the reply's grant, her measured need. I tried a whole-remaining-window bound and removed it: the provider refusal-and-refit protocol assumes a fixed bound.delib.emission.cut_mid_answercounts these cuts.epoch.rs: the start takes the derivation's half bound.EPOCH_START_SHAREis deleted.Debt, owned (slice 6):
WORKING_WINDOW_TOKENSbecomes a measured prefill-cost term.ACT_LATENCY_BUDGET_SECSandPASS_LATENCY_BUDGET_SECSmove into the one declared latency goal.Measured
CI: green on all 13 checks at
aaa05b8f0.Owed after deploy: a 15-minute live read on the M5 against today's baseline. Owner: Fable. Deadline: the first deploy after merge.
delib.view.sizedturnovers per actdelib.emission.cut_mid_answercuts per act🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo