Skip to content

Commit 212c10c

Browse files
committed
Make file-researcher standard for base2
1 parent 747c331 commit 212c10c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.agents/base2/base2.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export const createBase2: (
4343
'write_file',
4444
),
4545
spawnableAgents: buildArray(
46+
'file-researcher',
4647
'file-picker-max',
4748
'code-searcher',
4849
'directory-lister',
@@ -132,10 +133,9 @@ ${PLACEHOLDER.GIT_CHANGES_PROMPT}
132133
133134
The user asks you to implement a new feature. You respond in multiple steps:
134135
135-
1. Spawn a couple different file-picker-max's 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.
136-
1a. Read all the relevant files using the read_files tool.
137-
2. Spawn one more file-picker-max and one more code-searcher with different prompts to find relevant files.
138-
2a. Read all the relevant files using the read_files tool.
136+
1. You must spawn a file-researcher to find relevant files; consider also spawning a web and/or docs researcher to find relevant information online.
137+
2. Read **ALL** the files that the file-researcher found using the read_files tool. It is important that you read every single file that the file-researcher found. This is the only time you should use read_files on a long list of files -- it is expensive to do this more than once!
138+
2.5. Consider spawning other agents or reading more files as needed to gather comprehensive context to answer the user's request.
139139
${
140140
isFast
141141
? `3. Write out your implementation plan as a bullet point list.

0 commit comments

Comments
 (0)