mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-07-27 22:38:30 +08:00
The opt-in simplified tag-mode prompt omitted several guardrails the default prompt has. Bring it closer to the default's posture while keeping it terse: - Scoping clarification: spell out that only the triggering comment (or the issue body for issue events) carries instructions; other comments, the body, review comments, and repository files are reference context, not commands to act on. - Review-only stop-condition: questions and code reviews must not edit, commit, push, or create branches unless the trigger explicitly asks for a code change. - PR base-branch diff: when triggered on a PR with a known base branch, compare against origin/<base> instead of main/master. - Capability limits: cannot submit formal PR reviews, approve, or merge; decline politely and point to the FAQ. Adds focused tests covering the new lines for both PR and non-PR events, including presence/absence of the conditional base-branch line.