fix(#250): remove unexecutable gh api fallback from review sub-agent prompts - #253
Conversation
…prompts All 7 review sub-agents declare only Read, Grep, Glob as allowed tools — none has Bash access. The gh api fallback instruction added in PR #172 for large-PR file fetching was therefore unexecutable, creating a contradiction with the meta-prompt constraint that forbids reading from disk. Replace the gh api fallback instructions in steps 2b, 3d, and 4 with honest guidance: omitted files should be treated as unavailable for PR-head verification, and findings about those files should note the limitation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
/fs-review |
|
🤖 Finished Review · ✅ Success · Started 12:21 PM UTC · Completed 12:24 PM UTC |
Review — approvePR: fix(#250): remove unexecutable AnalysisThis PR correctly implements Option A from issue #250. The change is narrow, well-scoped, and addresses a real inconsistency: all 7 review sub-agents ( Verification performed:
VerdictThe change is correct, minimal, and internally consistent. The commit message follows Conventional Commits (
|
|
🤖 Finished Retro · ✅ Success · Started 11:41 AM UTC · Completed 11:58 AM UTC |
Retro: PR #253 — Remove unexecutable
|
Summary
gh apifallback instructions from review sub-agent prompt templates inskills/pr-review/SKILL.mdRead, Grep, Globtools — none has Bash access, making thegh apifile-fetch instruction impossible to executeFixes #250
Test plan
tools: Read, Grep, Glob(no Bash)gh apiinstructions directed at sub-agents in SKILL.mdgh apicalls in step 2b bash script are unchanged (orchestrator has Bash)prerequisites-creates-allowed-issue) is unrelated — same failure on main🤖 Generated with Claude Code
Closes #250
Post-script verification
agent/250-fix-subagent-file-fetch-fallback)6565264dd3ce65cbf5361202aadab0047b71f015..HEAD)