Ashwin Bhat df10c4692a
fix: add checkHumanActor to agent mode and concurrency to workflow examples
Fixes issue #641 where users were getting banned due to rapid successive
Claude runs triggered by the synchronize event.

Changes:
- Add checkHumanActor call to agent mode's prepare() method to reject
  bot-triggered workflows unless explicitly allowed via allowed_bots
- Update checkHumanActor to accept GitHubContext (union type) instead
  of just ParsedGitHubContext
- Add concurrency protection to all PR review workflow examples to
  prevent multiple reviews running simultaneously on the same PR
- Add tests for bot rejection/allowance in agent mode

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-15 17:03:07 -08:00
..