docs(pst): rule 5 -- PR creation always includes CI watch+merge, no asking#68
Merged
Merged
Conversation
…sking The "Want me to watch CI?" question is the failure mode. In admin-bypass mode, PR creation and CI watch-then-merge are one atomic operation. Queue gh pr merge --auto --squash immediately after PR creation (once adversarial review is recorded); never split this into a question. Fallback to --watch loop if --auto is unavailable on the repo. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019BCr5Qxi8jXnG2Rr7zdkw1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the failure mode shown in screenshot: after creating a PR and CI starts, Claude asked "Want me to watch CI and merge when ready?" instead of just doing it.
gh pr merge --auto --squashafter PR creation once review is recorded -- GitHub auto-merges when CI goes greengh pr checks <PR#> --watchthen merge, if--autois disabled on the repoTest plan
🤖 Generated with Claude Code
https://claude.ai/code/session_019BCr5Qxi8jXnG2Rr7zdkw1