Repository navigation
feat(cli): dashboard links to a stack or lane, for agents to hand on - #177
Merged
Merged
Conversation
`devstack status`, `up` and `lane start` end with `dashboard: http://127.0.0.1:4250/#/s/<id>?lane=<lane>`; so do the MCP tools `status`, `up` and `lane_start`, and `lanes` names each lane's page. `devstack ui` opens on the stack it runs in (in a worktree on its lane, `--lane` for another); `--link` prints the page and the `devstack://open` link that pairs the browser first. The id is the one the daemon registers. The `devstack` skill tells agents to give the user that page after starting a stack or lane, or creating a worktree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # CHANGELOG.md
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Agents can now give the user the dashboard page of the stack or lane they work on, for example right after they created a worktree.
devstack status,devstack up,devstack lane startend withdashboard: http://127.0.0.1:4250/#/s/<id>?lane=<lane>. An emptylane=means the main working tree.status,upandlane_startend with the same line, andlanesgives each lane's page.devstack uiopens the dashboard paired, on the stack of the current repository; in a worktree it opens that worktree's lane, also when the lane is not started yet.--lane <name>picks another lane.devstack ui --linkprints two lasting links: the page, for a browser that is already paired, anddevstack://open?stack=…&lane=…, which pairs the browser first (ADR-0045 point 6).devstack: a new section, "Tell the user where to look". After starting a stack or lane, or creating a worktree, the agent gives the user the page, quoted as printed, never built by hand.The stack id is computed the same way the daemon registers it:
registry::id_forof the long path of the main tree's stack file. Checked against the registry on Windows: it gives the same id, and the lane of a worktree that is not started is found too.No architectural decision: this adds CLI output and a skill section on top of existing routes and the existing
devstack://openlink.Checked
cargo fmt --checkandcargo clippy --workspace --all-targets -D warningspass.cargo test -p devstackpasses, including new tests for the CLI arguments and fordashboard_links.Installed skills report themselves as outdated until
devstack skills installruns again.🤖 Generated with Claude Code