Skip to content

Diagnose a project

Run:

Terminal window
sbxm status <project-id>

Project status checks the registration and its path, project metadata, host clone and origin, Dockerfile and image, sandbox identity and location, custom secret, repository inside the sandbox, and managed worktrees.

When the workspace item is missing, the sandbox record still names a neutral workspace directory that the host no longer has, and the runtime refuses to start the sandbox. The directory normally persists while the sandbox is stopped; an external cleanup or manual removal can leave the record behind without the host path. Nothing of the project is in that directory, so preparing the project again is enough: it creates the directory and reports the path it created.

The same absence can also show up while the sandbox is still running, since a live mount can outlast the host-side directory it came from. sbxm destroy and sbxm rebuild check for it directly rather than trust what a running sandbox reports from inside, and refuse instead of removing or rebuilding it. Preparing the project again resolves this case the same way.

When a project is reported as missing, inspect the registry path yourself. sbxm never adopts a directory solely because its name looks similar. When a secret or repository check fails, follow the credential command printed by add and confirm the secret was registered before the sandbox was created.