Merge Main Cleanup Overview Perform a full merge into main and then delete all other branches locally and on the default remote. Remove any worktrees tied to deleted branches. When to Use - User says to merge into main and keep only main. - User wants a one-step cleanup of branches after merge. Workflow 1) Validate repository state - Run and stop if there are uncommitted changes. - Run and work from that root. - Run to sync branch state. 2) Determine base branch - Prefer ; if missing, use . - Command: 3) Merge current branch into base - Get current branch: . - If already on base, skip merge.…