Files
Trevin Chow 8ae6f4d124 fix(ce-update): derive marketplace name, broaden cache prefix
Address two correctness issues from code review on PR #656:

P1: hardcoded marketplace name. The recommended update command used
`compound-engineering@every-marketplace`, but the marketplace name is not
fixed across users. The marketplace manifest declares the name as
`compound-engineering-plugin`, which is what the README install flow
(`/plugin marketplace add EveryInc/compound-engineering-plugin`) produces.
Only the Every-internal install uses `every-marketplace`. Derive the
marketplace name from the skill path instead so the recommended command
targets the user's actual install.

P2: cache-root prefix too narrow. The case pattern anchored on
`${HOME}/.claude/plugins/cache/`, so any non-default cache root (such as
a CLAUDE_CONFIG_DIR relocation, or container/CI layouts) was treated as
"not a marketplace install" and skipped. Broaden the pattern prefix to
`*/plugins/cache/` so any parent location matches while still rejecting
dev checkouts (they lack the `plugins/cache/` segment).

Both fixes share the same case pattern and derivation mechanics.
2026-04-22 17:00:07 -07:00
..
2026-04-22 14:21:19 -07:00