工作:W7 hook:功能標籤分類、檢索與注入 #8

Closed
opened 2026-10-14 16:58:33 +00:00 by admin · 0 comments
Contributor

父規格:#1
前置:#3、#6

範圍

  • UserPromptSubmit hook:用 claude -p --model haiku 判斷這一輪的功能標籤,檢索 3~5 句注入。
  • 標籤失敗或逾時時退回不注入,不阻擋對話。
  • 量測 hook 延遲;過慢則改以 Anthropic API key 呼叫,並記錄量測結果。

驗收

  • 有測試覆蓋:標籤判斷失敗退回、檢索結果數量。
  • 延遲量測結果記在本議題。
父規格:#1 前置:#3、#6 ## 範圍 - UserPromptSubmit hook:用 `claude -p --model haiku` 判斷這一輪的功能標籤,檢索 3~5 句注入。 - 標籤失敗或逾時時退回不注入,不阻擋對話。 - 量測 hook 延遲;過慢則改以 Anthropic API key 呼叫,並記錄量測結果。 ## 驗收 - 有測試覆蓋:標籤判斷失敗退回、檢索結果數量。 - 延遲量測結果記在本議題。
admin added the
類型
工作
規格
#1
labels 2026-10-14 16:58:33 +00:00
admin added a new dependency 2026-10-15 02:16:37 +00:00
admin added a new dependency 2026-10-15 02:16:37 +00:00
admin added a new dependency 2026-10-15 02:16:37 +00:00
admin closed this issue 2026-10-15 02:19:20 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Blocks Depends on
Reference: jiantw83/jsc-plugins#8