Repository navigation
Tell a desktop-hosted server's move checklist what happens to its computer - #4176
Merged
Merged
Conversation
…puter The server knows it runs in the desktop app (BB_APP_SURFACE). When it does, `bb server move --check` and the move checklist now include an info item saying the app will keep that computer connected as a background machine after the move, and that the service needs Node.js 22.19+ there; without it the computer stays connected only while the app is open. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
SawyerHood
force-pushed
the
bb/moved-desktop-move-check
branch
from
September 23, 2026 17:10
282b477 to
9177a8f
Compare
SawyerHood
marked this pull request as ready for review
September 23, 2026 17:37
SawyerHood
added a commit
that referenced
this pull request
Sep 23, 2026
) ## Human comments ## What was wrong `bb server move` is behind the default-off `serverMove` experiment, but the agent-facing directions didn't say so, and nothing told an agent to wait for the user before moving a server. A move stops all running work and is hard to undo, and `--yes` lets an agent skip the interactive confirmation. Stacked on #4176. ## What changed - `plugins/bb-guide/skills/bb-cli/SKILL.md`, `references/thread-creation.md`, `references/command-index.md`, and the machines guide template (`bb guide machines`) now say: - server moves are experimental - agents must never move a server, abandon a move, or unlock an old copy without the user's explicit confirmation in the conversation - agents should run `--check`, show the checklist, wait for confirmation, and not pass `--yes` on the user's behalf - `bb server move --help` describes the command as experimental. Docs and help text only; no behavior change. ## How you verified - `pnpm exec turbo run test --filter=@bb/cli --filter=@bb/templates`: 841 + 47 passed. - `oxfmt --check` on the changed TypeScript file. 🤖 Generated with [Claude Code](https://claude.com/claude-code) > AGENT GENERATED Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.
Human comments
What was wrong
Nothing in the move checklist told someone moving a desktop-hosted server what happens to their computer afterwards, or that keeping it connected needs Node.js 22.19+.
Stacked on #4175, which installs the service from the desktop app.
What changed
ServerMoveAppOptionscarries the server'sBB_APP_SURFACE, taken fromserverConfiginstart-server.tsand defaulting towebincreateApp. It flows throughcreateDefaultServerMoveEnvironmentintoServerMoveEnvironment.serverAppSurfaceand the check environment.runServerMoveCheckadds an info item,desktop-app-machine. It says the app will keep the computer connected as a background machine that updates with the server, and that this needs Node.js 22.19+ there. It never blocks the move.No server/daemon wire change.
How you verified
apps/server/test/server-move/checks.test.ts: a desktop-hosted server gets the item; a web one doesn't;canMoveis unchanged.pnpm exec turbo run test --filter=@bb/server -- test/server-move/: 97 passed.@bb/serversuite: 3085 passed.pnpm exec turbo run typecheck --filter=@bb/serverpasses.🤖 Generated with Claude Code