Answer prose round 1: 0 🔴, 4 🟡 (0 misread); say what holds under an XDG variable in the decision and the path comments
This commit is contained in:
+1
-1
@@ -507,7 +507,7 @@ Valid while the ladder orders its rungs by competence.
|
||||
|
||||
Each reviewer holds Write for its report. Claude Code passes a subagent's type to a PreToolUse hook as `agent_type`. So `bin/rule_hook/reviewer_report.py` refuses a reviewer's Edit and MultiEdit, and any Write outside `~/.local/state/build-release/larv-review/`; no marker overrides it. A reviewer's Bash, as stability-reviewer holds, is not confined.
|
||||
|
||||
The folder is fixed, since build-release's headless sessions have no scratchpad, and it also holds any other file a session parks outside its checkout, such as the comprehension panel's base worktree or a build probe's output. It sits outside every checkout, so no project sees a report. It survives a reboot, unlike `/tmp`, so a resumed chunk still reads its earlier rounds. It is in the user's home, so no other local user plants a symlink that widens it. A report may quote a secret, so `larv-review review-folder`, which makes the chunk's folder, leaves `~/.local/state/build-release/larv-review` readable by the user alone.
|
||||
The folder is the same for every session on the machine, since build-release's headless sessions have no scratchpad, and it also holds any other file a session parks outside its checkout, such as the comprehension panel's base worktree or a build probe's output. It sits outside every checkout, so no project sees a report. It survives a reboot, unlike `/tmp`, so a resumed chunk still reads its earlier rounds. It is in the user's home, so no other local user plants a symlink that widens it; a user who sets `XDG_STATE_HOME` to a path outside their home answers for that. rule-hook takes the variable from its own environment, which a reviewer cannot change. A report may quote a secret, so `larv-review review-folder`, which makes the chunk's folder, leaves the review reports folder, `~/.local/state/build-release/larv-review` by default, readable by the user alone.
|
||||
|
||||
A chunk keeps its folder after the merge. `review-replay` hands a replayed reviewer a copy holding only the reports written after the chunk began and before the round did. So the replay reads the earlier rounds its prompt names, never the findings it is to find. The chunk's own reports stay as they were.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user