summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortugrulguner <47668043+tugrulguner@users.noreply.github.com>2026-09-26 16:03:20 -0700
committerJesse Vincent <jesse@primeradiant.com>2026-09-26 16:03:20 -0700
commitacc177848bda8a72cddb67bc9b84f180902c59c8 (patch)
treed12a8d7e500686ad89c7e7087ce416a3bcc83d54
parent295a1db0c4d85eccbcfe374021962024256a6a65 (diff)
Require an explicit model on subagent dispatches outside SDDfeat/explicit-model-on-all-dispatches
Code review, spec review and parallel-agent dispatches had no model field, so they inherited the session's (often most expensive) model, the failure SDD's own Model Selection section warns about (#2034). Adds SDD's required model placeholder to code-reviewer.md and spec-document-reviewer-prompt.md, and a paragraph to dispatching-parallel-agents pointing at Model Selection. Written by @tugrulguner in #2193, which targeted main. Carried over unchanged onto dev, minus the hunk for writing-plans' plan-document-reviewer-prompt.md, which dev removed in v6.4.2.
-rw-r--r--skills/brainstorming/spec-document-reviewer-prompt.md3
-rw-r--r--skills/dispatching-parallel-agents/SKILL.md5
-rw-r--r--skills/requesting-code-review/code-reviewer.md3
3 files changed, 11 insertions, 0 deletions
diff --git a/skills/brainstorming/spec-document-reviewer-prompt.md b/skills/brainstorming/spec-document-reviewer-prompt.md
index 6099312..6c18a6b 100644
--- a/skills/brainstorming/spec-document-reviewer-prompt.md
+++ b/skills/brainstorming/spec-document-reviewer-prompt.md
@@ -9,6 +9,9 @@ Use this template when dispatching a spec document reviewer subagent.
```
Subagent (general-purpose):
description: "Review spec document"
+ model: [MODEL — REQUIRED: choose per subagent-driven-development SKILL.md
+ Model Selection; an omitted model silently inherits the session's
+ most expensive one]
prompt: |
You are a spec document reviewer. Verify this spec is complete and ready for planning.
diff --git a/skills/dispatching-parallel-agents/SKILL.md b/skills/dispatching-parallel-agents/SKILL.md
index 3fa091b..812bbc4 100644
--- a/skills/dispatching-parallel-agents/SKILL.md
+++ b/skills/dispatching-parallel-agents/SKILL.md
@@ -74,6 +74,11 @@ Subagent (general-purpose): "Fix tool-approval-race-conditions.test.ts failures"
# All three run concurrently.
```
+Specify the model explicitly on each dispatch — an omitted model silently
+inherits your session's model, often the most capable and most expensive.
+Choose per subagent-driven-development's Model Selection section: mechanical
+single-file fixes take a cheap tier; multi-file integration work takes more.
+
Multiple dispatch calls in one response = parallel execution. One per response = sequential.
### 4. Review and Integrate
diff --git a/skills/requesting-code-review/code-reviewer.md b/skills/requesting-code-review/code-reviewer.md
index 6d358b5..806858e 100644
--- a/skills/requesting-code-review/code-reviewer.md
+++ b/skills/requesting-code-review/code-reviewer.md
@@ -7,6 +7,9 @@ Use this template when dispatching a code reviewer subagent.
```
Subagent (general-purpose):
description: "Review code changes"
+ model: [MODEL — REQUIRED: choose per subagent-driven-development SKILL.md
+ Model Selection; an omitted model silently inherits the session's
+ most expensive one]
prompt: |
You are a Senior Code Reviewer with expertise in software architecture,
design patterns, and best practices. Your job is to review completed work