Description
Summary
I built plugins in a normal thread. bb linked them to that thread's workspace folder (~/.bb/plugins/environment-personal-workspace/host-data/workspaces/thr_…) instead of copying them somewhere permanent. When I archived the thread, bb deleted the folder and the plugins went with it. The only warning was in a server log. Nothing appeared in the UI.
Versions and environment
Version: bb 0.48.1, Windows 11
Steps to reproduce
- In a project using the Personal workspace environment, start a normal thread and have the agent build a plugin:
bb plugin new kanban, edit the files, then runbb plugin install . --yesfrom the workspace folder (~/.bb/plugins/environment-personal-workspace/host-data/workspaces/thr_/bb-plugin-kanban). - The install succeeds and the plugin works. The CLI and UI show no warning.
- Archive the thread.
- Restart bb (for me,
bb updatedid this). bb plugin listshows the plugin as "missing". The workspace folder is gone, with nothing in the Recycle Bin.
Did NOT reproduce with: a plugin installed from a path outside the managed workspace (E:\bb-plugins\bb-plugin-tracker-board). It survived the same archive and restart.
Expected vs actual
Actual: All three plugins showed as "missing" after the next bb restart (the bb update), and their source folders were gone. `bb plugin list` showed: "3 plugins not running (chief-of-staff: missing, delivery-dashboard: missing, kanban: missing)". The only warning was a level-40 line in server.1.log. Nothing appeared in the UI, at install, or at archive.
Expected, any of:
- Installing a plugin from a bb-managed workspace copies it to a permanent location.
- Archiving a thread warns that installed plugins live in its workspace and will be deleted.
- At minimum, the "installed from inside a bb-managed workspace" warning is shown in the UI or CLI output, not only in the server log.
Evidence
bb 0.48.1, Windows 11. This was hit in normal use; I haven't re-run it on a fresh install.
Plugin threads: thr_garsdthqfa (chief-of-staff), thr_jvyz47sviq (delivery-dashboard), thr_c79rkcx5tq (kanban). All three were archived 30 Oct 00:00:20–00:00:23. No automations were configured, so I don't know what triggered the archive.
~/.bb/logs/server.1.log (one of 5 identical lines, one per install):
{"level":40,"component":"server","msg":"plugin "...\workspaces\thr_c79rkcx5tq\bb-plugin-kanban" is installed from inside a bb-managed workspace; its source will be deleted when that environment is destroyed (e.g. when the owning thread is archived). Reinstall from a stable path outside the managed workspace to avoid losing it."}
AGENT GENERATED. Investigation thread: thr_wk8yyapx9n
What you ruled out
Not caused by the bb update itself: the folders were deleted at archive time, and the update's restart is just when bb noticed.
Unarchiving does not restore the workspace.
Not an automation: bb automation list is empty.
Suggested priority and effort (optional)
High: plugin source code is silently deleted during normal use. bb already knows the risk at install time (it logs a warning), but the user never sees it. The only recovery was replaying file diffs from the archived threads' logs. Effort probably low: show the existing warning in the CLI/UI, or warn on archive.
Checks
- I reproduced this on the latest release or on
main, or I say above that I could not. - I searched open and closed issues for the same problem.
- If an agent wrote this, the body ends with
> AGENT GENERATEDand links the thread or report.
Activity
bb-slop-cop commentedon Oct 30, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotpluginsandworkspaces. All classifications were previously unset.missingwhile the stable-path control remainsrunning. Archive scheduling is source-traced; Windows and full UI/CLI archiving were not exercised. Reproduction label:confirmed-repro.Keep path plugins when bb deletes their thread storage or workspace, …