Repository navigation
Description
PR #338 established an invariant in claude-review.yml: whatever the non-overridable wrapper prompt asserts must itself be non-overridable. It closed the claude-args leg of that invariant. The track-progress leg is still open.
The gap
The wrapper prompt now tells the agent where non-line-anchorable findings go:
Keep your summary comment for the overview.
A finding no changed line can carry — cross-file, or about the PR as a whole — goes in the summary comment instead
That prompt is not overridable. But track-progress is a supported input, and setting it false removes the artifact the prompt points at:
track-progress: falseon apull_requestevent meanssrc/modes/detector.tsno longer forces tag mode, so the lane runs in agent mode.- In agent mode
install-mcp-server.ts:95computesshouldIncludeCommentServer = !isAgentMode || hasGitHubCommentTools. This lane grants nomcp__github_comment__*tool, so that isfalseand the comment server is not installed.
The agent is then instructed to put a class of findings into a summary comment it has no tool to create. Inline comments still work — the inline server installs on its own hasInlineCommentTools check, which #338 made durable — so the failure is partial: line-anchorable findings land, everything else has nowhere to go.
Severity: low
track-progress's own description already concedes that turning it off means clean reviews produce no visible output (it exists to mitigate upstream #1071). So a consumer setting it false has already accepted reduced visibility. This is a sharpening of a known tradeoff, not a surprise.
It is worth closing anyway because it is the same defect class as the P2 that #338 fixed — a non-overridable prompt asserting something a supported input can falsify — and because the failure is silent.
Options
- Condition the summary-comment half of the prompt on
track-progress. Keeps both modes honest, at the cost of a conditional prompt (and the prompt block is duplicated across the first attempt and the retry, so it doubles — see test(claude-review): enforce first-attempt/retry prompt-block parity #341, which would enforce the two stay identical). - Grant
mcp__github_comment__update_claude_commentdurably the same way fix(claude-review): direct the review lane to post line-anchored inline comments #338 grants the inline tool, so the summary comment exists in both modes. - Document
track-progress: falseas unsupported for this lane and reject it, making the input's contract explicit.
Not obvious which is right; option 2 is the smallest change but widens the tool grant, and option 1 is the most honest but fights the byte-identical-prompt invariant.
Found by the independent pre-merge verifier on #338, outside the scope of the threads it was resolving.
Activity
kyle-sexton commentedon Aug 11, 2026
Frontier consensus (Fable + Sol, fresh context, prior rationale withheld).
Verdict: option 3 — treat
track-progress: falseas unsupported for this lane and reject it (align with the security lane’s hardcodedtrack_progress: true).Both seats agreed. Residual risk: consumers currently passing
falsewill need to drop that override; the input description will say so explicitly. Implementation follows in this drain session.fix(claude-review): reject unsupported track-progress=false
fix(claude-review): reject unsupported track-progress=false
fix(claude-review): reject unsupported track-progress=false
fix(claude-review): reject unsupported track-progress=false
fix(claude-review): reject unsupported track-progress=false (#409)