vibe-rebase
Resolves conflicts when a PR falls behind main. Tries automatic rebase first;
if there are semantic conflicts, dispatches a subagent with the conflict
context. Force-pushes with --force-with-lease.
Invoke
/vibe-flow:vibe-rebase <PR_NUMBER>
Auto-triggered by vibe-merge when mergeStateStatus: BEHIND or DIRTY.
Flow
git fetch origin→ trygit rebase origin/main- If clean →
git push --force-with-lease - If conflicts → dispatch subagent with file list + both sides of each hunk
- Subagent resolves, pushes, reports
- Re-verify mergeable state post-push
Safety
- Never
--force(uses--force-with-lease) - Max 2 rebase attempts per PR; then →
blocked, human notified - Won’t touch main, won’t rebase other people’s branches