Skip to content

Move a local plugin to a new directory without losing its settings - #2125

Merged
SawyerHood merged 2 commits into
mainfrom
bb/fix-1766-plugin-source-replace
Aug 21, 2026
Merged

SawyerHood merged 2 commits into
mainfrom
bb/fix-1766-plugin-source-replace

Conversation

@SawyerHood

@SawyerHood SawyerHood commented Aug 21, 2026 •

Copy link
Copy Markdown
Collaborator

What was wrong

A plugin installed from a local directory could not be re-pointed at another directory. assertInstallRegistrationAvailable in apps/server/src/services/plugins/plugin-registration.ts refused a same-id path: install whose canonical path differed ("already installed from path:...; remove it first"), and bb plugin update is a no-op for path rows. The only route was bb plugin remove + bb plugin install, and PluginService.remove() deletes the plugin's plugin_settings rows, plugin_schedules rows, and secrets directory. Nothing said so: the CLI help described remove as leaving local sources "alone", the guide and skill did not mention settings, the local-plugin dialog in the app said only "Its source files will stay on disk", both mobile removal sheets said "Its settings and data are kept for a reinstall", and the server logged nothing. Reinstalling from a new checkout silently reset the plugin to defaults.

Issue: #1766. Report: https://get-bb.github.io/reports/issues/1766.html

Review round 1 (SlopCop on a7b27b219) reproduced two defects in the first version of the move: a user-disabled plugin started after a move because the upsert forced enabled: true, and a valid package whose factory throws replaced the healthy install (loadOne records the error as status and returns) while the CLI reported Installed.

What changed

Server (apps/server/src/services/plugins/):

  • plugin-registration.ts: a move is a direct path: install of an id that is already registered from a different local directory (pathSourceMoveFrom). Reinstalling the same directory is not a move and keeps its existing "reinstall re-enables" behavior (covered by the existing test). For a move:
    • the upsert carries the previous row's enabled flag, so a disabled plugin stays disabled and does not start (round 1, finding 1);
    • after loadOne, any runtime status other than running, disabled, or needs-configuration fails the move: the candidate is disposed, restoreRegistration() puts the old row back, the old instance is reloaded, and the install throws plugin "<id>" failed to start from path:<new>: <detail>; the install at path:<old> was kept, so the CLI and app report a failure instead of Installed (round 1, finding 2). The registration context now receives the runtime statuses map for this check. The managed activation flow in plugin-activation.ts was not reused: it is artifact-based (toArtifactId, on-disk state snapshots, rollback-pending rows) and path sources have no artifacts; the registration module already owns restoreRegistration, which is all a path move needs;
    • the old mutable root is forgotten (as remove does) unless both paths resolve to the same directory, and the server logs the move.
  • plugin-service.ts: remove() logs what it deleted; passes statuses to the registration module.
  • plugin-updates.ts: bb plugin update <path plugin> no longer tells the user to "remove and reinstall"; it says to edit in place + bb plugin reload, or bb plugin install path:<new directory> to move it (settings kept). The git/npm pinned message is unchanged.

CLI (apps/cli/src/commands/plugin.ts):

  • bb plugin remove describes what it deletes (round 0).
  • The install confirmation for a path: source names the install it replaces: the CLI already reads the local package.json for the summary; it now derives the plugin id, lists installed plugins, and prints This moves "<id>" from <old dir>; its settings, secrets, and schedules are kept. before the full-trust prompt. Best effort inside the existing try; a failed list falls back to the plain summary.
  • bb plugin update --all pinned message now says remove deletes settings and that path plugins reload/move instead (round 1, finding 4). Existing assertion text preserved.

App and mobile (round 1, finding 3): one deletion-policy statement per client, used by every removal dialog.

  • apps/app/src/components/tools/PluginDetail.tsx: pluginRemovalDescription(); used by the desktop detail dialog in ToolsView.tsx. BrowsePluginsTab.tsx uninstall dialog aligned too (it said "Plugin data may be retained").
  • apps/mobile/src/data/plugins/plugin-model.ts: pluginRemovalDescription(); used by both PluginsScreen.tsx and PluginDetailScreen.tsx sheets, replacing "Its settings and data are kept for a reinstall".

Docs (round 1, finding 4): apps/server/src/services/skills/builtin-skills/bb-cli/SKILL.md and packages/templates/src/templates/bb-guide-plugins.md now say a pinned git:/npm: source changes through remove (deletes settings) + install, while a local path plugin is never removed to change it: reload in place or install the new path to move it; both keep configuration.

No wire change between server and host daemon, so no HOST_DAEMON_PROTOCOL_VERSION bump.

On the proposed explicit move contract (round 1, finding 5)

Not implemented. The proposal was to carry the expected old canonical path in the install request so a different local plugin that self-declares an installed id cannot inherit its secrets. A local plugin's identity has always been its id: bb plugin reload already runs whatever is in the registered directory with the same settings and secrets, and a same-path reinstall does too, so directory contents were never a trust boundary; kv rows and data.db are keyed by id and already survive remove + reinstall. The install is an explicit user action behind a full-trust confirmation that now names the exact install being replaced and its old directory, and the server logs the move. An expectedPreviousPath request field would be filled only by the CLI (the app has no path-install flow) and would be accepted-but-unused by every other caller, which AGENTS.md forbids. The ungated variant is the one the report listed as acceptable.

How you verified

Tests in apps/server/test/services/plugins/plugin-service.test.ts:

  • "re-points a path plugin at a new checkout and keeps its settings, secrets, and schedules" (round 0). Fails on origin/main with Error: plugin id "moved" is already installed from path:.../a/bb-plugin-moved; remove it first at plugin-registration.ts:257.
  • "keeps a moved path plugin disabled instead of starting it" (round 1). Against the round-0 source it fails with AssertionError: expected { id: 'dormant', …(24) } to match object { id: 'dormant', enabled: false, …(2) } (the moved plugin came back enabled: true, status: "running").
  • "rejects a path move whose new checkout fails to start and keeps the old install running" (round 1). Against the round-0 source it fails with AssertionError: promise resolved "{ id: 'brittle', …(24) }" instead of rejecting. With the fix it asserts the rejection message, that the DB row is back at checkout A (version 0.2.0, enabled: true), that checkout A's factory ran again, getApi() is defined, and the secret is still set.

App: new test in apps/app/src/views/ToolsView.plugin-detail.test.tsx ("warns that removing a local plugin deletes its settings, secrets, and schedules and names the move path") renders ToolsView with a path: plugin from a stubbed /api/v1/plugins, opens the actions menu, clicks "Remove from bb", and asserts the dialog copy. Mobile: plugin-model.test.ts asserts pluginRemovalDescription for both branches and that the old "kept for a reinstall" wording is gone.

Commands (all from this branch, rebased on origin/main 2ff85986e):

  • pnpm exec turbo run typecheck --filter=@bb/server --filter=@bb/cli --filter=@bb/app --filter=@bb/mobile --filter=@bb/templates: 8/8 tasks.
  • pnpm exec turbo run test --filter=@bb/server --filter=@bb/templates: templates 6 files passed; server 194/195 files passed, the one failure is the pre-existing internal-skill-trees.test.ts file-mode assertion (local umask 0002 artifact, passes in CI).
  • pnpm exec turbo run test --filter=@bb/cli --filter=@bb/mobile: cli 48 files passed, mobile 123 files passed.
  • apps/app: vitest run src/views/ToolsView.plugin-detail.test.tsx src/components/plugin/management src/components/tools: 14 files passed.

Manual repro on my own dev instance of this branch (server :22310, CLI built from this branch with BB_CLI_REEXEC=1 so the daemon's BB_CLI hop did not swap in another checkout's binary):

  1. bb plugin install --yes path:.../a/bb-plugin-mover, config set floor 7, config set token s3cret, bb plugin disable mover.
  2. bb plugin install --yes path:.../b/bb-plugin-mover → [email protected] disabled, source: path:.../b/...; server log plugin mover source moved from path:.../a/... to path:.../b/...; settings, secrets, and schedules were kept. (Round 0 started it.)
  3. Enabled it; bb plugin config mover shows floor = "7", token = [set].
  4. bb plugin install path:.../c/bb-plugin-mover (valid package, factory throws) prints This moves "mover" from .../b/bb-plugin-mover; its settings, secrets, and schedules are kept. at the confirmation, then with --yes: Error: HTTP 422: plugin "mover" failed to start from path:.../c/...: boom at startup; the install at path:.../b/... was kept. Afterwards /api/v1/plugins shows mover 0.2.0 running path:.../b/... and bb plugin config mover still shows 7 / [set]. (Round 0 reported Installed with the plugin in error.)
  5. POST /api/v1/plugins/mover/update returns the new path-specific message.

Fixes #1766

AGENT GENERATED: by Claude Opus 5

Independent verification (round 0, on a7b27b219; findings addressed above)

Checked out a7b27b219 (this PR's head) into a fresh worktree branched from FETCH_HEAD; origin/main (c9aef7514) is an ancestor, no conflicts.

Commands:

  • pnpm install --frozen-lockfile --prefer-offline && pnpm exec turbo run build (18/18 tasks).
  • Fail-before: git checkout origin/main -- <the 6 non-test files> then pnpm exec vitest run test/services/plugins/plugin-service.test.ts -t "re-points a path plugin" in apps/server. Result: 1 failed, Error: plugin id "moved" is already installed from path:/tmp/bb-plugin-test-cJ0tMv/a/bb-plugin-moved; remove it first at plugin-registration.ts:258.
  • Pass-after: restored the PR files, full plugin-service.test.ts: 25/25 passed.
  • Extra ad-hoc probes (not committed): mv of the checkout (old dir gone) then install from the new path keeps settings and reloads; installing a symlink alias of the same directory keeps the mutable root live (reload picks up edits); a same-id managed git: row still refuses a path: install; a new checkout whose factory throws registers in error state pointing at the new dir with settings rows intact (same as a same-path reinstall today).
  • pnpm exec turbo run typecheck --filter=@bb/server --filter=@bb/cli --filter=@bb/app --filter=@bb/templates: 7/7.
  • pnpm exec turbo run test --filter=@bb/server: 1819/1820 passed; the one failure is internal-skill-trees.test.ts mode 420 vs 436 (local umask artifact, passes in CI). @bb/cli 453 passed, @bb/templates 6 files passed, @bb/app 3187 passed with one TimelineRowDetails.output-preview 15s timeout that passed on rerun (unrelated to this change).
  • Repro on the fixed branch against my own dev instance (server :22063): bb plugin install --yes path:.../checkout-a, set alertFloorMinutes=1, staleWindowMinutes=3, token=s3cret; bb plugin install --yes path:.../checkout-b succeeded (was HTTP 422 on main); bb plugin config watchdog still shows 1 / 3 / [set]; bb plugin source watchdog shows path:.../checkout-b; server log: plugin watchdog source moved from path:.../checkout-a to path:.../checkout-b; settings, secrets, and schedules were kept. bb plugin remove --help from this branch's CLI build prints the new description. The original bug no longer reproduces.
  • CI: all checks pass (Checks, Package Smoke x2, Tests server/app-1..3/integration/packages, version check).

Residual risks noted in round 0 (all addressed in round 1):

  • A move to a checkout whose server entry throws was not rolled back. Now rolled back; test added.
  • A disabled path plugin became enabled after a move. Now preserved; test added.
  • Installing a different local plugin that reuses an installed local id replaces that registration. Still true by design; the CLI confirmation now names the replaced install (see finding 5 above).
  • SKILL.md said "changing a pinned source requires reinstalling it after removal". Reworded for git/npm vs path.

AGENT GENERATED: by Claude Opus 5

Independent verification (round 2, on 8dd601638)

Checked out bb/fix-1766-plugin-source-replace at 8dd601638 in a fresh worktree (based on 2ff85986e; a trial git merge origin/main at 703213a77 is clean). Diff against the merge-base: 16 files, +444/-29. No server/daemon wire change, so no HOST_DAEMON_PROTOCOL_VERSION bump is needed. No accepted-but-ignored fields, no casts outside tests, guide template and bb-cli skill updated for the changed remove help and the move behavior.

Fail-before / pass-after. With apps/server/src/services/plugins/{plugin-registration,plugin-service,plugin-updates}.ts reverted to origin/main, all three move tests fail (Error: plugin id "moved" is already installed from path:.../a/bb-plugin-moved; remove it first; brittle: expected [Function] to throw error matching /failed to start from path:.*boom at s…/ but got 'plugin id "brittle" is already instal…'). With those files at the round-0 commit dfdf9a9d6, the two round-1 tests still fail: expected { id: 'dormant', …(24) } to match object { id: 'dormant', enabled: false, …(2) } and promise resolved "{ id: 'brittle', …(24) }" instead of rejecting. Restored to the PR head: 6/6 move-related tests pass. App test against main's PluginDetail.tsx/ToolsView.tsx: expected 'Remove "github" from bb? Its source f…' to contain 'delete its settings, secrets, and sch…'; mobile test against main's plugin-model.ts: TypeError: pluginRemovalDescription is not a function. Both pass on the PR head.

Turbo. turbo run typecheck for @bb/server, @bb/cli, @bb/app, @bb/mobile, @bb/templates: 8/8 pass. turbo run test: templates 6/6 files, cli 48/48, mobile 123/123. Server: 25 files timed out at 5s under load (dev instance and build were starting concurrently); re-run in isolation 24/25 pass, the one remaining failure is the pre-existing local internal-skill-trees umask (0644 vs 0664) failure, which passes in CI. App: 14 files / 157 tests for components/plugin/management, components/tools, ToolsView.plugin-detail pass. GitHub CI on 8dd601638: all checks pass (Checks, Package Smoke x2, Tests app-1/2/3, integration, packages, server).

Manual repro on my own dev instance (server :23641, own data dir, CLI from this branch with BB_CLI_REEXEC=1). Fixture = the report's watchdog plugin in three directories: A (0.1.0), B (0.2.0), C (0.3.0, valid manifest, factory throws boom at startup).

  • Original bug: install A, set alertFloorMinutes=1, staleWindowMinutes=3, token=s3cret; bb plugin install --yes path:B prints This moves "watchdog" from .../a; its settings, secrets, and schedules are kept. and [email protected] running at path:.../b; bb plugin config watchdog still shows 1 / 3 / [set], plugin_schedules still has sweep. Server log: plugin watchdog source moved from path:.../a to path:.../b; settings, secrets, and schedules were kept. No longer reproduces.
  • Round-1 finding 1 (disabled plugin started by a move): bb plugin disable watchdog, then install --yes path:A -> [email protected] disabled, plugins.enabled = 0 in the DB, no loaded log line for the move.
  • Round-1 finding 2 (broken checkout replaces a healthy one): with the plugin running at B, install --yes path:C -> Error: HTTP 422: plugin "watchdog" failed to start from path:.../c: boom at startup; the install at path:.../b was kept, exit 1; bb plugin list shows [email protected] running at B, settings 1/3/[set], schedule and secrets file still present, DB row enabled=1 root_dir=.../b version=0.2.0.
  • Round-1 finding 3 (removal copy): read all four surfaces; desktop detail dialog and mobile sheets go through one pluginRemovalDescription() per client and name settings, secrets, and schedules; the browse-tab uninstall dialog no longer claims data may be retained. bb plugin remove watchdog logs ... removed from path:.../b; its settings, secrets, and schedules were deleted and the rows are gone.
  • Round-1 finding 4: POST /plugins/watchdog/update on a path row returns the new reload-or-install-the-new-path message; bb plugin update --all prints the new pinned message.
  • Round-1 finding 5: agree with the refutation in the body; no request-level gate is warranted.
  • Mutable-root sanity: after A->B->A, editing A and bb plugin reload picks up a new setting; after moving back to B (whose root was forgotten), editing B and reloading picks up the change.

Residual risks. A move while the plugin is disabled does not validate the new checkout (loadOne short-circuits to disabled), so install path:C while disabled succeeds and the factory error surfaces only on enable; settings are still kept and this matches how a disabled plugin behaves on reload. The move check covers only the immediate post-load status, as the body notes. A same-id local plugin from a different directory inherits settings and secrets by design; the CLI confirmation names the replaced install, but --yes skips it.

AGENT GENERATED: by Claude Opus 5

@SawyerHood
SawyerHood marked this pull request as ready for review August 21, 2026 02:16
@bb-slop-cop

bb-slop-cop Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

🚨 SLOP COP 🚨 · review

I am the Slop Cop. I am reviewing this pull request for security, code quality, performance, architecture, and the full user flow.

identity.sourceIntent,
)
) &&
!isPathSourceMove(existing, identity)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 slopcop/review — Any direct path can receive the saved plugin identity.

This check uses only the path type and the self-declared plugin ID. It does not verify the expected old source. Another local plugin can receive the saved secrets and schedules. Add an explicit move request with the expected old canonical path.

if (!sameDirectory(existing.rootDir, args.rootDir)) {
forgetMutableRoot(existing.rootDir);
}
logger.info(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 slopcop/review — A failed start still completes the move.

loadOne() records a factory error and returns. This code then writes a success log and keeps the failed source. I reproduced this result with a valid package whose factory throws. The CLI reported Installed, but the plugin had an error state. Keep the old registration until the new plugin starts successfully.

Comment thread apps/app/src/views/ToolsView.tsx Outdated
description={
pluginIsLocalSource(deleteTarget)
? `Remove "${deleteTarget.id}" from bb? Its source files will stay on disk.`
? `Remove "${deleteTarget.id}" from bb and delete its settings? Its source files will stay on disk.`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 slopcop/review — The warning omits deleted secrets and schedules.

The server deletes settings, secrets, and schedules. This dialog lists only settings. Both mobile dialogs also give incorrect information. They say that settings and data stay after removal. Update all three user surfaces with the same deletion policy.

}
throw error;
}
if (existing !== undefined && existing.rootDir !== args.rootDir) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 slopcop/review — A move starts a disabled plugin.

The move block runs after the upsert sets enabled: true. A move must keep existing.enabled. I disabled version 0.2.0 and moved it. Version 0.1.0 then ran without an enable command.

@bb-slop-cop bb-slop-cop Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 SLOP COP 🚨 · review

Plain English summary: This change lets bb move a local plugin to another folder without deleting saved configuration. The normal move works. However, several edge cases can start unwanted code or replace healthy code.

Priority findings:

  1. P1 — Add an explicit move contract. The server accepts any direct path with the same self-declared plugin ID. That code receives the existing settings, secrets, and schedules. The request must include the expected old canonical path.

  2. P1 — Do not commit a failed start. A valid plugin whose factory throws replaces the healthy plugin. The CLI still reports Installed with an error state. The new test checks only an invalid manifest before the server changes live state.

  3. P1 — Preserve the disabled state. The upsert always sets enabled: true. A move therefore starts a plugin that the user disabled.

  4. P1 — Correct every removal warning. The desktop dialog omits secrets and schedules. Both mobile dialogs say that settings and data stay. The server deletes settings, secrets, and schedules.

Other findings:

  • The built-in CLI skill still tells agents to remove and reinstall a changed pinned source. That advice can delete the state this change protects.
  • The new directory check repeats runtime canonical-path logic. A changed old symlink can leave its prior mutable root in the module resolver.
  • Use the managed activation flow in plugin-activation.ts. It already checks runtime errors and restores the old registration.
  • A shared registration classifier can return same-source, path-move, or conflict. This result can control validation, state, cleanup, and logs.

Verification:

  • The A-to-B CLI move kept floor=1, token=[set], and the schedule.
  • A disabled move became a running plugin.
  • A valid factory failure returned Installed with an error state.
  • Doobie showed the changed desktop removal dialog.
  • All GitHub checks pass.

I found no other security issue or hot-path performance problem. The issues above block a safe merge.

SawyerHood and others added 2 commits August 21, 2026 03:08
Installing a path: source for a plugin id that was already installed from
another local directory was refused with "remove it first", and remove()
deletes the plugin's settings, secrets, and schedules. Re-pointing a local
plugin at a new checkout therefore silently reset it to defaults, and the
CLI help, guide, and local-plugin dialog described remove as non-destructive.

Treat a direct path -> path install of the same id as a move: dispose the
old instance, upsert the row with the new source and rootDir, load it, and
forget the old mutable root. Settings, secrets, and schedules are keyed by
plugin id, so they survive. Log the move and the remove, and say in the CLI
description, guide, skill, and app dialog that remove deletes configuration.

Fixes #1766

Co-Authored-By: Claude <[email protected]>
…start

Round 1 of #2125. Automated review reproduced two defects in the path
move: the move block ran after the upsert forced enabled: true, so a
user-disabled plugin started after a move; and loadOne records a throwing
factory as an error status and returns, so a valid package whose factory
throws replaced the healthy install while the CLI reported Installed.

A move is now a direct path -> path install of the same id from a
different directory (same-directory reinstall keeps its re-enable
behavior). The upsert carries the previous enabled flag. After loadOne,
any runtime status other than running, disabled, or needs-configuration
fails the move: the candidate is disposed, restoreRegistration() puts the
old row back, the old instance reloads, and the install throws with the
failure and the kept source.

Align every removal dialog (desktop detail, browse tab, both mobile
sheets) with remove(): settings, secrets, and schedules are deleted; a
local plugin's files stay; install the new path to move it. The mobile
sheets said settings and data were kept, which was wrong. Update the
skill, guide, and the pinned-source CLI/server messages to describe the
in-place path move instead of remove + reinstall.

The CLI confirmation for a path install now names the install it moves
("This moves <id> from <old dir>; its settings, secrets, and schedules
are kept") by reading the local package.json it already parses and
listing plugins, so a move is never silent at the human gate. No wire
change.

Co-Authored-By: Claude <[email protected]>
@SawyerHood
SawyerHood force-pushed the bb/fix-1766-plugin-source-replace branch from a7b27b2 to 8dd6016 Compare August 21, 2026 03:29
@SawyerHood
SawyerHood merged commit ed97e55 into main Aug 21, 2026
13 checks passed
@SawyerHood
SawyerHood deleted the bb/fix-1766-plugin-source-replace branch August 21, 2026 03:45
SawyerHood added a commit that referenced this pull request Aug 21, 2026
## What was wrong

The codebase carried a lot of code that nothing reached: symbols and
files with no consumer, options that no caller passes, branches the
types make impossible, feature flags that graduated but kept their `if`
guards, pass-through wrappers that only forward arguments, barrel files
that re-export hundreds of names nobody imports through them, and the
same small helper copied into many files. This code has no effect on
behavior, but every reader must still parse it.

## What changed

Net −16k lines across 1,732 files. No behavior change. Four commits, two
per pass:

1. **Remove dead code, pass-through wrappers, and stale barrels** —
unused symbols and files, dead branches, unused params/options,
single-use wrappers inlined, dead barrel lines, tests and stories that
existed only for deleted code. Drops the unused `cronstrue` dependency
from `apps/app`.
2. **Drop export from module-private symbols** — ~900 declarations that
were exported but only used inside their own file.
3. **Remove more dead code, duplicate helpers, and unused options** —
second pass over the same ground plus repo-wide sweeps for duplicate
helpers and legacy/compat paths. Folds byte-identical helper copies into
one shared module where the consumer already depends on it (e.g.
`describeError` ×11, `createDeferred` ×15 → `@bb/test-helpers`,
`DelayedLoading` ×4 → `@bb/shared-ui`). Removes unused
`ws`/`@types/ws`/`tsx` devDependencies from `apps/connect` and an unused
`@radix-ui/react-slot` from `apps/web`.
4. **Drop export from more module-private symbols** — ~700 more.

Out of scope on purpose: `@get-bb/plugin-sdk` and `@bb/sdk` exports
(public API), CLI commands and flags, server routes, DB schema and
migrations, generated code, wire payload shapes between the server and
host daemon (`HOST_DAEMON_PROTOCOL_VERSION` is unchanged), and parsers
for persisted or legacy data.

Every removal was found by one agent, adversarially verified by a second
agent that searched the whole repo (including strings, configs, docs,
`.ladle`, and stories) for any remaining reference, and then applied by
a third. 41 proposals were rejected at verification or apply time, and I
reverted 2 more by hand.

## How you verified

- `pnpm exec turbo run typecheck` — 74/74 packages pass
- `pnpm exec turbo run lint` — passes
- `pnpm exec turbo run build` for `@bb/app`, `@bb/server`,
`@bb/host-daemon`, `@bb/cli`, and all `plugins/*` — passes
- `pnpm exec turbo run test` — all packages pass except
`internal-skill-trees.test.ts`, which fails identically on `main` on
this machine (local umask 0002; passes in CI)
- Rebased onto `main` after #2125, #2132, #2128, #2126, #2112 landed;
re-ran typecheck, lint, and tests for the touched packages

Fixes #

> AGENT GENERATED: by Claude Opus 5

---------

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replacing a local plugin source destroys its settings silently: remove is the only supported path and it deletes plugin_settings

1 participant