René's URL Explorer Experiment


Title: Enterprise-managed plugin (extraKnownMarketplaces/enabledPlugins) marked installed/enabled but never synced to disk · Issue #4039 · github/copilot-cli · GitHub

Open Graph Title: Enterprise-managed plugin (extraKnownMarketplaces/enabledPlugins) marked installed/enabled but never synced to disk · Issue #4039 · github/copilot-cli

X Title: Enterprise-managed plugin (extraKnownMarketplaces/enabledPlugins) marked installed/enabled but never synced to disk · Issue #4039 · github/copilot-cli

Description: Describe the bug A plugin registered via an enterprise managed-settings.json (extraKnownMarketplaces + enabledPlugins) is marked as installed and enabled in ~/.copilot/config.json (with a version and a cache_path), but the plugin's files...

Open Graph Description: Describe the bug A plugin registered via an enterprise managed-settings.json (extraKnownMarketplaces + enabledPlugins) is marked as installed and enabled in ~/.copilot/config.json (with a version a...

X Description: Describe the bug A plugin registered via an enterprise managed-settings.json (extraKnownMarketplaces + enabledPlugins) is marked as installed and enabled in ~/.copilot/config.json (with a version a...

Opengraph URL: https://github.com/github/copilot-cli/issues/4039

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enterprise-managed plugin (extraKnownMarketplaces/enabledPlugins) marked installed/enabled but never synced to disk","articleBody":"### Describe the bug\n\nA plugin registered via an enterprise `managed-settings.json` (`extraKnownMarketplaces` + `enabledPlugins`) is marked as installed and enabled in `~/.copilot/config.json` (with a version and a `cache_path`), but the plugin's files are never actually downloaded/synced to disk. The referenced `cache_path` directory does not exist, and the mirrored `~/.copilot/plugin-data/\u003cmarketplace\u003e/\u003cplugin\u003e/` directory exists but is completely empty. As a result, none of the plugin's agents/skills ever become usable, with no error surfaced anywhere. Removing the plugin doesn't stick either — it gets re-added with a new `installed_at` timestamp shortly after (apparently re-enforced by the enterprise policy), but the cache directory is still never populated.\n\nAlso filed against the VS Code Copilot Chat extension (which bundles this same CLI), since the underlying `~/.copilot` state is shared: https://github.com/microsoft/vscode/issues/324611\n\n### Config structures (redacted)\n\n**Enterprise `managed-settings.json`** — registers a private marketplace and auto-enables one of its plugins:\n\n```json\n{\n    \"extraKnownMarketplaces\": {\n        \"\u003cmarketplace-name\u003e\": {\n            \"source\": {\n                \"source\": \"github\",\n                \"repo\": \"\u003corg\u003e/\u003cprivate-marketplace-repo\u003e\"\n            }\n        }\n    },\n    \"enabledPlugins\": {\n        \"\u003cplugin-name\u003e@\u003cmarketplace-name\u003e\": true\n    },\n    \"permissions\": {\n        \"model\": \"auto\"\n    }\n}\n```\n\nThe same enablement is also reflected in VS Code's `settings.json` (bundled Copilot CLI shares state):\n\n```json\n\"chat.plugins.enabledPlugins\": {\n  \"\u003cplugin-name\u003e@\u003cmarketplace-name\u003e\": true\n}\n```\n\n**Resulting entry written to `~/.copilot/config.json` → `installedPlugins`** — marked installed with a `cache_path` that never gets populated:\n\n```json\n{\n  \"name\": \"\u003cplugin-name\u003e\",\n  \"marketplace\": \"\u003cmarketplace-name\u003e\",\n  \"version\": \"2.2.0\",\n  \"installed_at\": \"2026-07-06T19:31:21.215Z\",\n  \"cache_path\": \"/Users/\u003cuser\u003e/.copilot/installed-plugins/\u003cmarketplace-name\u003e/\u003cplugin-name\u003e\",\n  \"enabled\": true\n}\n```\n\n### Affected version\n\n```\nGitHub Copilot CLI 1.0.68.\n```\n\n### Steps to reproduce the behavior\n\n1. As an enterprise owner, add `copilot/managed-settings.json` with `extraKnownMarketplaces` pointing at a custom GitHub-hosted marketplace repo, and `enabledPlugins` set to auto-install one of its plugins (`\"\u003cplugin-name\u003e@\u003cmarketplace-name\u003e\": true`).\n2. Authenticate `copilot` (or VS Code's bundled Copilot CLI) with an account under that enterprise, and wait for the managed settings to sync (docs state ~hourly).\n3. The plugin auto-installs per policy. Inspect `~/.copilot/config.json` — the plugin appears under `installedPlugins` with `enabled: true`, a version, and a `cache_path` (see structure above).\n4. Check the filesystem — the `cache_path` directory referenced in config does not exist. The parallel `~/.copilot/plugin-data/\u003cmarketplace\u003e/\u003cplugin\u003e/` directory exists but is empty (0 files), with a stale mtime from an earlier registration attempt.\n5. Attempt to remove the plugin. Config re-adds it shortly after with a new `installed_at` timestamp, but the cache directory is still never populated.\n6. Compare against the default `github-awesome-copilot` marketplace, whose cache directory (`~/.copilot/marketplace-cache/github-awesome-copilot/`) is fully populated with hundreds of skill/instruction files — confirming the general marketplace-sync mechanism works, and the failure is specific to marketplaces added via `extraKnownMarketplaces`.\n\n### Expected behavior\n\nThe plugin's content should be fully downloaded/synced before being marked `installed: true`/`enabled: true`, or install status should reflect a failed/incomplete sync with a visible error and retry path. Removal should also either succeed, or clearly explain that it's being re-enforced by enterprise policy.\n\n### Additional context\n\nThe plugin declares a couple of MCP servers. The CLI still tries to launch them, using the (nonexistent) plugin dir as `cwd`. `npx` tolerates the missing `cwd`, so the MCP servers actually **start and connect successfully** — confirming the MCP spawn is a *symptom*, not the cause. Note also that the `[ERROR]` prefix here is just how the CLI logs all MCP lifecycle events (including successful `connected` / `Started` lines):\n\n```\n[ERROR] Starting MCP client for \u003cserver-a\u003e with command: npx and args: -y \u003credacted-mcp-package\u003e\n[ERROR] Starting MCP client for \u003cserver-b\u003e with command: npx and args: -y \u003credacted-mcp-package\u003e\n       cwd: /Users/\u003cuser\u003e/.copilot/installed-plugins/\u003cmarketplace\u003e/\u003cplugin\u003e   \u003c-- directory does not exist\n[ERROR] MCP client for \u003cserver-b\u003e connected, took 3134ms\n[ERROR] Started MCP client for \u003cserver-a\u003e\n```\n\nThe real problem remains that the plugin's own bundled content (agents/skills) is never downloaded to `cache_path`.\n\n- OS: macOS 26.5.2 (Darwin 25.5.0)\n- CPU architecture: arm64\n- Terminal: integrated VS Code terminal (bash)\n- Shell: bash\n","author":{"url":"https://github.com/mohammadrayan","@type":"Person","name":"mohammadrayan"},"datePublished":"2026-07-06T19:57:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/4039/copilot-cli/issues/4039"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:76623d93-bed2-067c-6669-b61b97df7e72
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9E20:7D79E:17D5C2:1FEFB0:6A4D94F1
html-safe-noncee6602db630b402c375bc5826009208a3ecc4e60a660002ad04c206302da20986
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTIwOjdENzlFOjE3RDVDMjoxRkVGQjA6NkE0RDk0RjEiLCJ2aXNpdG9yX2lkIjoiNDA1ODk4MjYyNjEwMjE4NzI0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4093b894cbd6b889e3245fbdac6b2ee673c5e370fb3260b61057b5f18498b898
hovercard-subject-tagissue:4822632127
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/copilot-cli/4039/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7db45a4d83cbe21d9180c0ab54f2d10177ec06e3265b5f5c0d6804478f2e7755/github/copilot-cli/issues/4039
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7db45a4d83cbe21d9180c0ab54f2d10177ec06e3265b5f5c0d6804478f2e7755/github/copilot-cli/issues/4039
og:image:altDescribe the bug A plugin registered via an enterprise managed-settings.json (extraKnownMarketplaces + enabledPlugins) is marked as installed and enabled in ~/.copilot/config.json (with a version a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemohammadrayan
hostnamegithub.com
expected-hostnamegithub.com
None06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33
turbo-cache-controlno-preview
go-importgithub.com/github/copilot-cli git https://github.com/github/copilot-cli.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id585860664
octolytics-dimension-repository_nwogithub/copilot-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id585860664
octolytics-dimension-repository_network_root_nwogithub/copilot-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea7b5592971a4eafa6614134ea168f0d03716b98d
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/copilot-cli/issues/4039#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcopilot-cli%2Fissues%2F4039
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcopilot-cli%2Fissues%2F4039
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fcopilot-cli
Reloadhttps://github.com/github/copilot-cli/issues/4039
Reloadhttps://github.com/github/copilot-cli/issues/4039
Reloadhttps://github.com/github/copilot-cli/issues/4039
Please reload this pagehttps://github.com/github/copilot-cli/issues/4039
github https://github.com/github
copilot-clihttps://github.com/github/copilot-cli
Notifications https://github.com/login?return_to=%2Fgithub%2Fcopilot-cli
Fork 1.7k https://github.com/login?return_to=%2Fgithub%2Fcopilot-cli
Star 10.9k https://github.com/login?return_to=%2Fgithub%2Fcopilot-cli
Code https://github.com/github/copilot-cli
Issues 1.8k https://github.com/github/copilot-cli/issues
Pull requests 26 https://github.com/github/copilot-cli/pulls
Discussions https://github.com/github/copilot-cli/discussions
Actions https://github.com/github/copilot-cli/actions
Projects https://github.com/github/copilot-cli/projects
Models https://github.com/github/copilot-cli/models
Security and quality 2 https://github.com/github/copilot-cli/security
Insights https://github.com/github/copilot-cli/pulse
Code https://github.com/github/copilot-cli
Issues https://github.com/github/copilot-cli/issues
Pull requests https://github.com/github/copilot-cli/pulls
Discussions https://github.com/github/copilot-cli/discussions
Actions https://github.com/github/copilot-cli/actions
Projects https://github.com/github/copilot-cli/projects
Models https://github.com/github/copilot-cli/models
Security and quality https://github.com/github/copilot-cli/security
Insights https://github.com/github/copilot-cli/pulse
Bughttps://github.com/github/copilot-cli/issues?q=type:"Bug"
Enterprise-managed plugin (extraKnownMarketplaces/enabledPlugins) marked installed/enabled but never synced to diskhttps://github.com/github/copilot-cli/issues/4039#top
area:enterpriseGitHub Enterprise (GHE/GHES) support, org policies, and enterprise settingshttps://github.com/github/copilot-cli/issues?q=state%3Aopen%20label%3A%22area%3Aenterprise%22
area:pluginsPlugin system, marketplace, hooks, skills, extensions, and custom agentshttps://github.com/github/copilot-cli/issues?q=state%3Aopen%20label%3A%22area%3Aplugins%22
https://github.com/mohammadrayan
mohammadrayanhttps://github.com/mohammadrayan
on Jul 6, 2026https://github.com/github/copilot-cli/issues/4039#issue-4822632127
microsoft/vscode#324611https://github.com/microsoft/vscode/issues/324611
area:enterpriseGitHub Enterprise (GHE/GHES) support, org policies, and enterprise settingshttps://github.com/github/copilot-cli/issues?q=state%3Aopen%20label%3A%22area%3Aenterprise%22
area:pluginsPlugin system, marketplace, hooks, skills, extensions, and custom agentshttps://github.com/github/copilot-cli/issues?q=state%3Aopen%20label%3A%22area%3Aplugins%22
Bughttps://github.com/github/copilot-cli/issues?q=type:"Bug"
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.