Skip to content

fix: add permissions guard and usage example to blocking review - #21

Merged
twistedmelonman merged 1 commit into
mainfrom
claude/review-permissions-guard-20260326
Mar 26, 2026
Merged

fix: add permissions guard and usage example to blocking review#21
twistedmelonman merged 1 commit into
mainfrom
claude/review-permissions-guard-20260326

Conversation

@twistedmelonman

Copy link
Copy Markdown
Member

Summary

  • Add required permissions block to the caller workflow usage example so new consumers get it right
  • Add early permission-check step that fails fast with a clear error instead of opaque startup_failure when the caller doesn't grant needed scopes
  • Fix pre-existing Semgrep shell injection warning by moving PR_NUMBER to env var in verdict check step

Prompted by ralph-burndown#41 and dev-env#5 both hitting startup_failure after migration.

Test plan

  • CI passes
  • claude-review / run-review check triggers on this PR
  • After merge, update v1 tag

🤖 Generated with Claude Code

Add required permissions block to the caller workflow example so new
consumers get it right. Add early permission check that fails fast
with a clear error instead of opaque startup_failure when the caller
doesn't grant the needed scopes. Also fix pre-existing shell injection
warning by moving PR_NUMBER to env var in verdict check step.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@twistedmelonman
twistedmelonman merged commit e3d24df into main Mar 26, 2026
3 checks passed
@twistedmelonman
twistedmelonman deleted the claude/review-permissions-guard-20260326 branch March 26, 2026 22:16
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