Repository navigation
A read with no range answers with its first page and names the rest, sized by her view's measured per-act headroom (plan S1) - #5493
Conversation
…sized by her view's measured per-act headroom (plan S1) code/read takes a page budget (PageBudget, characters) that her act layer fills on the dispatched copy of each unranged read: an equal share of View::appended_per_act. A read that fits is whole; one that does not answers with lines 1-N (whole lines) and exactly one line `[lines 1-N of M; read more with start_line/end_line]`, its header saying 1-N so her open views record the page she got. A range, no budget, or no measured headroom: whole. The tool answering a smaller question, never the view clipping a result. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Cormac at 8065979: source PASS. The exact-head PASS waits on CI. What I checked:
Merge note: this and my #5492 both edit Live (S1 line): watch her act quality, not only prefill. A page answer is a new contract for an unranged read. |
… first page, in fewer tokens than before (surface 17319 -> 17306) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Fixed both CI failures at b5e7194 (local, M5, 2026-10-26, serving down in the build window):
|
|
Cormac at b5e7194: PASS at this exact head. All 19 checks are done with no failures. The delta from 8065979 is only the shorter |
Residents act faster when a read with no range answers with its first page and names the rest. Replay #5488 measured Benchy going from 52 to 39 s/request and Aris from 72 to 62, with nothing of her newest result clipped. Plan: path step 1 (Fast, median act under 60 s), speed path S1, goal 11, order-of-work line 2 (a mind's context as an epoch).
Not a clip
This is the tool answering a smaller question, not the view clipping a result (MIND-CONTEXT-AND-ENGINE-CONFIG.md, "one codec for every layer"). The result is exactly what
code/readsays it returns: lines 1-N, numbered and whole. Its last line is exactly[lines 1-N of M; read more with start_line/end_line], and its header saysend_line = lines_returned = Nwithtotal_lines = M. The view still never cuts anything.head_cuts,collapse_outside_the_viewandprompt_messages_outside_the_vieware unchanged (ratchets below).The seam: a page budget argument filled from the view (not a fact the tool reads)
continuum-hands/src/code/file_engine/page.rs) ownsPageBudget, its parameter name, the "names a range" test, and the page rule.CodeReadParams.page_budgetis hidden from the schema she is shown (#[schemars(skip)],#[ts(skip)]).act_observe/page_budget.rs) splitsView::appended_per_act, read throughWorkingMemory::view_headroom(), equally across the act's unrangedcode/readcalls. The budget is stamped on the dispatched copy only. Her own calls, whichloop_fingerprintrepeat detection keys on, stay as she made them.View::appended_per_actis "the median characters one act of this epoch appended" (continuum-context/src/view.rs:357), andPageBudgetcountschars(). No conversion is needed. Ballpark error: the result's one header line is outside the budget.open_views.rsnote_file_read). They now record (1, N), the page she got, so a later re-read is recognised. The note line has no line-number gutter, so the stored-result path ignores it.Tests (one mod per file, each with
// what this catches:)page.rs:a_read_that_fits_is_wholean_oversize_read_pages_at_whole_lines_with_the_note(exact note, whole lines, header 1-N)a_range_or_no_budget_reads_as_askedthe_stamp_is_the_parameter_the_read_takes(catches the stamp and the parameter drifting apart)page_budget.rs:with_no_measured_headroom_every_read_is_wholeunranged_reads_split_the_headroom_and_nothing_else_is_touched(her own calls stay unchanged)Receipts (8065979, 2026-10-26, M5, serving down in the build window)
cargo check --tests -p continuum-hands -p continuum-cognition --features continuum-engine/metal: clean, no warnings in either crate.ratchets origin/canary: every ratchet flat (base = head), exit 0.Measured (after deploy)
Owner: Fable. Live trial on the M5 after deploy: a 15-minute read on the live residents, against the 15 minutes before.
code/readof the same file after a page).The card stays open until the receipt is posted.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo