Dashboard: Create Worktree should match ./iw start behavior #349
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#349
Loading…
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?
Layer: 1 — Fix the Annoying Stuff
Parent: #343
Problem
The dashboard's "Create Worktree" modal creates a worktree but doesn't fully replicate what
./iw startdoes — specifically, it doesn't create a tmux session, doesn't register properly with the dashboard, and the resulting worktree may not be immediately usable in the same way.Solution
./iw startbehavior — the dashboard create action should produce the same result as running./iw start <issue-id>from the terminal./iw startunder the hood rather than reimplementing the logicIntake: duplicate of #477
#477 asks for the same result:
iw startand the dashboard make identical worktrees, and a change to whatiw startdoes reaches the browser with no second edit. These are items 1, 2 and 4 of this issue. When #477 is done, this issue is done too. #477 also names the cause, which is two separate orchestrations.Parts of this issue are now out of date:
dashboard/jvm/src/infrastructure/CaskServer.scala, the create endpoint).CreationErrorView,WorktreeCreationError.toUserFriendly, and the HTMX loading indicator inCreateWorktreeModal.scala.The remaining gaps are all in the "What has already drifted" list of #477: no session hooks, no effort worktrees, the hard-coded
../<dir>path, and the herdr label.Note:
project-management/efforts/dashboard-control-plane/map.md:372uses #349 as the tracker forcreate-worktree-parity. That entry must point to #477.