You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Run from a subdirectory: "no daemon is running" although the stack runs (search devstack.toml upwards) #467
In a worktree whose lane was running, devstack status, devstack logs <service> and devstack lane list were run from a subdirectory of the worktree (the frontend app folder, three levels below the stack file). Each answered:
Error: no daemon is running for this stack (start it with `devstack up`)
The lane was running the whole time (SPA and API healthy, devstack lane list from the worktree root listed it). Run from the root, the same commands worked.
Why it costs time
The message points at the wrong cause. It reads as "the lane is down", and the obvious reaction is devstack up. For an agent it is worse: the working directory drifts after a cd into the app folder (to run tests or a linter), and the next devstack call silently talks about "no daemon" instead of "no stack file here". It happened twice in one session.
Expected
One of:
Search upwards for devstack.toml from the current directory, like git does for .git. A subdirectory of a stack (or of a lane's worktree) then means that stack.
At least say what was looked up: no devstack.toml in <cwd> (run from the stack root or pass --dir) instead of "no daemon is running".
Option 1 would also make the MCP/CLI behave the same no matter where a test runner or editor left the shell.
Activity