Repository navigation
Description
Summary
Plugins installed from a local, directory-backed plugin marketplace are being silently uninstalled — no notification, no error, no log entry. Reinstalling works, but they disappear again within hours, and reliably after an app restart / reboot / update.
Plugins from GitHub-backed marketplaces are unaffected. Only marketplaces registered with "source": "directory" are hit. This setup worked for months and only broke in the last few days.
Environment: Copilot app 2.94.0 (was 2.93.0), CLI 1.0.80, Windows 11. Local marketplace folder is also a local git repo, with ~15 plugins (~11 installed).
Steps to reproduce
- Register a local folder as a plugin marketplace (
"source": "directory") insettings.json→extraKnownMarketplaces. - Install several plugins from it; confirm they load.
- Use the app for a few hours, or restart the app / reboot.
- The plugins from the local marketplace are gone.
Expected: they persist across restarts and updates, like GitHub-backed plugins.
Actual: every registry entry for the directory-source marketplace is silently dropped.
Evidence — state is left internally inconsistent
After the plugins "uninstall themselves", the three sources of truth disagree:
settings.json→enabledPluginsstill lists them as enabled — 11 entries like"plugin-alpha@my-local-library": trueremain.config.json→installedPluginshas ZERO entries for that marketplace. Every surviving entry belongs to asource: "github"marketplace.- The plugin payloads are still on disk under
installed-plugins/my-local-library/— files were never cleaned up, only the registry entry was dropped. This looks like registry pruning, not a real uninstall. - Timing correlates with startup/update —
config.json's mtime matches the app update timestamp to the minute (same minute asdata.db.pre-update-backup-<version>-<ts>).
Hypothesis
At startup/migration the app seems to reconcile installedPlugins against marketplace sources. source: "github" resolves fine; source: "directory" appears to fail or be skipped, so those entries are treated as orphaned and pruned.
Two hints this is a recent regression: newer installedPlugins entries carry a source_sha field older ones lack — if integrity is now verified against the source, a local marketplace that is an actively developed git repo legitimately changes content and would be invalidated on every restart. And the behavior began only after a recent app update.
Impact
Locally developed plugins become unusable several times a day. Their skills/agents/commands silently vanish mid-workflow, so sessions relying on them fail or behave differently with no indication why. Manually reinstalling ~11 plugins repeatedly is not a workable workaround. Because enabledPlugins still says true, the UI misrepresents what is actually loaded.
Activity
[-]Plugins installed from a local (directory-source) marketplace are silently uninstalled on restart[/-][+]Plugins installed from a local (directory-source) marketplace are being silently uninstalled[/+]github-actions commentedon Nov 2, 2026
This issue has been marked as stale because it has had no activity for 60 days. It will be closed in 7 days unless there is new activity. If this still affects you, please comment with the latest app version, whether the problem is still reproducible, and any updated details.
github-actions commentedon Nov 11, 2026
This issue has been automatically closed after 7 additional days without activity since being marked stale. If this still affects you, please provide updated details and ask a maintainer to reopen it.