Guard auto-commit hooks and cw against main branch - #335
Merged
sylvansys merged 1 commit intoJan 30, 2026
Conversation
…ss.\n\nSession-ID: b79a7cbe-ba4e-4b79-b424-0d8a870d24f0\nSession-Timestamp: 2026-01-30T02:54:10.691Z\nBranch: 334-feature/please-resolve-httpsgithubcomconstellosc\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
|
Constellos Review - PR feedback from your reviewer agents. Requirements: ❌ 0 • ❌ 0 • ⏭️ 0Code Quality: ✅ 4 • ❌ 0 • ⏭️ 0
|
sylvansys
deleted the
334-feature/please-resolve-httpsgithubcomconstellosc
branch
January 30, 2026 19:37
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
main,master,develop) tocommit-session-await-ci-status.tsStop hook — skips auto-commit while still allowing Phase 3 PR status check to proceedcommit-task-await-ci-status.tsSubagentStop hookcasevalidation inclaude-worktree.shto reject generated branch names matching protected branchesCloses #334
Context
A worktree checked out on
maincaused the Stop hook to fire repeatedly, committing directly to localmainand advancing it pastorigin/main. This brokecwwhich requires localmainto trackorigin/main.Test plan
bun run typecheckpassesbun run testpasses🤖 Generated with Claude Code