Skip to content

Match claude-review's allowed-tools to the plugin's own frontmatter - #94

Merged
d-morrison merged 1 commit into
mainfrom
claude/claude-review-full-allowed-tools
Aug 1, 2026
Merged

Match claude-review's allowed-tools to the plugin's own frontmatter#94
d-morrison merged 1 commit into
mainfrom
claude/claude-review-full-allowed-tools

Conversation

@d-morrison

Copy link
Copy Markdown
Member

Summary

Test plan

  • Confirm a claude review comment (summary and/or inline) actually appears on a same-repo PR after this merges — this repo's first genuine one, per the historical audit in Restore pull-requests: write for claude-review #91's discussion
  • Confirm permission_denials_count is 0 (or only reflects genuinely out-of-scope calls) in the run's result

Generated by Claude Code

The previous claude_args only allowlisted the final posting step
(gh pr comment + the inline-comment MCP tool), on the assumption those
were the only calls that mattered. The verbose log from #93 (commit
644d3f4, job 91330470808) showed otherwise: claude_args replaces the
effective tool allowlist rather than adding to it, so the narrower list
also denied gh pr diff, gh pr view, and other calls the plugin's own
steps make to gather context before it ever reaches the posting step -
it never even attempted gh pr comment or the inline tool. Replace the
list with the code-review plugin's own declared allowed-tools
(plugins/code-review/commands/code-review.md's frontmatter in
anthropics/claude-code) so its own steps aren't blocked.
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1-2-g6ad689f
Preview removed because the pull request was closed.
2026-08-01 05:37 UTC

@d-morrison
d-morrison merged commit 6f74c3b into main Aug 1, 2026
5 checks passed
@d-morrison
d-morrison deleted the claude/claude-review-full-allowed-tools branch August 1, 2026 05:36
d-morrison added a commit to imelainew/ucd-serg.github.io that referenced this pull request Aug 1, 2026
The code-review plugin gates all posting on a --comment argument:
"If --comment argument was NOT provided, stop here. Do not post any
GitHub comments." (step 7 of plugins/code-review/commands/code-review.md
in anthropics/claude-code.)

We have never passed it, so every review this repo has run has been
working as designed -- reviewing, printing to the job log, and posting
nothing behind a green check. claude has zero review comments across
UCD-SERG#78, UCD-SERG#79, UCD-SERG#80, UCD-SERG#86, UCD-SERG#87, UCD-SERG#92, UCD-SERG#93 and UCD-SERG#94.

This was not a permissions problem. UCD-SERG#91's pull-requests: write and
UCD-SERG#92/UCD-SERG#94's allowlist work were treating a symptom.

Closes UCD-SERG#96

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HMmB6db4xpbuqcqaQKArZb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants