Roll back the PR-self-check-in guard and draft-merge workaround - #152
Merged
Conversation
Two Claude-side settings that drove PR churn — draft-by-default PRs and "Autofix pull requests" (auto-subscribe + hourly self-check-in) — have been turned off at the source. The guards the corpus grew to smooth those over now guard a phantom, so remove them: - checks/pretooluse-guard.mjs: drop the deferred-self-check-in branch (send_later / ScheduleWakeup / create_trigger). The remote-branch-delete guard stays. - .claude/settings.json + bootstrap.md: PreToolUse matcher back to `Bash`. - checks/test/guard.test.mjs: drop the self-check-in fixtures. - skills/merge-to-main: drop the "un-draft before merging" step — PRs are no longer opened as draft. Kept from the lessons pass: the get_status-misses-Actions-CI gotcha in git-github-advanced — reading CI via check runs is setting-independent. Closes #154. Refs #151. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HzjetxNGYuN5wwF1vRdkA8
missingbulb
force-pushed
the
claude/nike-claudonite-bootstrap-x47z09
branch
from
July 7, 2026 10:44
30427bb to
d5ae313
Compare
missingbulb
marked this pull request as ready for review
July 7, 2026 10:44
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.
Closes #154. Closes #151.
Two Claude-side settings that drove PR churn — draft-by-default PRs and Autofix pull requests (auto-subscribe + hourly self-check-in) — have been turned off at the source. The guards the corpus grew to smooth those over now guard a phantom, so this removes them.
Removed
checks/pretooluse-guard.mjs— the deferred-self-check-in branch (send_later/ScheduleWakeup/create_trigger). The remote-branch-delete guard stays (real, still-valid environment guard)..claude/settings.json+bootstrap.md— PreToolUse matcher back toBash.checks/test/guard.test.mjs— the self-check-in fixtures.skills/merge-to-main— the "un-draft before merging" step (added earlier this session); PRs are no longer opened as draft.Kept
skills/git-github-advanced— theget_status-misses-Actions-CI gotcha (from the lessons pass, Lessons from the nightly re-bootstrap session: CI-status reading + draft-merge mechanics #151). Setting-independent: reading CI via check runs rather than the empty legacy commit-status API is true regardless of the removed settings.Verification
node checks/run.mjs— clean (exit 0).node --test checks/test/*.test.mjs— 64/64 pass (guard tests now cover only the delete-branch case).Net diff vs
main: 5 files, +21 / −71.🤖 Generated with Claude Code
https://claude.ai/code/session_01HzjetxNGYuN5wwF1vRdkA8