fix: prevent Claude agent execution on closed issues #23
Added explicit state check to filter out closed issues for both
'issues' and 'issue_comment' events. This provides defense-in-depth
protection alongside the existing filterActions whitelist.
Changes:
- Added issue.state check in commandExecutor.js
- Skips command execution when issue state is 'closed'
- Applies to both 'issues' and 'issue_comment' event types
- Logs skip reason for debugging
This ensures the Claude agent will never be triggered on closed
issues, even if the action passes the filterActions whitelist (e.g.,
when assigning a closed issue to Claude).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>