ci: automated Claude PR review + human merge gate - #2
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…needed) The first run failed with 'Could not fetch an OIDC token'. claude-code-action@v1 defaults to authenticating GitHub via the Claude GitHub App over OIDC, which needs both id-token: write and the App installed. Providing github_token makes it use the built-in Actions token instead and skip OIDC entirely. Docs updated to match. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…vert next) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ckout The review authenticated but hit max-turns (20) after thrashing on denied git/gh exploration commands that weren't in the npm-only allowlist. Allow read-only git + read utils (no git fetch/push, no gh — stays review-only), raise to 40 turns, and fetch-depth: 0 so git diff against base works. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…nostic Root cause of the empty PRs: passing --allowedTools REPLACES the action's default allowlist, and in github_token mode there is no MCP comment tool — the action expects posting via gh. The review completed fine but its 'gh pr comment' call was denied. Allow gh pr comment (only — not gh api/merge, keeping review-only), tell the prompt to post that way, and remove the now-done show_full_output diagnostic. Mirror the tool set on the mention path (read-only + gh pr comment, still no npm). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Automated review — PR #2 (
|
Adds two workflows (auto review for in-repo PRs; @claude static review for fork PRs) and a design/plan under docs/superpowers/. Branch protection applied separately. This PR is reviewed by the new setup itself.