Skip to content

pacing-guard Agent-spawn advisory:dispatch model 建議應為 opus>sonnet>haiku 階梯(依剩餘 budget 與 task 難度),非一律 sonnet/haiku #30

Description

@kiki830621

Problem

Original text(使用者於 Fable 5 session 開 Explore subagent、看到 advisory 後的即時回饋,2026-07-21):
「應賅opus>sonnet>haiku, 可能要看剩餘的token和多少,還有task容易的程度,因為haiku可能太爛,除非是很簡單的事情」
— Source: 使用者直接貼上(含觸發畫面)

觸發畫面(使用者貼上的實況,即 v1.13.0 #21 F5 的 fable-aware Agent-spawn advisory):

⏺ Explore(盤點文獻工具現況)
PreToolUse:Agent says: [claude-hot-limit] ℹ️ Fable 5 session 開 Agent。沒 pin model 的 subagent 會繼承 fable5(頂階/貴),且跑起來的 main-loop 消耗連本 guard 都看不見(#24)。建議把 Agent 的 model 參數 pin 到便宜 model(sonnet/haiku)。多個並行 Agent 的爆量由 burst guard 擋。

解讀:現行 advisory(plugins/claude-hot-limit/hooks/pacing-guard.py:920-921)把「sonnet/haiku」並列成無差別的「便宜 model」選項。使用者指出這不該是二元的「fable vs 便宜」,而是一個 capability 階梯 opus > sonnet > haiku,實際建議哪一階應考慮兩個輸入:

  1. 剩餘 token budget:quota 還很多時,pin opus 是合理選擇(比 fable 便宜一階、能力仍高);quota 吃緊才往 sonnet / haiku 降。
  2. task 難度:haiku 能力可能不足(「可能太爛」),只適合很簡單的任務;把難 task 派給 haiku 會產出品質不足 → 重跑反而更耗 token。

Type

feature(advisory 內容 / 邏輯強化)

Expected

Advisory 呈現「階梯 + 決策準則」而非單一固定建議:

Actual

  • 一律建議「pin 到便宜 model(sonnet/haiku)」:兩者並列、無階梯概念,不看剩餘 budget、不看 task 難度。
  • 對非簡單 task 照建議 pin haiku 會太弱;對 budget 充裕的 session,建議裡完全沒有 opus 這個選項,過於保守。

Impact

Refs


Priority: P3(推定 — 使用者未指定;enhancement、無立即壞損,且動態水位部分 gated on 設計討論。如需提前請調整。)

Clarity Surface(idd-clarify run 2026-07-21T05:40:19Z)

Type Source Suggested canonical Status
ambiguity "可能要看剩餘的token和多少" 「剩餘 budget」未指明 rate-limit 窗:unified 有 5h / 7d / 7d_oi 三個 scope(本 body Expected 段暫以 5h utilization 為詮釋,實作前需確認;per-bucket 單位依 #23 surfaced
missing-context "還有task容易的程度,因為haiku可能太爛" task 難度的判準/分級方式與判斷者未指定(hook 靜態無法可靠分類;body 暫定 delegation 給 main-loop model 與使用者,屬 AI 詮釋、需 user 確認) surfaced

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions