Skip to content

tracking: Claude Code plugin cache path schema 變動 watch-list (tangential from #28) #35

Description

@kiki830621

Tracking Issue

Source: surfaced during /idd-plan #28 tangential sweep (Step 2.5)

#28 (idd-verify --loop / idd-all unattended detect ralph-loop) 將 hardcode ~/.claude/plugins/cache/<marketplace>/<plugin>/ path schema。當前 (2025-Q4) 此 path 為事實標準,但 Anthropic 升級 Claude Code 可能改 schema:

  • e.g. 加 versioning 變成 ~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/
  • e.g. 改用 SHA-based content addressing
  • e.g. 移到 ~/.local/share/claude-code/plugins/

任一改動都會 break #28 的 check-ralph-loop.sh (false negative degrade IDD experience)。

Mitigation paths (待評估)

  1. 依賴 claude plugin list CLI — 若 Claude Code 提供 machine-readable plugin list query → call CLI 不依賴 path schema
  2. 加 schema version detect — ~/.claude/plugins/CACHE_SCHEMA_VERSION 之類 marker,若不存在 fallback 到 path probe
  3. Watch upstream notes — 訂閱 Claude Code release changelog,出現 plugin cache schema 改動 → 補 issue 修

When to evaluate

每次 Claude Code 大版本升級 (e.g. 1.x → 2.x) 都來 review 一次本 issue。如果 schema 仍穩定,close 為 wontfix-still-valid;若改動,reopen 進 fix。

Related

Type

documentation (tracking)

Priority: P3 (Watch-only, not actionable until upstream changes)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions