ux(worktrees): rebase reports conflict file names only — no hunk detail and no sanctioned resolve path #21
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Gap (hit live, 2026-07-10, an earlier branch)
madt_worktrees action=rebase onto=mainon a conflicted branch reports:Clean abort is the right default, but the agent is then stuck:
git rebase <base>is steered to the madtea tools (which auto-abort), and the steering's carve-out forgit rebase --continueis unreachable because you can never get INTO a conflicted rebase. The only workaround today is manual tree surgery: copy the base version of the conflicted file over the branch's, re-apply the branch's intent by hand, commit, and let the 3-way merge resolve on identical hunks (what that branch ended up doing for the ADR index).Ask
Either (or both):
action=rebase resolve=trueleaves the conflicted rebase in progress in the worktree (worktree-scoped, never the primary checkout) and the steering blessesgit add <file>+git rebase --continueinside it; or a documented recipe inmadt_help(topic="worktrees")for the tree-surgery pattern.Whichever shape, the goal is: a conflicted rebase must have a first-class path forward, not just a clean dead end.
Amendment from later in the same session: a sanctioned conflicted-PR path DOES exist —
madt_orchestrate reconcile=<pr>(merge base into head, continue/abort rails) — and it resolved a recent conflicted-PR case well. Two residual gaps stand:madt_worktrees action=rebaseaborts and rawgit rebaseis steered away.madt_worktrees rebase's conflict-abort message doesn't mention reconcile or any next step, andmadt_finish's merge-405 advice doesn't either (that part is #22). I only found reconcile becausemadt_prs action=merge's error names it.So the ask narrows to: give the no-PR case a path (or bless reconcile pre-PR), and cross-link the existing rails from the rebase/finish failure messages.