Repository navigation
feat: lane start, stop and reset take the lane of the worktree they run in - #477
Merged
Merged
Conversation
…un in In a lane's worktree `devstack up` found the lane by itself, while `devstack lane stop` refused without a name. Without one, start, stop and reset now take the lane whose worktree the command runs in, by the daemon's list (start brings the daemon up first, as up does). In the main working tree or outside a worktree they ask for the name as before. Closes #476 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 and why
In a lane's worktree
devstack upstarts that lane without being told its name, butdevstack lane stoprefused without one (Usage: devstack lane stop <NAME>): an agent finishing in a worktree had to work out the lane's name before it could stop the lane it had started.devstack lane start,lane stopandlane resettake an optional name. Without it, they take the lane whose worktree the command runs in, by the daemon's list of lanes (matched by path, asdevstack uidoes).startbrings the daemon up first, asupdoes;stopandresetneed it running anyway.lane_stoptakeslaneas optional too: without it, the lane of the worktree the MCP server runs in (the agent's usual way to tear down).lane_startkeeps its requiredlane: in a worktree the agent'supalready starts its lane.this is not a lane's worktree; name it: devstack lane stop <NAME> (devstack lane list).docs/stack-file.md, thedevstackskill and the CHANGELOG say so.No review card: an optional argument where one was required is additive and cheap to reverse; nothing a script reads changes. Decided on my own:
resetgets the same asstartandstop; of the MCP tools onlylane_stopchanges.Verified
Windows 11, in this PR's worktree, from its
ui/folder:error: the following required arguments were not provided: <NAME>devstack lane startstarted lanelane-here(dashboard healthy),devstack lane stopstopped itui/, lane started by 0.41.0:tools/call lane_stop {}answeredlane `lane-here` stoppedcargo fmt --check,cargo clippy --workspace --all-targets -D warnings,cargo test -p devstack(bin) green; a parse test pins the optional names.Closes #476
🤖 Generated with Claude Code