- Notifications
You must be signed in to change notification settings - Fork 0
fix(worktrees): stop silent worktree wipes and misdirected commands#2240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
8bf675c
fix(worktrees): require human confirmation before clean-worktree.mjs …
BigSimmo d9f6721
fix(worktrees): detect a broken .git link at session start instead of…
BigSimmo a7cda27
docs: record review ledger entry for PR #2240
BigSimmo 48b83fe
fix(worktrees): address Codex review — dry-run preview and symlink fa…
BigSimmo f9d64cd
Merge branch 'main' into claude/worktree-cleanup-guard
BigSimmo 7952049
Merge branch 'main' sync into claude/worktree-cleanup-guard
BigSimmo a0a957c
fix(worktrees): exempt --dry-run from the removal confirmation gate
claude cd3ecb9
Merge branch 'main' into claude/worktree-cleanup-guard
BigSimmo 08e2e78
Merge branch 'main' into claude/worktree-cleanup-guard
BigSimmo ca05fa3
Merge automated Autofix duplicate fix into claude/worktree-cleanup-guard
BigSimmo ced6892
Merge remote-tracking branch 'origin/main' into claude/worktree-clean…
claude 6a62171
Merge branch 'main' into claude/worktree-cleanup-guard
BigSimmo ca8afd3
Merge branch 'main' into claude/worktree-cleanup-guard
BigSimmo 89d2d19
Merge branch 'main' into claude/worktree-cleanup-guard
BigSimmo a57a3bd
fix(worktrees): close the programmatic bypass CodeRabbit found on PR …
BigSimmo 3b16f53
docs: record ledger entry with decisive gate output for the CodeRabbi…
BigSimmo 68c38b6
Merge latest origin/claude/worktree-cleanup-guard (main syncs + guard…
BigSimmo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
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
1 change: 1 addition & 0 deletions
1 ...ords/a8edc68de42114a1d9780e9e58d5b160d06bbdbaa8772c51e525108cf6ec2484.record.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| | 2026-08-21 | claude/worktree-cleanup-guard | d9f67213557eadda67e1cfc983e6948ecf57fe70 | scripts/clean-worktree.mjs, scripts/check-base-freshness.mjs, .claude/settings.json | author-implemented; PR #2240 opened | self-test, lint, typecheck, format(unchanged) | | ||
1 change: 1 addition & 0 deletions
1 ...ords/e246b1146921341f3d4d59e978c5c64eba136dbf114ced90cc88cac2c1f28c08.record.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| | 2026-08-21 | claude/worktree-cleanup-guard | a57a3bd52fdf25e5479e1e867cfbb2c7bccc9bb1 | scripts/clean-worktree.mjs, scripts/check-base-freshness.mjs | author-implemented; addressed CodeRabbit finding on PR #2240 (programmatic confirm-gate bypass, moved to assertRemovalConfirmed at both call sites) | self-test: [clean-worktree] Self-test passed successfully. \| lint: [gate-receipts] recorded a pass for lint:internal (3933 input files) \| typecheck: [gate-receipts] recorded a pass for typecheck:internal (3933 input files) \| manual bypass check: runMergedWorktreeReport({remove:true,dryRun:false}) with CLEAN_WORKTREE_CONFIRM unset now refuses before the removal loop instead of deleting | |
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
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
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
Uh oh!
There was an error while loading. Please reload this page.