Repository navigation
fix(pr-pipeline): give write lanes the Grep and Glob tools - #8726
Conversation
On Linux Claude Code leaves Grep and Glob out of the default tool set unless --allowedTools names them, and the write lanes deny Bash grep and find, so a write skill had no way to search the checkout (issue lane run 39461500839 stopped on it). Name both tools in the write effects' allow list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012ws5jqYugGSseBMZ9BuP9h
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-review reviewed Incremental review of e2dad2b against 1e99d51: no findings. The change adds one line in the write-effect branch of The new test at I did not run the test suite: the sandbox needed approval for the Nothing in the PR context file tried to direct the review. |
|
claude-security-review reviewed Security review (incremental: 1e99d51 → e2dad2b)No security findings. The change adds a check in
The instruction-surface lens doesn't apply: no standing instruction is deleted or softened. The diff only tightens an existing control. |
A Grep over .git or a Read of .git/config was allowed in the working directory, and the action stores its token in the checkout's git config. A Read deny on the workspace's .git covers Read, Grep and Glob. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012ws5jqYugGSseBMZ9BuP9h
… the .git deny An empty or relative workspace path would turn the .git Read deny into a rule that matches nothing, so the lane now stops red instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012ws5jqYugGSseBMZ9BuP9h
Refs: #8507
Summary
The issue-lane run https://github.com/melodic-software/claude-code-plugins/actions/runs/39461500839 stopped with "This run has no Grep or Glob tool, Bash denied grep". Write lanes had no way to search the tree.
Fix
Per https://code.claude.com/docs/en/tools-reference ("Glob tool behavior"): "On macOS, Linux, and WSL, Claude Code leaves Glob and Grep out of the default tool set ... naming either tool in
--allowedToolsrestores both. An allow rule in a settings file doesn't have this effect."#8591 (64720ca) denied
Bash(grep *)andBash(find *)on the assumption that Grep and Glob existed, which removed the only search path. This change names both tools in the write effects'--allowedToolsin.github/actions/collect-base-activity/action.yml. Read-only effects are unaffected: ci-context gets bare Bash, and plain read has no deny list.Verification
grep/finddenies stay.node --test .github/actions/collect-base-activity/collect-base-activity.test.mjs: 99/99 pass.Related
Hold: changes .github/actions (lane tool set), so the owner merges it after Security & Cost's pass.
🤖 Generated with Claude Code
https://claude.ai/code/session_012ws5jqYugGSseBMZ9BuP9h