Skip to content

Harden review-pr prompt to prevent agent from calling gh pr review#9

Merged
captainsafia merged 1 commit intomainfrom
safia/remote-966-ensure-pr-review-bot-doesnt-submit-its-own-review
Feb 25, 2026
Merged

Harden review-pr prompt to prevent agent from calling gh pr review#9
captainsafia merged 1 commit intomainfrom
safia/remote-966-ensure-pr-review-bot-doesnt-submit-its-own-review

Conversation

@captainsafia
Copy link
Collaborator

Add explicit prohibitions in the System Context, Final Step, and Quality Checklist sections of the prompt to ensure the agent never uses gh pr review, gh pr comment, or any gh command that posts to GitHub. All review output must go to review.json only.

Add explicit prohibitions in the System Context, Final Step, and
Quality Checklist sections of the prompt to ensure the agent never
uses gh pr review, gh pr comment, or any gh command that posts to
GitHub. All review output must go to review.json only.

Co-Authored-By: Oz <oz-agent@warp.dev>
@captainsafia captainsafia changed the title harden review-pr prompt to prevent agent from calling gh pr review Harden review-pr prompt to prevent agent from calling gh pr review Feb 25, 2026
@captainsafia captainsafia merged commit d152680 into main Feb 25, 2026
5 checks passed
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.

2 participants