Commit d736525
feat(claude): add model-offloading rule (plan big, execute small)
intent: 高位モデル (Opus 以上) のセッションでトークン重量級の機械的作業を
下位モデル subagent へ積極オフロードし、コストとレイテンシを下げる行動指針を
全プロジェクト共通ルールとして持つ
decision: 適用条件を Fable 限定ではなく「Opus 以上」の tier 相対原則にする。
利得はモデル種別ではなく料金差 × 読みの排除で決まるため
decision: 核となる規律は「生データを高位モデルのコンテキストに通さない」。
subagent はメインループのモデルを継承するため model 明示指定を必須とする
rejected: Fable 専用ルール — 初稿はそうしたが、Opus セッションでも同じ経済性が
成立するため一般化した
constraint: rules は全セッションに無条件ロードされるため、モデル条件の
ゲートはルール本文側に持たせる
learned: claude-cookbooks の CMA_plan_big_execute_small が根拠。同一検証水準で
約 2.5x 安く 3x 速、委譲の固定床コスト・brief 粒度の最適点・問い分解の
前提未検証という失敗事例もガードレールとして取り込んだ
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NNnumniKmJ38xgN8zwByGj1 parent 898fa8d commit d736525
2 files changed
Lines changed: 46 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
0 commit comments