Rebase assistant Goal Rebase the current branch onto a target branch safely, with built-in conflict resolution guidance. Inputs to confirm (ask if missing) - Target branch (explicit branch name or "default branch"). - Preferred conflict bias when ambiguous: keep ours, keep theirs, or manual merge. - Protected paths or file types to avoid touching. Workflow 1) Identify the target branch - If user says "default branch": discover via (read "HEAD branch"). - If ambiguous or no remote: ask the user which branch to use. 2) Preflight checks - (must be clean before rebase). - to sync remotes. - Optio…