Skip to content

feat(commit-commands-jj): add ancestor check, post-merge cleanup, and absorbed change detection#55

Merged
muloka merged 1 commit into
mainfrom
feat-finish-sync-safety-checks
Apr 12, 2026
Merged

feat(commit-commands-jj): add ancestor check, post-merge cleanup, and absorbed change detection#55
muloka merged 1 commit into
mainfrom
feat-finish-sync-safety-checks

Conversation

@muloka

@muloka muloka commented Apr 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • /finish Option 1: Add ancestor check before push — warns if stacked changes will be included in the PR
  • /finish Option 1: Add post-merge cleanup — abandons local ancestors after squash-merge so orphans don't accumulate
  • /sync: Detect absorbed changes after fetch — offers to abandon changes already in trunk via squash-merge instead of forcing a conflicting rebase

Test plan

  • Run /finish with a stacked change to verify ancestor warning
  • Run /finish post-merge to verify local cleanup
  • Run /sync after a squash-merge to verify absorbed change detection

🤖 Generated with Claude Code

… absorbed change detection

Add safety checks to /finish and /sync skills:
- /finish Option 1: ancestor check warns about stacked changes before push
- /finish Option 1: post-merge cleanup abandons local ancestors after squash-merge
- /sync: detect absorbed changes after fetch, offer to abandon instead of conflicting rebase
@muloka muloka merged commit 6ae4a0e into main Apr 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant