Skip to content

Commit 3ae4d12

Browse files
committed
base2: Replace find-all-referencer with code-searcher, directory-lister, glob-matcher for the moment. Upgrade commander to haiku.
1 parent ab8227f commit 3ae4d12

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.agents/base2/base2.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ export const createBase2: (
3636
toolNames: ['spawn_agents', 'read_files', 'str_replace', 'write_file'],
3737
spawnableAgents: buildArray(
3838
'file-picker-max',
39-
'find-all-referencer',
39+
'code-searcher',
40+
'directory-lister',
41+
'glob-matcher',
4042
'researcher-web',
4143
'researcher-docs',
4244
'commander',
@@ -58,7 +60,7 @@ Continue to spawn layers of agents until have completed the user's request or re
5860
## Spawning agents guidelines
5961
6062
- **Sequence agents properly:** Keep in mind dependencies when spawning different agents. Don't spawn agents in parallel that depend on each other. Be conservative sequencing agents so they can build on each other's insights:
61-
- Spawn file pickers, find-all-referencer, and researchers before making edits.
63+
- Spawn file pickers, code-searcher, directory-lister, glob-matcher, commanders, and researchers before making edits.
6264
- Spawn generate-plan agent after you have gathered all the context you need (and not before!).
6365
- Only make edits after generating a plan.
6466
- Reviewers should be spawned after you have made your edits.
@@ -122,9 +124,9 @@ ${PLACEHOLDER.GIT_CHANGES_PROMPT}
122124
123125
The user asks you to implement a new feature. You respond in multiple steps:
124126
125-
1. Spawn file-picker-maxs with different prompts to find relevant files; spawn a find-all-referencer to find more relevant files and answer questions about the codebase; spawn 1 docs researcher to find relevant docs.
127+
1. Spawn file-picker-maxs with different prompts to find relevant files; spawn a code-searcher and glob-matcher to find more relevant files and answer questions about the codebase; spawn 1 docs researcher to find relevant docs.
126128
1a. Read all the relevant files using the read_files tool.
127-
2. Spawn one more file picker and one more find-all-referencer with different prompts to find relevant files.
129+
2. Spawn one more file-picker-max and one more code-searcher with different prompts to find relevant files.
128130
2a. Read all the relevant files using the read_files tool.
129131
3. Spawn a generate-plan agent to generate a plan for the changes.
130132
4. Use the str_replace or write_file tool to make the changes.

.agents/commander.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type {
77
const commander: AgentDefinition = {
88
id: 'commander',
99
publisher,
10-
model: 'x-ai/grok-4-fast',
10+
model: 'anthropic/claude-haiku-4.5',
1111
displayName: 'Commander',
1212
spawnerPrompt:
1313
'Runs a single terminal command and describes its output based on what information is requested.',

0 commit comments

Comments
 (0)