Repository navigation
Description
The workflow
I maintain Agent Board. After publishing v0.7.0 and updating its marketplace selector from ^0.6.1 to ^0.7.0 in get-bb/marketplace#550 (merged), existing installations retained their original ^0.6.1 source intent.
I want users to discover the newer stable release, review the range change and compatibility, and explicitly upgrade the existing managed Git installation without uninstalling or resetting its configuration.
This is one feature request for two complementary parts of that upgrade workflow: out-of-range release discovery and a safe, confirmed version-range change. It is not a request to change semver semantics or automatically install potentially incompatible releases.
What happens today
Maintainer-reported CLI evidence (supplied from an existing installation):
bb plugin source agent-board
bb plugin outdatedRelevant output as supplied; the final line is an abbreviated table row:
requested: git:https://github.com/aaronphifer/bb-plugin-agent-board.git@semver:^0.6.1
resolved: https://github.com/aaronphifer/[email protected]
range: ^0.6.1
agent-board ... currentThat is correct semver selection: ^0.6.1 excludes 0.7.0. The missing information is that a newer stable release exists outside the selected range.
Verification scope: the investigation reviewed upstream main at 2a65a58bda942d67dd37b0dae1e3fee4577725b3. The original CLI observation did not include the exact BB version, OS, or installation method. It was not rerun against a live BB server or the reporter's installed plugins; live integration reproduction remains unverified. No installed plugin was changed. Source findings and the isolated resolver check below are separate from the reported CLI output.
Current source findings:
- The Git range filter discards tags outside the installed range. Range-update resolution then returns
currentwhen the first eligible candidate is the installed commit. Consequently an out-of-range release does not reach engine/SDK probing or appear as a blocked newer candidate. - Installed-source comparison includes the Git range, and the managed reinstall guard refuses replacing an installed managed Git plugin through install. The local-path move exception does not apply to this case.
- The update path resolves the existing row's source intent. The inspected CLI update command takes an ID/
--all, with no source-range replacement argument;plugin sourceis a read-only inspection command. - Removal cleanup deletes settings, schedules, and secret files. I did not verify that removal deletes KV storage or the plugin database, and do not claim that it does. The requested upgrade should preserve all persistent plugin state regardless.
- The existing snapshot machinery already captures plugin database/host state/secrets and previous registration. Managed activation preserves enabled state and invokes rollback on activation failure.
Isolated source-level check, actually executed: Node 24.18.0 ran the exact extracted resolveGitRangeUpdate function and its relevant helpers from the commit above, with the real semver library and a synthetic listGitSemverTags result: v0.7.0 at commit B, v0.6.1 at commit A; installed tag v0.6.1/commit A; installed range ^0.6.1; a compatibility-probe stub that would accept candidates and count calls. Assertions passed:
{"tags":["v0.7.0","v0.6.1"],"range":"^0.6.1","result":"current","compatibilityProbes":0,"blockedFieldPresent":false}This verifies the resolver decision with synthetic metadata, not network tag discovery, a complete BB installation, UI behavior, or upgrade/data-restoration behavior. The existing range-resolution test also distinguishes a satisfying update from a range with no newer eligible candidate.
For an existing installation retaining the old selector, the two read-only commands above are the minimal reported reproduction. A full integration regression should use a disposable BB instance and a fixture Git repository with distinct v0.6.1/v0.7.0 commits, install the former using @semver:^0.6.1, then check for updates. No remove/reinstall is needed to demonstrate the discovery gap.
What you would expect
A. Release discovery through the existing update system
For example:
Agent Board 0.7.0 is available. Your installed range ^0.6.1 excludes this release. Review upgrade.
Acceptance criteria:
- Distinguish an update allowed by the installed range from a newer stable release that requires changing it. A plugin can be current within its range while a newer release exists.
- Respect intentional exact-version/tag/commit pins: keep the pin and identify it clearly. Any advisory discovery for pinned installs must not silently convert them to tracking sources.
- Identify potential breaking changes, including pre-1.0 minor transitions such as 0.6 → 0.7, and offer release notes when available. Passing engine checks alone must not imply that plugin behavior/data migrations are backward compatible.
- Report source-range exclusion separately from
engines.bband SDK compatibility. Reuse BB's existing compatibility rules; if compatibility has not been evaluated, say so. - Never automatically install an out-of-range or potentially incompatible release, or widen its selector during checks.
- Extend the existing manual/scheduled checks, update state, CLI output/JSON, and plugin UI rather than introducing a separate checking system.
B. Explicit, safe version-range upgrades for existing managed Git plugins
Acceptance criteria:
- Let the user change an installed plugin's Git semver range in place, for example
^0.6.1→^0.7.0, without uninstalling. Exact command/API naming is for maintainers to choose. - Show the existing and proposed selector, resolved release, and compatibility/breaking-change information before confirmation. Checking or cancelling must leave the installation unchanged.
- Preserve plugin ID, provenance where applicable, enabled state, settings, KV storage, plugin database, secrets, schedules, and other persistent plugin data, subject only to the plugin's explicit supported migrations.
- Use the existing staged artifact validation, activation, state snapshots, startup checks, and rollback protections. Validate the candidate identity and compatibility before replacing the active installation.
- If preparation or activation fails, retain or restore the previous working version and source selector, enabled state, and persistent data. Expose rollback failures clearly, and retain existing restart-recovery protections.
- Provide CLI, SDK/API, and UI access through a shared operation consistent with BB's architecture and current background update jobs.
- Regression coverage: 0.6.1/0.7.0 discovery; an allowed in-range update; intentional pins; engine and SDK blocks reported separately; successful range change with saved data; disabled-state preservation; cancellation; and failed activation restoring both old code and old selector/data.
Context and alternatives
Related work reviewed:
- #636, merged: established compatibility-aware manual updates, staged activation, snapshots, and rollback. Its description explicitly deferred
--latestintent-widening. This request builds on that safety path. - #1581, merged: added Git semver tag resolution, range filtering, and moved/missing-tag protections. Those protections should remain in force.
- #1966, merged: added manual UI checks and a six-hour update sweep. The remaining gap is which releases the existing check reports.
- #1766 and #2297, closed via #2125: safe same-ID local path moves preserve settings/enabled state and roll back failed moves. The closing maintainer comment on Support lossless same-id path plugin source rebind #2297 confirms that scope. Managed Git range replacement remains guarded separately in current source.
- #4681, merged: updates now use background jobs with activation/rollback progress. This request should reuse that flow.
- #2690, open: asks for transactions over exact resident prebuilt generations and multi-plugin switching. This request concerns release discovery and changing one managed Git selector using existing installation protections, not that broader transaction model.
Open and closed issues/PRs were searched for plugin update/upgrade notifications, semver/ranges/version constraints, newer/out-of-range releases, source changes/rebind/retargeting, settings preservation, intent widening, and Agent Board. No existing issue covering this requested managed-Git upgrade workflow was found. #636 documents prior deferral; I found no current commitment or delivery date for it.
Removing/reinstalling is a poor substitute because it explicitly deletes settings, secrets, and schedules. Broadening the initial range merely avoids this particular boundary by changing what future updates are allowed; it does not provide a safe review/upgrade workflow for already-installed selectors. The marketplace listing update is discovery metadata, not permission to rewrite installed source intent.
Is this capability already on the roadmap, or should this issue track the remaining discovery and managed-Git range-upgrade work?
Checks
- I searched open and closed issues for the same request.
- If an agent wrote this, the body ends with
> AGENT GENERATED.
AGENT GENERATED
Activity
bb-slop-cop commentedon Oct 15, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotApplied missing classifications: Type: Feature · Priority: Medium · Effort: High · Labels:
plugins. Verified all values after writing; no existing classifications or labels needed preservation.This adds release discovery outside the installed range and an explicit, state-preserving upgrade workflow. Medium priority reflects a meaningful capability gap without an established outage or active data loss; High effort reflects coordinated update-state, API/CLI/UI, confirmation, and rollback work.
No reproduction report or pull request: the final Type is Feature, so bug reproduction and simple-fix steps do not apply.
alexandre-vl commentedon Oct 20, 2026
Additional evidence: the gap is marketplace-wide, and part B needs four more guards
The discovery gap reported here for Agent Board affects most of bb-community. 367 of 420 entries declare a caret 0.x range, which admits patches only, and every range bump the marketplace has merged so far reaches new installs only. Below are a live observation on a released build, measurements across the catalog, the design history behind the frozen range, an answer to this issue's open question about what
removedeletes, and guards the range-change operation needs. Inferences are labelled as such.Environment: bb-app 0.46.1 (npm package), Linux 6.12 (Debian 13). Code is cited at get-bb/bb
bb336d372962a31a5e403ac56e8ddc5f1f338e2c(an ancestor of currentmain) and get-bb/marketplacec75a5ac1f4ad986f9a460d04929a37062f574c62. The live cataloghttps://getbb.app/marketplace/v2/marketplace.jsonwas fetched 2026-10-20 20:53 UTC.Observed on a live install (read-only)
curl -s "$BB_SERVER_URL/api/v1/plugin-catalog/install-plan?entryId=genui"→"source":"git:https://github.com/ComicBit/bb-plugin-genui.git@semver:^0.1.0"git ls-remote --tags https://github.com/ComicBit/bb-plugin-genui.gitlistsrefs/tags/v0.1.0andrefs/tags/v0.2.0. The semver bundled in bb-app expands^0.1.0to>=0.1.0 <0.2.0-0.…; its settings, secrets, and schedules were deleted. thread-namer has onlyrefs/tags/v0.1.0, so its reinstall gained nothing. Nothing inbb plugin outdatedor the UI distinguishes "nothing newer exists" from "current within your range" (part A).The boundary itself is intended, and an integration test with real git repos locks it:
plugin-update.test.ts:1372-1400tags v2.0.0, updates^1.0.0to v1.1.0, then expectscurrent.Scale across bb-community
Method: a script over the live catalog plus
git ls-remote --tagsper entry. For each newest out-of-range tag it checked the manifest id,engines.bbagainst 0.46.1,engines.bbPluginSdkunder bb's same-major floor rule, and a dry run of bb's npm step with its bundled npm 11.16.0. The bundle build was not run.^0.y.z(354 git, 13 npm). Another 14 use an unbounded>=0.y.z.workspace:*, so npm fails withnpm error code EUNSUPPORTEDPROTOCOL.three, which is only a devDependency, so its build fails (ComicBit/bb-plugin-genui#7).bb-plugin-opencode, which changes the plugin id.^0.y.z. For 48 of them an earlier range excludes today's newest tag; Agent Board's^0.6.1is one. Counting those, 63 entries have an installable release that some existing installs cannot see.Why existing installs never follow the catalog
^1.0.0-style ranges … a major release does not match the range, so it returns to the registry as an entry PR" (plan:370-373; the file was removed in docs: remove stale feature plans and redundant reports #4525). Installed rows never re-read the catalog, so that entry PR reaches new installs only. For existing installs the gate is a dead end at every major, not only on 0.x. Inference: this is the common root of parts A and B.bb plugin newscaffolds"version": "0.1.0"(plugin-scaffold.ts:1438). The release and entry guides show only^1.2.3(plugin-release.md:83, marketplace-entry.md:111) and never explain the caret on 0.x. genui (get-bb/marketplace#544) and thread-namer (get-bb/marketplace#75) both chose^0.1.0.rangeas any non-empty string (schema:299-302).vX.Y.Ztag to exist (build.mjs:317-344).v1-changelabel (README:151).Answer to the open question: what
removedeletesdeleteRemovedPluginDatadeletes provider registrations, schedules, settings, and the secrets directory.plugin_kvandthread_plugin_metadatakey onplugin_idwith no foreign key to the plugin row (schema.ts:438-447, schema.ts:697-707). KV is deleted only when a builtin is retired (plugin-service.ts:1310).<data dir>/plugins/<id>/data.dbis still on disk for two plugins removed earlier today.So remove + reinstall neither resets nor preserves. Settings, secrets and schedules are lost, while the reinstalled version inherits KV,
data.dband thread metadata in the old version's format.Guards part B needs (from reading the code; not reproduced)
{}(plugins.ts:58) and the server re-resolves at apply time (plugin-updates.ts:582-585). A tag published between review and click is what activates. Send the confirmed commit and refuse on a mismatch.url,subdirortagPrefixwithout that full confirmation.enginesas installable, and keep a way back.DEFAULT_STABILIZATION_WINDOW_MS = 30_000(plugin-service.ts:467), and the previous artifact is collected right after a successful update (plugin-updates.ts:693-698).Ruled out
pinnedsources. A range install printscurrent (…)(plugin.ts:1378-1393).>=ranges (as in Add composer plugins and track future Sawyer plugin releases marketplace#322) also admit every future major.Suggested near-term step (no runtime change): document that
^0.y.ztracks patches only and that catalog range changes reach new installs only. Have get-bb/marketplace CI warn, not rewrite, on^0.y.z, on unbounded>=, and when the newest tag is outside the range.yusuf8834 commentedon Oct 26, 2026
Additional evidence from BB Sidebar and a live Generative UI installation:
I maintain BB Sidebar. get-bb/marketplace#562, merged October 14, changed its marketplace range from
^0.2.0to^0.3.0. The latest published release is v0.3.7. Existing installations that retain^0.2.0cannot discover the 0.3.x releases through the normal update check. This follows from the saved-range behavior; I do not have telemetry showing how many sidebar users are affected. My own sidebar installation uses a local path, so it is not an affected managed-Git reproduction.I also verified the discovery gap on October 26 with Generative UI installed from bb-community, using BB Nightly
0.47.2-nightly.40200590944.1on macOS 27.0.1. Its installed source retains@semver:^0.1.0, resolving to v0.1.0. The plugin is currently disabled. A freshbb plugin outdated --jsonstill reports:{ "id": "genui", "outcome": "current", "installed": { "version": "e75404de9cf5cece924c529a2b93cefaa86b3928", "display": "https://github.com/ComicBit/[email protected] (e75404de9cf5)" } }Meanwhile, get-bb/marketplace#642, merged October 22, changed Generative UI's range to
>=0.3.0 <1.0.0, and v0.3.1 is published. No plugin was removed, reinstalled, enabled, or otherwise changed to collect this evidence.The saved range should remain an explicit user choice, but the update check should disclose newer releases outside it and offer an upgrade that preserves settings. Updating the marketplace entry currently leaves earlier users behind without telling them.
I see #6042 and #6043 address this directly, with #6044 adding rollback. Is there a plan to rebase and review that stack?
Investigation: BB thread
thr_niwjyujfpz. Public evidence is linked above; the thread itself is local.Offer plugin releases outside the saved version range and let the use…