docs: explicit model param on Agent calls + Sonnet default for PR-shipping#10
docs: explicit model param on Agent calls + Sonnet default for PR-shipping#10cristim wants to merge 1 commit into
Conversation
…pping Adds two bullets to CLAUDE.md §"Subagent Strategy" tightening the existing "delegate to the cheapest sufficient tier" rule: 1. Always pass `model` explicitly on every `Agent` call — never rely on inheritance. Omission silently makes Opus the de facto tier for every subagent of an Opus session, a 5–10× cost premium for work that almost always doesn't need it. If you genuinely want the parent's tier, still pass it explicitly so the choice is visible at the call site. 2. Routine PR-shipping (plan + 3-pass review + worktree + implement + test + push + open-PR + ping-CR + arm-CI-watcher) defaults to Sonnet end-to-end — including plan and review iterations. Empirically clean when acceptance criteria are clearly enumerated. Escalate to Opus per-fork only when a specific signal during review surfaces real design judgment (shape not pre-decided, competing approaches need weighing, subtle invariant surfaced).
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated documentation in ChangesAgent Modeling Guidance
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related issues
Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts
Review rate limit: 4/5 reviews remaining, refill in 12 minutes. Comment |
Summary
Adds two bullets to
CLAUDE.md§"Subagent Strategy" tightening the existing "delegate to the cheapest sufficient tier" rule:Always pass
modelexplicitly on everyAgentcall — never rely on inheritance. Omission silently makes Opus the de facto tier for every subagent of an Opus session — a 5–10× cost premium for work that almost always doesn't need it. If you genuinely want the parent's tier, still pass it explicitly so the choice is visible at the call site.Routine PR-shipping defaults to Sonnet end-to-end. The standard pattern (plan + 3-pass review + worktree + implement + test + push + open-PR + ping-CR + arm-CI-watcher) is Sonnet-tier work even including the plan and review iterations. Empirically clean when the issue's acceptance criteria are clearly enumerated. Escalate to Opus per-fork only when a specific signal during review surfaces real design judgment (shape not pre-decided, competing approaches need weighing, subtle invariant surfaced that no acceptance criterion captured).
Test plan
CLAUDE.md§"Subagent Strategy" lines 213–217 — the two new bullets sit alongside the "Default: delegate down" rule and the existing rubric, and the three together read as one coherent escalation policyAgentspawnsSummary by CodeRabbit
Note: This release contains no user-facing changes.