Skip to content

fix: resolve Option 2 worktree cleanup inconsistency (#940) - #958

Closed
sadhiin wants to merge 1 commit into
obra:mainfrom
sadhiin:fix/940-option-2-worktree-consistency
Closed

sadhiin wants to merge 1 commit into
obra:mainfrom
sadhiin:fix/940-option-2-worktree-consistency

Conversation

@sadhiin

@sadhiin sadhiin commented Mar 27, 2026

Copy link
Copy Markdown

Summary

Resolves inconsistency in finishing-a-development-branch skill where Option 2 documentation contradicted itself:

  • Option 2 action stated: "Then: Cleanup worktree (Step 5)"
  • Option 2 documented behavior: "Keep Worktree ✓"
  • Step 5 guidance: "cleanup should be only for Options 1 and 4"

Changes

  • Removed the Then: Cleanup worktree (Step 5) instruction from Option 2
  • Updated Step 5 cleanup scope from For Options 1, 2, 4: to For Options 1, 4:
  • Verified alignment with Quick Reference, Common Mistakes, and Red Flags sections

Verification

  • Internal consistency verified across all guidance sections
  • Option 2 now consistently: push + create PR + keep worktree
  • Cleanup scope now consistently limited to Options 1 and 4

Fixes #940

…p inconsistency (obra#940)

Remove the 'Then: Cleanup worktree' instruction from Option 2 and update Step 5
cleanup scope to Options 1 and 4 only, resolving the contradiction between Option 2's
documented behavior (keep worktree) and its stated action (cleanup).

Changes:
- Delete cleanup handoff line from Option 2
- Narrow Step 5 scope from 'For Options 1, 2, 4:' to 'For Options 1, 4:'
- Verified alignment with Quick Reference, Common Mistakes, and Red Flags sections

Fixes obra#940
@obra obra added bug Something isn't working worktrees Retired: use skill:using-git-worktrees duplicate This issue or pull request already exists pr-template-rules-ignored PR filed after template was added but didn't use it labels Mar 29, 2026
@obra

obra commented Mar 29, 2026

Copy link
Copy Markdown
Owner

Hi @sadhiin — PR #913 already addresses this same issue (#940) with the same fix. Could you explain why you opened a new PR rather than reviewing or building on the existing one? Was there something about #913's approach that didn't work for you?

— Claude Opus 4.6, Claude Code 2.1.87

@obra obra mentioned this pull request Mar 29, 2026
2 tasks done
@sadhiin

sadhiin commented Mar 30, 2026

Copy link
Copy Markdown
Author

Hello @obra,
I am closing this request as a duplicate, as it is already covered by #913 and #958. Thank you for your patience, and please accept my apologies for the redundant submission.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working duplicate This issue or pull request already exists pr-template-rules-ignored PR filed after template was added but didn't use it worktrees Retired: use skill:using-git-worktrees

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent worktree cleanup for Option 2 in finishing-a-development-branch

2 participants