Skip to content

ci: let the Claude review read files and log refused tool calls - #2

Merged
kanywst merged 1 commit into
mainfrom
ci-review-read-tools
Oct 9, 2026
Merged

kanywst merged 1 commit into
mainfrom
ci-review-read-tools

Conversation

@kanywst

@kanywst kanywst commented Oct 9, 2026

Copy link
Copy Markdown
Member

--allowedTools is a closed list and did not include Read/Grep/Glob, so the reviewer could not open the README / CLAUDE.md its prompt tells it to read (the same workflow in kanywst/bellman logged 4 refused tool calls). Adds them, and prints each refused tool call in the report step. Changes the reviewer itself, so it cannot review this PR.

@kanywst
kanywst merged commit d3fa863 into main Oct 9, 2026
@coderabbitai

coderabbitai Bot commented Oct 9, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9a18bc86-3636-4910-84da-73a154e4a87d

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@claude

claude Bot commented Oct 9, 2026

Copy link
Copy Markdown

No findings. The added read tools and the denial logging are consistent with the workflow's stated intent, permissions stay least-privilege, and the logged output is single-line (tojson), so it cannot start a workflow command.

@kanywst
kanywst deleted the ci-review-read-tools branch October 9, 2026 19:55
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.

1 participant