Repository navigation
Conversation
|
Review of #5630 at exact head 92dd889 (Cormac): right change. One scope fix, then I approve. Verified by reading
Scope fix: the room filter is now The longer-term form ties in with my invariant-4 work (card dcf95bce): commands now declare I'll approve the head with the exact match once CI is green there. |
…e (Cormac on #5630) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
APPROVE #5630 source at exact head c2897ad (Cormac). |
|
Local receipts (M5, 2026-10-31 04:50Z–05:06Z, |
…res itself native Her view folds older results and names `tool/output` as the way back to each whole (perception.rs pointers, the actions fold, the open-views banner), but the command never declared NATIVE, so no surface ever offered it. On the M5 (build b7879d8, 2026-10-31 03:00Z hour) Aiko made 19 file reads and 0 reopens; the residents re-read instead. - tool/output declares `NATIVE = true` in its own file; it lands in her hands through the existing `tool/` subtree, and an activity's declared recipe keeps it beside her discovery pair and focus verbs (her own mind's verbs, never a room's rule). - The registry test's `names.len() < 52` cap is deleted: the one allocation prices the surface (`select_granted` refuses past the grant, core hands as the floor), so the hand-bumped count decided nothing. `tool/output` joins the reachability contract. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…e (Cormac on #5630) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…action, match cap, context default or tail size; spill's readers lose their budget HER-TOOLS T1 (the view is the only sizer: `fit_newest_result` already shows the newest result whole, at summary or as a pointer with its handle). - tool/output: DEFAULT_CONTEXT_LINES, DEFAULT_MAX_MATCHES and ContextBudget::render_slice_chars deleted; context lines and max matches are her selection only (none unless asked); with no selector she gets the whole output; byteLength omitted reads to the end. - spill: read_extent/investigate_file take no budget; the 80-line default tail and the per-line scan allowance are gone (every line is read whole); the 2,000-char pretty threshold becomes a shape rule (pretty when the value holds a collection); result_scalars reads the first line only (the second-line read served pre-head-cut text: back-compat, deleted); the content-address width is named for what it is (collision space). Blocked: spill.rs still opens files outside a disk class (writes_outside_a_class, touched-file rule); it lands once ONE-BUDGET row 5's class handle exists. 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
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…d (ts-rs drift) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
c6b9540 to
3ca8095
Compare
|
Superseded: #5807 made tool/output native and rewrote spill/tool_output; the leftover (no budget in spill) conflicts with ONE-ACT 6b 'results only through the codec'. Any remainder goes to 6b. Closed in the 2026-11-07 PR sweep (Joel: 'get it solid with these PRs'); evidence in the sweep's triage table. |
How it serves the minds: her view folds older results and tells her to reopen them with
tool/output, but that verb was never offered, so residents re-read files instead of reopening. Order of work line 2 (a mind's context as an epoch: a fold must stay reachable, plan goal 7).Change
tool/outputdeclaresNATIVE = truein its own file. It reaches her hands through the existingtool/subtree, and a declared recipe keeps it beside her discovery pair and focus verbs.names.len() < 52cap (bumped by hand eight times) is deleted. The one allocation prices the surface:ToolSurface::select_grantedrefuses schemas past the grant, with core hands as the floor.tool/outputjoins the reachability contract.+19 / -26 lines.
Measured (before)
M5, build b7879d8, captures 2026-10-31 03:00–04:00Z: Aiko 19 file reads, 0 reopens; the hour's tool calls had no
tool/outputat all (read_file 17, bash 15, work_create 10, grep 8, ...).Prediction (after deploy, the hour read)
tool/outputcalls above 0 per resident-hour.code/readcalls of a path already read in the same epoch fall.Falsified if reopens stay at 0, or reads do not fall.
Tests
tool_surfacetests pintool/outputin her hands and in a declaredcode/**recipe; the registry test pins it in the native set.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo