Answer prose round 2: 0 🔴, 12 🟡 (0 misread); pair each option with its trial and put the conclusion first, tell the two read measures apart, move the security workaround into the skill, and restate items 238 to 241

This commit is contained in:
2026-10-27 02:17:30 +01:00
parent d96e5c35ef
commit 172e72ae07
3 changed files with 18 additions and 22 deletions
+7 -11
View File
@@ -80,12 +80,16 @@ loop-claude hands each worker's claude `CLAUDE_CODE_AUTO_COMPACT_WINDOW=200000`
Why 200k. Item 231 asked for the best means to lower what a chunk spends on context, in dollars, then hours, with no loss of quality. Measured from loop-claude's archive, the 90 chunks with messages after the routing figures' reset of 2026-10-21 cost $1,215 at the list prices read on 2026-10-26 (Opus 5.5: $4 per million input tokens, $5 and $8 for 5-minute and 1-hour cache writes, $0.20 for cache reads, $20 for output; no model but Haiku 5.5 charges more above 200k). That is 0.86 of what the chunks' `cost-state` entries sum to, since some chunks' subagent transcripts are not in the archive. Worker main threads cost $375 (31%): 1-hour cache writes $149, cache reads $153, output $74. Subagents cost $840: 5-minute cache writes $379, output $274, cache reads $187, with the principles auditors at $274 over 342 runs, the stability reviewers $179 and general-purpose subagents $192. A worker starts at 41k tokens of context and peaks at a median 167k, one in ten past 358k, the largest at 848k. The worker's messages above 200k were 32% of its messages and 55% of its cost.
The options item 231 named, simulated on those chunks:
What reads cost, and whether a tool cuts them, measured at lilleman's ask after those figures: no tool cut a reviewer's reading without losing a finding, except a scout, whose findings stayed within what the same reviewer finds twice; so none of them ships here, and items 240 and 241 ask lilleman about two trials. Two measures of reading: the characters a thread read, 93M in all, about 27M tokens; and the new input tokens of the messages that took results in, charged to those results, which also count what arrives beside a result, such as the agent's own previous reply. By the second measure tool results caused $620 of the $1,215, and reads (Read, Bash reads, Grep, Glob and git's diff, show and log) $537 of that: the worker's reads $140 (Bash reads $115, Read $12) of its $190 of results, the principles auditors' $133 (Read $109, Grep $22) of $139, the stability reviewers' $97 (Bash reads $79) of $106, general-purpose subagents' $84 of $97, the prose reviewers' $32, the architects' $30 and the product-owner reviewers' $21. By the first measure the worker's reads are about $45. Precision is low everywhere: of the characters a principles auditor read, 13% were in a file its report names; a stability reviewer 8%; a prose reviewer 18%; an architect 11%; the worker 4% in a file it later edited. Reading is mostly to find things and to learn what a project holds. The worker's `sed` ranges are small, median 25 lines, one in ten over 80. Of the worker's read characters, 49% were of a file it had read earlier in the thread: 36% within three messages, paging through it, and 13% later, with the file unchanged, about $6 of the $45; a reviewer's later reads of an unchanged file it had read are 1 to 2% (item 239).
The trials: four stability rounds and five principles rounds archived on 2026-10-23, each holding 🔴 or 🟡 findings, replayed on the project's rung as `review-replay` replays them, with the reviewer's definition changed through `--agents`; and three worker-like tasks, a search, a rename and an explanation, run on fresh clones at the project's rung. The baseline, the reviewer as it is, found 4 of its own 6 archived findings in each pass, so a variant that finds 4 or 5 of 6 does what the same reviewer does twice. The options item 231 named, each simulated on the 90 chunks and, where lilleman asked, tried:
- Compaction of the worker. The saving and the compactions per chunk, by the point it compacts at: 150k saves $75 at 1.0 compactions; 167k to 180k, where a 200k window compacts, $77 to $78 at 0.8 to 0.7; 200k $78 at 0.5; 300k $54 at 0.2. $78 is 21% of the workers' $375 and 6% of all spend. Compaction also caps the 36 re-writes of a whole context after a gap longer than the cache's hour or a change of rung: they cost $61, up to 785k tokens each, and would cost about $34. Compacting subagents at 150k costs more than it saves, since a compaction reads the context once more and writes a summary, and subagents are short.
- A fresh context for the review phase, handed 60k tokens of facts, saves $39. A compaction at 170k saves that too, and loop-claude would need a second session per chunk.
- Read with an offset and a limit, or Grep, in place of `cat`, `sed` and `head`. The worker's tool results were 13.2M characters, 65% of them Bash reads, and 13% of those characters came from whole files; the rest were ranges. A token a worker reads costs about $8 per million to write to the 1-hour cache and $0.20 per million at each later turn, so all the worker's reads cost about $45 and the whole-file ones about $6. A rule would change the tool, not how much is read.
- Code-intelligence tooling: the `LSP` tool, with a language server per language on PATH, replaces a grep and the reads of candidate files with one lookup. Its ceiling is the same $45, and each machine would need a server per language (goal 2). Not tried, and not worth an item while the worker's reads stay under 4% of spend.
- Read with an offset and a limit, or Grep, in place of `cat`, `sed` and `head`. Steering the tool would not change how much is read: the worker's `sed` ranges are small already, and only 13% of its Bash-read characters came from whole files. A rule on how much to read did change it: under "never read more than 80 lines of a file at once, nor take a tool output over 3,000 characters into your context", the three worker tasks read 45% to 60% fewer characters at the same or lower cost, every task done as well, and the rename was the one run of four that also kept the import names sorted; item 240 asks whether workers get the rule. A stability reviewer under the same rule with an `outline` script on PATH, which prints a file's symbols with their line ranges, read 4% less and found 2 of 6 findings, and the workers never ran the script.
- Code-intelligence tooling: the `LSP` tool, through a pyright plugin built from the marketplace manifest with `pyright-langserver` on PATH, answers a file's symbols, a definition or the references in a few hundred characters. Under a rule telling them to use it, the stability reviewers and the workers never called it; the auditors did, read as much or more, and missed the one 🔴, 0 of 1 against the baseline's 1 of 1. Each machine would also need a server per language (goal 2). Not worth an item.
- A cap on tool results. Claude Code caps a Bash result at about 30k characters already. A PostToolUse hook capping it at 12k, which `updatedToolOutput` allows, left the stability reviewers 3 of 6 findings, two lost in one round. Read results, 59.9M characters in subagents' threads with 58% of their characters in results over 12k, are out of such a hook's reach. Not worth an item.
- A scout: Haiku 5.5 reading raw content, whole files or long output, and returning facts as path:line and the ranges worth reading, so the agent's own context holds the summary and the chosen lines. In session, as an agent under `agents/`, its first request writes 37k tokens, $0.005, and a read of a 38KB file costs $0.008 in 8 seconds. As a slim headless `claude -p` with its own system prompt, no setting sources and no dynamic sections, which keeps the subscription login, it starts at 6k tokens and $0.0003 in 3 to 5 seconds, its prefix cached across calls, and the same read costs $0.004 in 7 seconds; a direct API call and `claude --bare` need an API key, so they are out. Stability reviewers with the agent scout found 5 of 6 findings and read 29% fewer characters at 6% less cost and 14% more time; with the CLI scout 4 of 6, 38% fewer, 17% less and 39% more; the auditors with the agent scout 3 of 6, the 🔴 among the lost, at the same cost and twice the time. Workers offered the scout never called it. Item 241 asks whether reviewers get one; `AGENTS.md` makes a change to the delegation rule lilleman's call.
- What a reviewer reads: the auditors read the project whole by design. Of their 🔴 and 🟡 findings since the reset, 47% named a file the chunk edited and 51% another file, so reading only the change would drop half of them; item 236 asks lilleman about that scope, and item 233 has one auditor read the project once per round.
- The base context: every thread starts with `~/.claude/CLAUDE.md` (19k characters), `~/.claude/AGENTS.md` (11k, this repo's decisions, which Claude Code loads as user instructions into every project's sessions; item 52), the project's `AGENTS.md`, and, for the worker and general-purpose subagents, the skill listing (18k) and the agent listing (12k). Subagents' first messages wrote $97 of it. Trimming the listings would save about $20, 2%, and is not worth an item: `disableBundledSkills` would also drop `/security-review`, the security pass of record.
@@ -93,14 +97,6 @@ Quality. 19 chunks compacted between 2026-10-10 and 2026-10-22, at the compactio
Hours. A chunk ran a median 0.7 hours from its first message to its last, one in ten past 12 hours, mostly waiting for the human or a usage limit. No option here changes that: a compaction takes 51 to 83 seconds, under a minute per chunk at 0.7 each, and a smaller context saves seconds per turn at most. The hours lever is item 232, since waiting on subagents took 66% of a worker's active time.
Reads and tools, measured the same day at lilleman's ask, on the same 90 chunks:
- What reads cost. The messages that took in tool results carried $537 of the $1,215, 44%: the worker's $190 (Bash reads $115, Read $12), the principles auditors' $139 (Read $109, Grep $22), the stability reviewers' $106 (Bash reads $79), general-purpose subagents' $97, the prose reviewers' $34, the architects' $31 and the product-owner reviewers' $23. These figures charge a message's new input tokens to the results it took in, so they include what arrives beside a result, such as the agent's own previous reply; the 93M characters read alone are about 27M tokens.
- Precision. Of the characters a principles auditor read, 13% were in a file its report names; a stability reviewer 8%; the worker 4% in a file it later edited; a prose reviewer 18%; an architect 11%. Reading is mostly to find things and to learn what a project holds, as lilleman read it. The worker's `sed` ranges are small, median 25 lines, one in ten over 80. Of the worker's read characters, 49% were of a file it had read earlier in the thread: 36% within three messages, paging through it, and 13% later and unchanged, about $6 of the $45 its reads cost; reviewers 1 to 2% (item 239).
- Tool results. Claude Code caps a Bash result at about 30k characters. Subagents' Read results, 59.9M characters, have 58% of their characters in results over 12k.
- Trials on this repo. Four stability rounds and five principles rounds archived on 2026-10-23, each holding 🔴 or 🟡 findings, replayed on the project's rung as `review-replay` replays them, with the reviewer's definition changed through `--agents`; and three worker-like tasks, a search, a rename and an explanation, run on fresh clones at the project's rung. The baseline reviewers found 4 of their own 6 archived findings in each pass, the spread a sample this small sits in. The LSP tool, through a pyright plugin built from the marketplace manifest with `pyright-langserver` on PATH, answers a file's symbols, a definition or the references in a few hundred characters; the stability reviewers and the workers never called it under a rule telling them to, and the auditors who did read as much or more and missed the one 🔴 (0 of 1 against the baseline's 1 of 1). An `outline` script printing a file's symbols with line ranges: never called by workers; stability reviewers under its rule found 2 of 6 findings. A PostToolUse hook capping a Bash result at 12k characters: 3 of 6, two lost in one round. A scout, Haiku 5.5 reading raw content and returning facts and line ranges: as an in-session agent its first request writes 37k tokens, $0.005, and a read of a 38KB file costs $0.008 in 8 seconds; as a slim headless `claude -p` with its own system prompt, no setting sources and no dynamic sections, 6k tokens, $0.0003 and 3 to 5 seconds of startup, its prefix cached across calls, and the same read $0.004 in 7 seconds. Stability reviewers with the agent scout found 5 of 6 findings and read 29% fewer characters at 6% less cost and 14% more time; with the CLI scout 4 of 6, 38% fewer characters, 17% less cost and 39% more time; the auditors with the agent scout 3 of 6 at the same cost and twice the time. Workers offered the scout never called it, but its reading rule alone, never read more than 80 lines of a file yourself, cut their reading 45% to 60% at the same or lower cost, with all three tasks done as well.
- What follows. On this sample no tool cuts a reviewer's reading without losing a finding, except the scout, whose saving sits within the baseline's own spread; so none of them ships here. lilleman decides two trials: a reading rule for workers (item 240) and a scout for reviewers (item 241). A direct API call and `claude --bare` are out, since both need an API key where lilleman's login is a subscription.
Valid while cache reads cost a twentieth of input and Claude Code's compaction keeps the worker's task.
## machine load: a heavy command waits for one of the machine's heavy slots, one for every 4 CPUs, which every session shares, and loop-claude starts a worker only while at least a quarter of the machine's memory is available
+1 -1
View File
@@ -136,7 +136,7 @@ The comprehension check records how hard the project is for its contributor to r
### Security
`/security-review` over the branch diff is the pass of record, except where the full scan runs on the same change and replaces it. Where the full scan fires but does not run — skipped on a precedent, declined at its cost prompt, or unavailable — `/security-review` runs. Launch a general-purpose subagent that invokes it through the Skill tool, edits nothing, and replies with the skill's report, or that the skill is unavailable. Invoked in your own context, the skill ends your turn on that report. Open its prompt, and that of any subagent that runs the full scan, with `You are the security pass for this chunk.`: rule-hook reads that sentence as a security launch.
`/security-review` over the branch diff is the pass of record, except where the full scan runs on the same change and replaces it. Where the full scan fires but does not run — skipped on a precedent, declined at its cost prompt, or unavailable — `/security-review` runs. Launch a general-purpose subagent that invokes it through the Skill tool, edits nothing, and replies with the skill's report, or that the skill is unavailable. The skill runs in the session's working directory, so where the chunk's worktree is another directory, run `claude -p /security-review` in the worktree on the project's rung instead (`todo.md` item 238 fixes the launch). Invoked in your own context, the skill ends your turn on that report. Open its prompt, and that of any subagent that runs the full scan, with `You are the security pass for this chunk.`: rule-hook reads that sentence as a security launch.
A verified HIGH inside this chunk's blast radius is fixed here, outside it on its own branch and PR with this chunk waiting behind it. Say which.
+10 -10
View File
@@ -16,11 +16,11 @@
| 238 | 0.4.0 | | defect | **Run the security pass's skill in the chunk's worktree, so it scans the branch's diff: invoked from a subagent, it runs in the session's working directory, the main checkout, and scans nothing.** | 2 | 2 | 3 | 5 | 3 | 1.1 by 5 | 5.3 |
| 233 | 0.4.0 | | | **Run one principles-auditor per round that checks the goals and every principles file that applies, in place of one auditor for each, so the principles pass reads the project once per round.** | 3 | 2 | 3 | 6 | 3 | 1.4 by 3, 1.5 by 2 | 4.9 |
| 234 | 0.4.0 | | | **Report the routing figures in dollars, cache reads included, from the cost each archived run records.** | 2 | 2 | 2 | 4 | 3 | 1.4 by 3 | 3.0 |
| 239 | 0.4.0 | | owner | **Block a Read, `cat`, `sed` or `head` of a file range the session already read while the file is unchanged, with a note that the content is in context, and let it through after a compaction or a change to the file.** | 3 | 2 | 3 | 6 | 4 | 1.4 by 3 | 2.0 |
| 239 | 0.4.0 | | owner | **Block a Read, `cat`, `sed` or `head` of a file range already in the session's context, with a note saying so, and let it through once a compaction dropped the range or the file changed.** | 3 | 2 | 3 | 6 | 4 | 1.4 by 3 | 2.0 |
| 236 | 0.5.0 | | question | **Answer whether the principles audit keeps reading the whole project, or reads only the files the chunk changed and their callers, now that half of its 🔴 and 🟡 findings name a file the chunk did not edit.** | 1 | 1 | 1 | 1 | 1 | 1.4 by 4 | 6.4 |
| 240 | 0.5.0 | | question | **Answer whether workers get a reading rule in `CLAUDE.md`, never reading more than 80 lines of a file at once, which cut three worker tasks' reading 45% to 60% at the same quality.** | 1 | 2 | 3 | 4 | 1 | 1.4 by 3 | 4.8 |
| 240 | 0.5.0 | | question | **Answer whether workers get a reading rule in `CLAUDE.md`: never read more than 80 lines of a file at once, nor take a tool output over 3,000 characters into your context.** | 1 | 2 | 3 | 4 | 1 | 1.4 by 3 | 4.8 |
| 226 | 0.5.0 | | question | **Answer whether rule-hook's `run-heavy` rule should also catch a mutation run or docker build behind `uv run`, `poetry run`, `python3 -m`, `sudo`, `docker image build` and `docker compose up --build`, or narrow the `machine load:` decision's wording.** | 2 | 2 | 3 | 5 | 3 | 1.2 by 2, 1.5 by 2 | 4.0 |
| 241 | 0.5.0 | | question | **Answer whether reviewers hand a read over 80 lines to a Haiku scout, which cut a stability reviewer's reading 29% to 38% and its cost 6% to 17% on four replayed rounds, at 14% to 39% more time and findings within the baseline's own spread.** | 2 | 2 | 3 | 5 | 3 | 1.4 by 3 | 3.0 |
| 241 | 0.5.0 | | question | **Answer whether reviewers hand a read over 80 lines to a Haiku scout, which on four replayed stability rounds cut the reviewer's reading by a third and its cost by a tenth, slowed it, and found as many findings as the reviewer finds on its own.** | 2 | 2 | 3 | 5 | 3 | 1.4 by 3 | 3.0 |
| 235 | 0.5.0 | | | **Compare the first 20 chunks whose worker ran under the 200k compaction window with the 20 before them, on review rounds past each pass's first, unfinished verdicts, 🔴, 🟡 and misread findings, dollars and hours per chunk, and file an item where any rose.** | 1 | 2 | 1 | 2 | 2 | 1.1 by 2, 1.4 by 3 | 6.8 |
| 59 | 0.5.0 | | | **Bound a run of unfinished verdicts on one chunk, so a worker and judge that disagree cannot cycle unattended without end.** | 2 | 1 | 3 | 4 | 3 | 1.4 by 6 | 6.0 |
| 167 | 0.5.0 | | | **Refuse a `/security-review` or `/claude-security` Skill call below the project's rung, as rule-hook refuses such an Agent call.** | 3 | 2 | 3 | 6 | 2 | 1.1 by 4 | 5.6 |
@@ -88,7 +88,7 @@ Since 2026-10-21, all 1,372 Agent calls in workers' transcripts were one per mes
### 238. Run the security pass's skill in the chunk's worktree, so it scans the branch's diff: invoked from a subagent, it runs in the session's working directory, the main checkout, and scans nothing.
Found while reviewing PR #376. larv-review §3 → "Security" launches a general-purpose subagent that invokes `/security-review` through the Skill tool. The skill runs its git commands in the session's working directory, the checkout root, where the branch's diff is empty, and the subagent then reads the worktree's diff itself, which the skill's own text forbids as a substitute. The archived security subagents of items 198 and 223 and of PR #376 all report it. It sits in 0.4.0 so the release's remaining chunks get a scan that reads their diff; until it is fixed, run `claude -p /security-review` with the worktree as its working directory, on the project's rung, as PR #376 did. A fix may run the skill as a process in the worktree from larv-review, or have the worker enter the worktree with Claude Code's `EnterWorktree` tool so every subagent runs there.
Found while reviewing PR #376. larv-review §3 → "Security" launches a general-purpose subagent that invokes `/security-review` through the Skill tool. The skill runs its git commands in the session's working directory, the checkout root, where the branch's diff is empty, and the subagent then reads the worktree's diff itself, which the skill's own text forbids as a substitute. The archived security subagents of items 198 and 223 and of PR #376 all report it. It sits in 0.4.0 so the release's remaining chunks get a scan that reads their diff; until then larv-review §3 → "Security" says to run the skill in the worktree. A fix may run the skill as a process in the worktree from larv-review, or have the worker enter the worktree with Claude Code's `EnterWorktree` tool so every subagent runs there.
### 233. Run one principles-auditor per round that checks the goals and every principles file that applies, in place of one auditor for each, so the principles pass reads the project once per round.
@@ -98,25 +98,25 @@ Since 2026-10-21, 342 principles-auditor runs, 3.8 per chunk, cost $274 at list
The routing figures count input, cache-written and output tokens, and leave out cache reads, which were 28% of the cost since 2026-10-21, $340 of $1,215 at list prices. So their tables rank the principles auditor above the worker, while in dollars the worker cost 1.4 times as much, $375 against $274. Each archived worker transcript ends with a `cost-state` entry holding `totalCostUSD` and each model's cost, and each message's usage attributes the cost to a subagent type. The judge's runs record no cost in the archive: count them too, or say why not. The change touches `bin/routing_figures/measure.py`, which the comprehension seats found hard (item 139): make the places it touches easier to read.
### 239. Block a Read, `cat`, `sed` or `head` of a file range the session already read while the file is unchanged, with a note that the content is in context, and let it through after a compaction or a change to the file.
### 239. Block a Read, `cat`, `sed` or `head` of a file range already in the session's context, with a note saying so, and let it through once a compaction dropped the range or the file changed.
lilleman's call, 2026-10-27, filed from PR #376's measurement of loop-claude's archive since 2026-10-21: a read of a file the agent read earlier in the thread, more than three messages before and without editing it in between, is 13% of the worker's reading, about $6 of the $45 its reads cost, and 1 to 2% of a reviewer's. A hook on `Read` and on the Bash reads `cat`, `sed` and `head` blocks such a read with a short note that the content is already in context and unchanged. It lets the read through after a compaction, when the content has left the context, or when the file changed since the read; a PreToolUse hook gets the session's `transcript_path`, which holds the earlier reads and each `compact_boundary`, so it needs no state of its own. If scouts ship (item 231's decision records the trial), the same idea applies to scout answers, cached by file and content hash: a scout only cheapens these re-reads and doesn't remove them, which is why this is a separate item.
lilleman's call, 2026-10-27, filed from PR #376's measurement of loop-claude's archive since 2026-10-21: a read of a file the agent read earlier in the thread, more than three messages before and without editing it in between, is 13% of the worker's reading, about $6 of the $45 its reads cost, and 1 to 2% of a reviewer's. How many of those repeat a range exactly is unmeasured, so the figures are a ceiling. A hook on `Read` and on the Bash reads `cat`, `sed` and `head` blocks such a read with a short note that the content is already in context and unchanged. It lets the read through after a compaction, when the content has left the context, or when the file changed since the read. A PreToolUse hook gets a `transcript_path`, which holds the earlier reads and each `compact_boundary`, so it may need no state of its own; check whether a hook inside a subagent gets the subagent's own transcript. A scout only cheapens these re-reads and doesn't remove them, which is why this is a separate item. If scouts ship (`docs/decisions.md` → `loop-claude: the worker's claude compacts its context before it fills a 200k window…` records the trial, and item 241 asks), the same idea applies to scout answers, cached by file and content hash.
### 236. Answer whether the principles audit keeps reading the whole project, or reads only the files the chunk changed and their callers, now that half of its 🔴 and 🟡 findings name a file the chunk did not edit.
Since 2026-10-21, 342 principles-auditor runs cost $274 at list prices, 23% of all spend, and 176 of their 🔴 and 🟡 findings named a file: 83 a file the chunk edited, 90 another. `docs/decisions.md` → `review: the principles audit runs on every chunk…` holds the whole-project audit valid while its findings are drift a chunk would otherwise merge, and calls a repeat a question on the audit's scope for the human. Reading only the changed files and their callers would cut most of the auditors' $129 of cache writes and drop the findings elsewhere, unless the same findings come back chunk after chunk: read a sample of the 90 before answering. Item 233 merges the auditors either way.
### 240. Answer whether workers get a reading rule in `CLAUDE.md`, never reading more than 80 lines of a file at once, which cut three worker tasks' reading 45% to 60% at the same quality.
### 240. Answer whether workers get a reading rule in `CLAUDE.md`: never read more than 80 lines of a file at once, nor take a tool output over 3,000 characters into your context.
lilleman's question, from PR #376's trials (`docs/decisions.md` → `loop-claude: the worker's claude compacts its context before it fills a 200k window…`, "Reads and tools"). Three worker-like tasks on this repo, a search, a rename and an explanation, run under the rule "never read more than 80 lines of a file yourself, and never take a tool output you expect to exceed 3,000 characters into your context" read 45% to 60% fewer characters at the same or lower cost and answered as well; the rename under it was the only one that also kept the import names sorted. Only 4% of what a worker reads is in a file it later edits. The rule is one line in `CLAUDE.md` that every session loads, so its effect on real chunks, misread findings above all, is unmeasured: a yes trials it and item 235's figures over the next 20 chunks measure it.
lilleman's question, from PR #376's trials, recorded in `docs/decisions.md` → `loop-claude: the worker's claude compacts its context before it fills a 200k window…`. Three worker-like tasks on this repo, a search, a rename and an explanation, each ran once as workers run today and once under the rule. Under the rule each task read 45% to 60% fewer characters, cost the same or less, and came out as well; of the four runs of the rename, the one under the rule was the only one that also kept the import names sorted. Only 4% of what a worker reads is in a file it later edits. Three tasks say little about real chunks, where a worker that reads less may misread more, and the rule is one line in `CLAUDE.md` that every session loads. A yes ships the line and measures the 20 chunks after it against the 20 before, as item 235 measures the compaction window: review rounds, unfinished verdicts, 🔴, 🟡 and misread findings, dollars and hours per chunk.
### 226. Answer whether rule-hook's `run-heavy` rule should also catch a mutation run or docker build behind `uv run`, `poetry run`, `python3 -m`, `sudo`, `docker image build` and `docker compose up --build`, or narrow the `machine load:` decision's wording.
Found by review of PR #370. Today `uv run mutmut run`, `poetry run mutmut run`, `python3 -m mutmut run`, `sudo docker build .`, `docker image build .` and `docker compose up --build` pass the rule, which `docs/decisions.md` → `machine load: …` and `RULES["run-heavy"]` describe as blocking docker builds and mutation runs. The rule's own text says a gate script isn't checked since no program can tell it from a light one, so the human decides where the line sits. Say what the rule's "checked" text promises either way. Where the answer widens the rule, the change touches `heavy` in `bin/rule_hook/heavy_command.py`, which the comprehension seats found hard: make it easier to read.
### 241. Answer whether reviewers hand a read over 80 lines to a Haiku scout, which cut a stability reviewer's reading 29% to 38% and its cost 6% to 17% on four replayed rounds, at 14% to 39% more time and findings within the baseline's own spread.
### 241. Answer whether reviewers hand a read over 80 lines to a Haiku scout, which on four replayed stability rounds cut the reviewer's reading by a third and its cost by a tenth, slowed it, and found as many findings as the reviewer finds on its own.
lilleman's question, from PR #376's trials (`docs/decisions.md` → `loop-claude: the worker's claude compacts its context before it fills a 200k window…`, "Reads and tools"). A scout is Haiku 5.5 reading raw content, whole files or long output, and returning facts as path:line and the ranges worth reading. In session, as an agent under `agents/`, its first request writes 37k tokens, $0.005, and a read of a 38KB file costs $0.008 in 8 seconds; as a slim headless `claude -p --model claude-haiku-5-5 --system-prompt … --tools "" --setting-sources "" --no-session-persistence`, which keeps the subscription login, 6k tokens, $0.0003, 3 to 5 seconds of startup with its prefix cached across calls, and the same read $0.004 in 7 seconds. On four replayed stability rounds the agent scout found 5 of 6 archived findings against the baseline's 4 and read 29% fewer characters at 6% less cost and 14% more time; the CLI scout 4 of 6, 38% fewer, 17% less, 39% more; the auditors with the agent scout 3 of 6 at the same cost and twice the time. The reviewers' spend is $840 of $1,215, so a 10% cut is about $85 per 90 chunks. `AGENTS.md` makes a change to the delegation rule lilleman's call. A yes names the shape, agent or CLI, and which reviewers; item 235's figures then measure it.
lilleman's question, from PR #376's trials, recorded with the scout's shapes and costs in `docs/decisions.md` → `loop-claude: the worker's claude compacts its context before it fills a 200k window…`. A scout is Haiku 5.5 reading raw content, whole files or long output, and returning facts as path:line and the ranges worth reading; in session it is an agent under `agents/`, and as a slim headless `claude -p` on the subscription login it starts at 6k tokens in 3 to 5 seconds. On four replayed stability rounds the agent scout found 5 of 6 archived findings against the baseline's 4 and read 29% fewer characters at 6% less cost and 14% more time; the CLI scout 4 of 6, 38% fewer, 17% less and 39% more; the auditors with the agent scout 3 of 6, the 🔴 among the lost, at the same cost and twice the time. The reviewers under `agents/` spent $646 of the $1,215 since 2026-10-21, so a tenth off is about $65 per 90 chunks. `AGENTS.md` makes a change to the delegation rule lilleman's call. A yes names the shape, agent or CLI, and which reviewers, and measures the 20 chunks after it against the 20 before, as item 235 measures the compaction window.
### 235. Compare the first 20 chunks whose worker ran under the 200k compaction window with the 20 before them, on review rounds past each pass's first, unfinished verdicts, 🔴, 🟡 and misread findings, dollars and hours per chunk, and file an item where any rose.