Skip to content

Commit ac5d485

Browse files
feat(agents): run deep-bug-investigator synthesis on opus, pin tracks to sonnet (#133)
Co-authored-by: Oliver Kriska <oliver@ideax.sk>
1 parent 4e552d9 commit ac5d485

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ requirements can break unrelated migrations.
786786
| **workflow-orchestrator** | opus | project | Full cycle coordination (plan, work, review) |
787787
| **planning-orchestrator** | opus | project | Parallel research agent coordination |
788788
| **parallel-reviewer** | opus | -- | 4-agent parallel code review |
789-
| **deep-bug-investigator** | sonnet | -- | 4-track parallel bug investigation |
789+
| **deep-bug-investigator** | opus | -- | 4-track parallel bug investigation |
790790
| **call-tracer** | sonnet | -- | Parallel call tree tracing |
791791
| **security-analyzer** | opus | -- | OWASP vulnerability scanning |
792792
| **context-supervisor** | haiku | -- | Multi-agent output compression |

plugins/elixir-phoenix/agents/deep-bug-investigator.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Deep bug investigation using 4 parallel subagents (reproduction, ro
44
tools: Read, Grep, Glob, Bash, Agent, Write
55
disallowedTools: Edit, NotebookEdit
66
permissionMode: bypassPermissions
7-
model: sonnet
7+
model: opus
88
effort: medium
99
omitClaudeMd: true
1010
maxTurns: 30
@@ -214,12 +214,18 @@ mix compile --warnings-as-errors 2>&1 | head -50
214214
### Phase 2: Spawn All 4 Subagents in Parallel
215215

216216
```
217-
Agent(subagent_type: "general-purpose", prompt: "Reproduction track...", run_in_background: true)
218-
Agent(subagent_type: "general-purpose", prompt: "Root cause track...", run_in_background: true)
219-
Agent(subagent_type: "general-purpose", prompt: "Impact track...", run_in_background: true)
220-
Agent(subagent_type: "general-purpose", prompt: "Fix strategy track...", run_in_background: true)
217+
Agent(subagent_type: "general-purpose", model: "sonnet", prompt: "Reproduction track...", run_in_background: true)
218+
Agent(subagent_type: "general-purpose", model: "sonnet", prompt: "Root cause track...", run_in_background: true)
219+
Agent(subagent_type: "general-purpose", model: "sonnet", prompt: "Impact track...", run_in_background: true)
220+
Agent(subagent_type: "general-purpose", model: "sonnet", prompt: "Fix strategy track...", run_in_background: true)
221221
```
222222

223+
**Always pass `model: "sonnet"` to the track subagents.** They do
224+
evidence gathering; without the explicit pin they inherit this
225+
orchestrator's model (opus), which would raise the cost of the whole
226+
fan-out without improving the evidence. Opus is reserved for the
227+
synthesis this orchestrator performs across the four tracks.
228+
223229
**Agent prompts must be FOCUSED.** Scope each prompt to the
224230
relevant files, stack traces, and error context. Do NOT give
225231
vague prompts like "investigate the codebase."

0 commit comments

Comments
 (0)