Repository navigation
Conversation
Managed settings turn on auto-update for cloudflare/skills and GoogleChrome/modern-web-guidance, matching the default for claude-plugins-official. Their plugins drifted for weeks between manual init-plugins.sh runs (cloudflare sat at 1.0.0 with 1.0.4 published). The community marketplaces stay on deliberate updates per #248. verify-image.sh asserts both entries and that no other marketplace was added.
…re declared The #248 risk is a community marketplace with autoUpdate on. A managed entry without it defaults to off for third-party marketplaces, so the check now fails only on an unreviewed autoUpdate: true.
…date With autoUpdate set in managed settings, /plugin refuses the toggle, so the only per-project way out is a managed-settings.d drop-in. Drop-in entries replace the image's entry whole and must repeat source.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Turns on plugin auto-update for the two vendor-maintained marketplaces,
cloudflare/skillsandGoogleChrome/modern-web-guidance, through the image's managed settings. Refs #248.Why
Claude Code auto-updates
claude-plugins-officialby default and leaves every other marketplace off. Plugins from the vendor marketplaces therefore stayed at whatever versioninit-plugins.shlast installed: one container still hadcloudflare1.0.0 with 1.0.4 published. The image is the only thing that reaches every container, so the setting belongs in its managed settings, next to the existinggatezhentry. A managedextraKnownMarketplacesentry withautoUpdateis the documented way to set this for a fleet (org docs).claude plugin marketplace addhas no auto-update flag.This is a deliberate, narrow exception to #248. The two vendors are companies already trusted with account access through their own plugins and MCP servers, the same trust model as the official marketplace. The three community marketplaces (
umputun/ralphex,AgriciDaniel/claude-seo,rubberduck-studio/typescript-native-lsp) stay on deliberate updates, which is #248's concern.Changes
claude-code/.devcontainer/managed-settings.json:extraKnownMarketplacesentries forcloudflareandgooglechromewithautoUpdate: true. Their sources match whatinit-plugins.shregisters. NoenabledPluginschange:init-plugins.shstill decides what gets installed.claude-code/verify-image.sh: asserts both entries, and that no marketplace outsidegatezh,cloudflareandgooglechromehasautoUpdate: true. A managed entry that only registers a marketplace still passes.claude-code/README.md: a "Which plugins update on their own" paragraph under Bundled plugins. It covers which marketplaces update, why the community ones don't, and how a project opts out:/pluginrefuses the toggle once managed settings set it, so the way out is amanaged-settings.ddrop-in.Notes
init-plugins.shalso adds both marketplaces at user scope. The managed entry replaces the user entry whole (managed is the highest scope), soautoUpdateapplies. Probed in the published 2.1.332 image with this file mounted:marketplace addexits 0, writes an identicalgithubsource, andknown_marketplaces.jsonmarks bothdeclaredByManagedSettings. Claude Code uninstalls plugins only when a managed entry declares a different source for a name, so existing~/.claudevolumes keep their plugins.claude -pruns never update. The new versions load at the next launch or after/reload-plugins.DISABLE_AUTOUPDATER,DISABLE_UPDATESorCLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFICwould turn the whole pass off; none is set."source": "./"), so updates fetch only from github.com, which the firewall allows.autoUpdateunset, the managed entries still win for these two. claude-code template: declare marketplaces and disabled plugins in settings instead of init-plugins.sh loops #297's "leaveautoUpdateunset" advice needs this exception noted.init-plugins.shmoving every plugin to HEAD on each run, which this doesn't change.jqparses the JSON;bash -nandshellcheck -S warningare clean;verify-image.sh defaultpasses in the published image with the edited files mounted. The auto-update assertion fails when anautoUpdate: trueentry forralphexis added, and passes when that entry has noautoUpdate.