Answer prose round 1: name what each route asks, correct which reviewers lack Write, and record that a subagent cannot start another
This commit is contained in:
@@ -61,14 +61,14 @@ The human ranks review cost first, and wants the project as a whole measured, si
|
||||
|
||||
The human ranks review cost first. Across 54 archived chunks the worker's own thread was 54% of spend, mostly cache reads: its context averaged about 350k tokens a turn and peaked near 700k, filled by reviewer reports, each of which arrived twice (the spawn result and the task notification).
|
||||
|
||||
The reports would live in the session's scratchpad, such as `<scratchpad>/larv-review/prose-round-1.md`, so no project's checkout sees them, and round counting and the `Answer <pass> round <n>:` commits stay as they are. A later round gets its own earlier file's path in place of its findings pasted verbatim. The worker opens the file only for the findings it fixes.
|
||||
The reports would live in the session's scratchpad, such as `<scratchpad>/larv-review/prose-round-1.md`, so no project's checkout sees them, and round counting and the `Answer <pass> round <n>:` commits stay as they are. A later round gets the path of that pass's earlier report in place of the findings pasted in. The worker opens the file only for the findings it fixes.
|
||||
|
||||
Measure first, from loop-claude's archive: how often a report still reaches the worker twice (2026-10-08, PR #226's prose report arrived once), and how much of each report the worker acts on. Build only on what that shows. Then choose how a report reaches the file:
|
||||
Measure first, from loop-claude's archive: how often a report still reaches the worker twice (PR #226's prose report, on 2026-10-08, arrived once), and how much of each report the worker acts on. Then choose how a report reaches the file:
|
||||
|
||||
- **Write access.** prose-reviewer, product-owner-reviewer, principles-auditor and systems-architect hold only Read, Grep and Glob, and an agent's tool list cannot confine Write to one folder. Check whether a PreToolUse hook can tell a subagent's call from the worker's and deny a Write outside the scratchpad; without that, the limit holds only by the prompt.
|
||||
- **A wrapper.** A general-purpose subagent launches the reviewer with its tools unchanged, saves the report and returns only the summary lines. Check first that a subagent can launch another agent.
|
||||
- **Write access.** Grant each reviewer Write. No reviewer under `agents/` holds it today, and an agent's tool list cannot confine Write to one folder. Check whether a PreToolUse hook can tell a subagent's call from the worker's and deny a Write outside the scratchpad; without such a hook, only the prompt keeps its writes inside the scratchpad.
|
||||
- **A wrapper.** A general-purpose subagent launches the reviewer with its tools unchanged, saves the report and returns only the summary lines. Claude Code's documentation says a subagent cannot start another; drop this route unless a test shows one can.
|
||||
|
||||
The risk is goal 1.1: a worker fixing from a one-line summary can skip context it needed.
|
||||
This risks goal 1.1: a worker fixing from a one-line summary can miss context it needs.
|
||||
|
||||
### 77. Measure each project with cheap static metrics — cognitive complexity, how far a change spreads, state shared or mutated across methods — and keep only those the panel's history shows tracking comprehension.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user