Summary
Observed on Claude Code 2.1.261 during the #3734 re-verification pass (PR #3760): after installing a plugin from a throwaway local marketplace, uninstalling it, and running claude plugin marketplace remove <name>, the marketplace's entry left known_marketplaces.json and user settings byte-for-byte as before, but ~/.claude/plugins/cache/<marketplace>/ stayed on disk with all three version trees intact. It had to be deleted by hand.
Why it matters
The claude-ops plugins skill's scope-semantics.md documents the cache and sweep behaviour it relies on, and the plugins reference says orphaned versions are swept about 14 days after an update or uninstall. Whether a removed marketplace's cache tree is ever swept is not recorded anywhere in the skill. This is adjacent to #3688 (cache growth from stranded project pins) and #3681 (stale cache directory kept on unchanged version).
Ask
- Confirm on a second machine or a later CLI whether the tree is swept by the 14-day retention pass or is permanently orphaned.
- Record the finding in
context/scope-semantics.md with a version stamp, and consider a line in audit-install-state for cache trees whose marketplace is no longer registered.
Environment
Claude Code 2.1.261, Windows 11 Pro, Git Bash.
Summary
Observed on Claude Code 2.1.261 during the #3734 re-verification pass (PR #3760): after installing a plugin from a throwaway local marketplace, uninstalling it, and running
claude plugin marketplace remove <name>, the marketplace's entry leftknown_marketplaces.jsonand user settings byte-for-byte as before, but~/.claude/plugins/cache/<marketplace>/stayed on disk with all three version trees intact. It had to be deleted by hand.Why it matters
The claude-ops
pluginsskill'sscope-semantics.mddocuments the cache and sweep behaviour it relies on, and the plugins reference says orphaned versions are swept about 14 days after an update or uninstall. Whether a removed marketplace's cache tree is ever swept is not recorded anywhere in the skill. This is adjacent to #3688 (cache growth from stranded project pins) and #3681 (stale cache directory kept on unchanged version).Ask
context/scope-semantics.mdwith a version stamp, and consider a line inaudit-install-statefor cache trees whose marketplace is no longer registered.Environment
Claude Code 2.1.261, Windows 11 Pro, Git Bash.