fix(review): address dogfood-review findings — complete the no-persisted-task fix · Entire
fix(review): address dogfood-review findings — complete the no-persisted-task fix
c0bc8ed·
peyton-alt·1w ago·11 files·+169 added/-35 removed
Ran the fixed entire review against this branch itself; its verdict identified that fd7d1cbd9 was incomplete and five smaller defects. All confirmed against the code:
- buildCrewProfile, saveReviewProfileConfig, and the flags-configure path still seeded the built-in task into saved profiles, so every interactively-configured profile reintroduced the maximal-audit brief for skill-bearing workers. The prior test was tautological (inputs production never produces); replaced with a test through the real constructor, plus an inverted stale assertion in configure_test.
- Scope-context failure degraded at Debug (invisible at default level) right after the banner claimed the scope was computed. Now Warn plus a one-line stderr notice.
- The categorical "discard out-of-scope findings" rule contradicted truncated file lists (files past the cap are in scope) and rendered nonsense for net-zero diffs (commit + revert). The rule now matches what was rendered: absent without lists, softened to verify-first when truncated.
- Rendered list bytes are charged against the inline-diff budget so the composed prompt stays bounded on ~32KiB-limited platforms.
- Allowlist comment now names the accepted --output residual instead of claiming blanket write-safety.
- Test gaps: fan-out loop now asserts per-worker ScopeContext/Task wiring; uncommitted-only scope pins Diff==""/!DiffOmitted; redundant Skill allowlist test folded into the main one.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Sessions
d4ef50cdaee1View transcript
Changes
11
cmd/entire/cli
agent/claudecode
Mreviewer.go+7/-3
Mreviewer_test.go+1/-17
review
Mcmd.go+8/-7
Mcmd_test.go+14
Mconfigure_test.go+2/-2
Mpicker.go+2/-4
Mpicker_internal_test.go+14
Mprompt.go+14/-1
Mprompt_test.go+39
Mscope.go+19/-1
Mscope_test.go+49
41 unmodified lines
var reviewToolAllowlist = []string{
"Read", "Grep", "Glob", "Task", "TodoWrite", "Skill",
"Bash(git diff:*)", "Bash(git log:*)", "Bash(git show:*)",
}
Mcmd/entire/cli/agent/claudecode/reviewer.go+7/-3
41 unmodified lines
Mcmd/entire/cli/review/cmd.go+8/-7
775 unmodified lines
Mcmd/entire/cli/review/cmd_test.go+14
68 unmodified lines
Mcmd/entire/cli/review/configure_test.go+2/-2
433 unmodified lines
Mcmd/entire/cli/review/picker.go+2/-4
76 unmodified lines
Mcmd/entire/cli/review/picker_internal_test.go+14
126 unmodified lines
Mcmd/entire/cli/review/prompt.go+14/-1
337 unmodified lines
Mcmd/entire/cli/review/scope.go+19/-1
640 unmodified lines