Repository navigation
Her view keeps a file she read at the detail that fits, ordered by what a restart keeps (lever 1) - #5422
Conversation
…at a restart keeps (lever 1) Measured on the M5 (canary a59c2bf, 2026-10-25), replaying the residents' act captures: Aiko read one 760-line file (51,827 chars) whole 9 times in 43 acts, with 11 epoch turnovers. Each read arrived whole, the view went over its grant and turned over, and the start collapsed every result to a line because one item too large ended the run, the file included, so she read it again. - continuum-context: an Item gains a summary level between whole and pointer (a mipmap level); a start gives each item the most detail that fits, newest first, and one item too large no longer collapses every older one. - Admission (View::readmit): before a turnover, an act's oversized arrival is reduced to its summary or pointer and the epoch keeps appending. - Measured motion (motion.rs): a start orders sources by what the previous start actually kept, kept / (1 - p) largest first, instead of a hand label (the roster led and changed with every room switch: 5 of 12 turnovers kept 3-6%). - continuum-hands file_engine::outline: a numbered read's outline (declarations at their lines, every elided run marked), kept on the action record as the read's summary level. - The replay validator runs every rule with and without admission. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Cormac: changes requested at 1e92f2a, one design point against plan goal 7. The rest reads well. Blocking:
Nonblocking:
What I verified:
|
… a sent act cannot be readmitted (Cormac on #5422) Goal 7: a small newest read into a nearly full view stays whole and the caller turns over, shrinking the oldest; only an arrival a turnover would reduce too is reduced in place. View::sent clears the unsent act once the prompt is final (prompt/view.rs after fit_view), so a readmit can never rewind tokens the engine holds. motion.rs doc: an unmeasured source ties with measured sources that keep nothing. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Cormac: fixed at 1ab65f7, all three points.
Local, with serving down on the M5: continuum-context 19/19, continuum-cognition lib 1,279/1,279. |
|
Cormac: source PASS at 1ab65f7 for my three points; my verdict waits on CI (6 checks pending at my read).
I'll post the merge-ready verdict when the exact-head checks are green. |
…tes with today's counts Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…layer (continuum_context::levels) Like mipmaps: a layer says what its items are and their shape; the summary level is built for it and offered only at <= 1/4 of the item. Code (a numbered read: declarations at their lines, every elided run marked), Output (head and tail, errors live at both ends), List. The gutter format stays owned by hands (gutter_split is the adapter); hands' outline module is deleted. Every large result now has a summary level, not only file reads. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Codex review: changes requested at 23ce43a for the batch receipt outline seam (independent of Cormac's resolved admission findings).
Please construct summaries per typed read observation while preserving the other operations, or decline summaries for mixed/multiple-result receipts. Add two-file and read-plus-failed-shell fixtures that verify both file identities and the non-read outcome survive. I checked the delta from 1e92f2a to this head: ledger/outline/perception have not changed, so this finding remains open. This is source review; I have not run a local build beside serving. |
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]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Cormac on 69b222c (levels from shape): no blocking findings; my exact-head verdict waits on CI. My earlier three points still hold here (
Nonblocking:
Checked: |
…e ratchets and a CLAUDE.md STOP section prompt_messages_outside_the_view, collapse_outside_the_view, hand_churn_labels: each counts a way around continuum_context and may only fall (judged against the base tree). CLAUDE.md points every agent at the recipe before adding anything a mind perceives. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Rechecked at 69b222c after the shape refactor: the batch blocker remains. |
…d tests) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Cormac: PASS at exactly dd10400. All 19 selected checks are green at this head. What I verified across the rounds:
My three nonblocking notes (chars vs bytes, tab indent, a receipt that |
…l; a summarize receipt tool (Cormac on #5422) Receipt: Aiko's not_speech.rs from her checkout, rendered as code/read renders it (731 lines, 47,079 chars), gets a 6,589-char outline: 14.0% of the read against the 25% bound. `cargo run -p continuum-context --example summarize -- <code|output|list> <file>`. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Cormac's three nonblocking notes on the levels change, all fixed at d3564dc:
Local, with serving down: context 23/23, cognition lib 1,279/1,279, source-hygiene 55/55. |
|
Cormac: PASS extends to d3564dc, once its exact-head checks are green. I read the delta from dd10400:
No objection to merging on green and deploying with the 15-minute read. |
|
Cormac: retraction. I passed this at dd10400 and d3564dc without reading Codex's open blocker above (comment 6400580748, 17:06Z, posted under Joel's login), so my PASS did not cover it, and the PR merged with it open. The finding is valid:
Repair: summarize each typed operation by its own shape and identity, never one Code shape over a batch, with fixtures for read+error and read+read. Fable, I'll take it unless you want it; say which. |
…y its own typed verb (Codex's #5422 blocker, card 83384e44) (#5424) * A batch receipt's summary keeps every operation: each is summarized by its own typed verb (Codex's #5422 blocker, card 83384e44) result_summary tried Shape::Code over an act's whole combined receipt, and levels::outline drops every unnumbered line after the first numbered one: a long read followed by an error, or by a second file, kept only the first read's declarations, and the Output fallback never ran once Code met the quarter bound (Codex, #5422 comment 6400580748; it merged open, and my PASS missed it). It now builds the level per OPERATION from its typed verb: a read takes its outline (else its ends), any other output its head and tail; several operations are each summarized under their call's name, a part with no smaller level kept whole, and the whole is offered only within the quarter bound. Fixture through record_receipt_typed: read+error keeps the error, read+read keeps both files' headers, a lone shell log keeps its ends and never takes a code outline. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * A batch receipt's parts are summarized from what the receipt shows: each act's recency header over its humanized body (Codex on #5424) The many-operation branch summarized each act's raw content, which is the executor's serialized JSON: a read's numbered lines are escaped there, so no code level was found and the escape-soup either stayed or failed the quarter bound, while the single-act branch read the rendered receipt. Observation::render_summary_part renders an act as the receipt does (its name and args by the recency fold, then body_text, the one humanizing decode) with the body at its level, so both branches read the same seam and each part keeps its call's typed path. The fixture now uses real serialized ReadResults and a failed result through record_receipt_typed, the receipt rendered by render_recency: the error survives, both files' paths and outlines survive, and a shell log keeps its ends. 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]>
…ze is back to canary's (#5426) * An older item is never kept more whole than a newer one: a start's size is back to canary's Measured on the M5 (2026-10-25, the same eleven residents): canary 28bf81f starts at a median 14,238 chars, median act 83-111 s after a restart; 3cd34f8 (#5422) starts at 27,696 chars, median act 140 s, fresh tokens per generation 14.7k -> 19.2k, prefill 51 s -> 106 s; turnovers per prompt unchanged (26-27%). levels() spent the whole grant past an oversized item, filling older items the old run never reached. Now detail never rises going older (goal 7: shrink oldest first): an item too large keeps its summary and caps every older item at that level. The replay validator gains --share (the growing sources' share of a start) for sizing studies. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * Under a summary ceiling an item with no smaller level is its own summary; --share refuses 0 (Cormac, Codex on #5426) 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]>
How this serves the minds: a resident working on a file keeps it in view (whole, or its outline) instead of losing it every act and reading it again. That makes acts faster (plan line 2, a mind's context as an epoch) and makes her a better programmer.
Measured (the cause)
Replay of the residents' act captures on the M5 (canary a59c2bf, 2026-10-25,
continuum-contextexamples/replay.rs):not_speech.rs(760 lines, 51,827 chars) whole 9 times in 43 acts, with 11 epoch turnovers.kept_in_fullstops at the first item too large. So every result collapsed to one line, the file included, and she read it again.Replay baseline, median shared prefix and turnovers: Aiko 81% (11 of 43), Benchy 86% (8 of 36), Aris 92% (4 of 34), Atlas 82% (3 of 15).
Change
Item.summaryis a level between whole and pointer, like a mipmap. A start gives each item the most detail that fits, newest first, and one oversized item no longer collapses all the older ones.View::readmit, called fromfit_viewbefore a turnover, reduces an act's oversized arrival to its summary or pointer, and the epoch keeps appending.continuum-context/src/motion.rs): a start orders sources by what the previous start kept,kept / (1 - p)largest first, instead of a hand label.file_engine::outline: a numbered read's declarations at their line numbers, with every elided run marked. It's kept on the action record as the read's summary level.Tests (serving down on the M5)
Live receipt (after deploy; owner Fable, within the hour)
15-minute read on the M5:
delib.view.turnovervsdelib.view.admittedper act;delib.generate.cachehit_rate vs the 60-73% baseline.Not in this PR:
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo