Skip to content

Feat/allow bot actor#1

Open
lroolle wants to merge 11 commits intomainfrom
feat/allow-bot-actor
Open

Feat/allow bot actor#1
lroolle wants to merge 11 commits intomainfrom
feat/allow-bot-actor

Conversation

@lroolle
Copy link
Member

@lroolle lroolle commented Jul 15, 2025

No description provided.

cursor[bot]

This comment was marked as outdated.

@lroolle lroolle force-pushed the feat/allow-bot-actor branch from b2cb4f8 to 71fe6a2 Compare July 16, 2025 14:17
@lroolle
Copy link
Member Author

lroolle commented Jul 16, 2025

bugbot review

cursor[bot]

This comment was marked as outdated.

@lroolle
Copy link
Member Author

lroolle commented Jul 17, 2025

bugbot review

cursor[bot]

This comment was marked as outdated.

@lroolle lroolle force-pushed the feat/allow-bot-actor branch from e381b33 to a4c4fee Compare July 17, 2025 03:13
@lroolle
Copy link
Member Author

lroolle commented Jul 17, 2025

bugbot review

cursor[bot]

This comment was marked as outdated.

@lroolle
Copy link
Member Author

lroolle commented Jul 17, 2025

bugbot review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ BugBot reviewed your changes and found no bugs!


Was this report helpful? Give feedback by reacting with 👍 or 👎

@lroolle lroolle force-pushed the feat/allow-bot-actor branch 4 times, most recently from 3a56256 to 391081f Compare July 23, 2025 18:12
@lroolle
Copy link
Member Author

lroolle commented Jul 23, 2025

bugbot review

@lroolle lroolle force-pushed the feat/allow-bot-actor branch 2 times, most recently from d2e6907 to b537806 Compare July 29, 2025 15:54
@lroolle lroolle force-pushed the feat/allow-bot-actor branch 2 times, most recently from 4ea9e38 to bd11848 Compare August 4, 2025 09:01
burkematthew and others added 4 commits August 4, 2025 09:00
Allows modes to provide custom system prompts that are appended to Claude's base system prompt. This enables mode-specific instructions without modifying the core action logic.

- Add optional getSystemPrompt method to Mode interface
- Implement method in all existing modes (tag, agent, review)
- Update prepare.ts to call getSystemPrompt and export as env var
- Wire up APPEND_SYSTEM_PROMPT in action.yml to pass to base-action

All modes currently return undefined (no additional prompts), but the infrastructure is now in place for future modes to provide custom instructions.
…#402)

* feat: support html img tag

* rm files

* refactor
@lroolle lroolle force-pushed the feat/allow-bot-actor branch from bce7c64 to 2de42b8 Compare August 5, 2025 09:02
actions-user and others added 5 commits August 5, 2025 16:50
- Restore prompt file creation logic that was accidentally removed in PR anthropics#374
- Agent mode now creates the prompt file directly in prepare() method
- Uses override_prompt or direct_prompt if available, falls back to minimal prompt
- Fixes 'Prompt file does not exist' error for workflow_dispatch and schedule events
- Add TODO comment to refactor this to use createPrompt in the future

Fixes anthropics#403
…nthropics#410)

These git config commands are no longer needed as allowed tools since
Claude should not be modifying git configuration settings. Updated
the corresponding test to reflect this intentional change.

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

Co-authored-by: Claude <noreply@anthropic.com>
- Renamed scripts/pre-push to scripts/pre-commit
- Updated install-hooks.sh to install pre-commit hook
- Hook now runs formatting, type checking, and tests before commit
- Add allow_bot_actor parameter to enable GitHub bots to trigger Claude Code Action
- Implement robust bot write permission validation
- Add test coverage for bot scenarios
- Update documentation with security considerations

This enables automated workflows like documentation updates, CI-triggered
code reviews, and scheduled maintenance while maintaining security through
explicit opt-in and proper permission validation.

Relevant works: anthropics#388 anthropics#280 anthropics#194 anthropics#117
@lroolle lroolle force-pushed the feat/allow-bot-actor branch from 2de42b8 to ff606b8 Compare August 6, 2025 02:12
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.

6 participants