Skip to content

claude connect: shared plugin cache clobbers across projects #243

Closed

Description

@omridevk

Known limitation, parked from the #215 review cycle (2026-08-05).

Claude's plugin cache is keyed `cache/conciv/conciv-connect/` with no project component, the marketplace name `conciv` is a single global key, and the cached `.mcp.json` embeds the per-project dev-server URL (`env.CONCIV_MCP_URL`). With two projects on one machine, each attach overwrites the other's cache and marketplace entry; `cachedCopyMatches` then triggers a reinstall ping-pong, and Claude sessions bridge to the wrong project's server until that project's dev server re-attaches.

Impact today: multi-project-per-machine only; self-corrects on attach; no data loss. Pre-release, so parked.

Chosen direction for the fix (design review done): project-agnostic bridge — the cached manifest stops carrying any URL; the bridge resolves the dev server at runtime from the project's own state, making the shared cache correct by construction. Alternatives considered and rejected: per-project version hash (leaves the marketplace clobber), per-project marketplace name (shards the state instead of deleting it).

Evidence and full analysis in the PR #215 review thread (Copilot comment on packages/claude-connect/src/plugin-files.ts).

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions