Commit Graph

3 Commits

Author SHA1 Message Date
km-anthropic
61c8cd998b fix: export allowed tools environment variables in review mode
The GitHub MCP tools were not being properly allowed because review mode
wasn't exporting the ALLOWED_TOOLS environment variable like agent mode does.
This caused all GitHub MCP tool calls to be blocked with permission errors.
2025-07-30 17:13:03 -07:00
km-anthropic
463c7151e3 fix: enable automatic triggering for review mode on PR events 2025-07-30 16:28:58 -07:00
km-anthropic
bbc8c6d6d5 feat: add review mode for PR code reviews
- Add 'review' as a new execution mode in action.yml
- Use default GitHub Action token (ACTIONS_TOKEN) for review mode
- Create review mode implementation with GitHub MCP tools included by default
- Move review-specific prompt to review mode's generatePrompt method
- Add comprehensive review workflow instructions for inline comments
- Fix type safety with proper mode validation
- Keep agent mode's simple inline prompt handling
2025-07-30 15:50:57 -07:00