Skip to content

bug: idd-issue Step 1 (Source Type Adapter) 應在 MCP plugin 缺失時明確報錯 + 提示 install 指令 (sibling concern from #26) #27

Description

@kiki830621

Problem

Source: surfaced during /idd-issue #26 linked-context sister sweep (Step 4.7)

idd-issue Step 1 「Source Type Adapter」會依來源類型呼叫對應 MCP tool(mcp__che-word-mcp__get_document_text / mcp__plugin_che-telegram-mcp_* / mcp__plugin_che-apple-mail-mcp_* / mcp__plugin_che-apple-notes-mcp_*)。當該 MCP plugin 沒裝時:

  • skill 不會明確報「請先 claude plugin install che-word-mcp@...」
  • 只會 fallback 到請使用者手動處理(Telegram fallback) 或 silently 用其他工具讀取
  • 使用者誤以為 IDD 不支援該格式,而不是少裝一個 plugin

Type

bug (UX / error-reporting)

Expected

Step 1 Source Type Adapter 在偵測到來源是 .docx / Telegram / Mail / Notes 時:

  1. 先檢查對應 MCP tool 是否存在(從 ToolSearch 或 deferred tool list 確認)
  2. 不存在 → 明確報錯 + 給出 install 指令範本:
    ✗ 此來源是 .docx,需要 che-word-mcp plugin。
      請先安裝:claude plugin install che-word-mcp@<marketplace>
      或改貼純文字內容到 prompt。
    
  3. 存在 → 照原邏輯走

Actual

skill description 假設所有 MCP tool 都已可用,fallback 寫成「使用者手動操作」或 silent fall-through。

Impact

Related

Priority: P3 (UX 改善,非 blocker)

Current Status

Phase: closed
Last updated: 2026-05-07 by idd-close

Resolution

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions