Skip to content

Commit 180eb68

Browse files
committed
Give gpt-5-planner/worker access to code-searcher / directory-lister / glob-matcher
1 parent 277c8cd commit 180eb68

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.agents/base2/base2-gpt-5-planner.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ const definition: SecretAgentDefinition = {
1515
toolNames: ['spawn_agents', 'read_files'],
1616

1717
spawnableAgents: buildArray(
18-
'file-picker',
19-
'find-all-referencer',
18+
'file-picker-max',
19+
'code-searcher',
20+
'directory-lister',
21+
'glob-matcher',
2022
'researcher-web',
2123
'researcher-docs',
2224
'commander',

.agents/base2/base2-gpt-5-worker.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ const definition: SecretAgentDefinition = {
1010
model: 'openai/gpt-5',
1111
spawnableAgents: buildArray(
1212
'file-picker',
13-
'find-all-referencer',
13+
'code-searcher',
14+
'directory-lister',
15+
'glob-matcher',
1416
'researcher-web',
1517
'researcher-docs',
1618
'commander',

.agents/base2/base2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ The user asks you to implement a new feature. You respond in multiple steps:
134134
6. Spawn a validator to run validation commands (tests, typechecks, etc.) to ensure the changes are correct.
135135
7. Inform the user that you have completed the task in one sentence without a final summary.`,
136136

137-
stepPrompt: `Don't forget to spawn agents that could help, especially: the file-picker-max and find-all-referencer to get codebase context, the generate-plan agent to create a plan, and the reviewer to review changes.`,
137+
stepPrompt: `Don't forget to spawn agents that could help, especially: the file-picker-max and find-all-referencer to get codebase context, the generate-plan agent to create a plan, code-reviewer to review changes, and the validator to run validation commands.`,
138138

139139
handleSteps: function* ({ prompt, params }) {
140140
let steps = 0

0 commit comments

Comments
 (0)