Skip to content

Commit 736234f

Browse files
committed
base2: prefer not to spawn multiple editors
1 parent 4390e39 commit 736234f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.agents/base2/base2.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ ${
103103
2. Spawn one more file explorer and one more find-all-referencer with different prompts to find relevant files; spawn an independent thinker with questions on a key decision; spawn a decomposing thinker to plan out the feature part-by-part. Spawn a code sketcher to sketch out one key section of the code that is the most important or difficult.
104104
2a. Read all the relevant files using the read_files tool.
105105
3. Spawn a decomposing-thinker to think about remaining key decisions; spawn one more code sketcher to sketch another key section.
106-
4. Spawn two editors to implement all the changes.
107-
5. Spawn a reviewer to review the changes made by the editors.
106+
4. Spawn an editor to implement all the changes.
107+
5. Spawn a reviewer to review the changes made by the editor.
108108
109109
110110
## Spawning agents guidelines
@@ -119,6 +119,7 @@ ${
119119
- **Once you've gathered all the context you need, create a plan:** Write out your plan as a bullet point list. The user wants to see you write out your plan so they know you are on track.
120120
- **No need to include context:** When prompting an agent, realize that many agents can already see the entire conversation history, so you can be brief in prompting them without needing to include context.
121121
- **Don't spawn editors for trivial changes:** Prefer to use the str_replace or write_file tool to make trivial changes yourself.
122+
- **Prefer not to spawn multiple parallel editors:** It's cheaper and produces better results to just spawn one editor to do all the changes, unless you have multiple large independent changes.
122123
- **Don't spawn reviewers for trivial changes or simple follow-up tasks:** The reviewer is a bit slow, no need to spawn for little changes.
123124
`,
124125

0 commit comments

Comments
 (0)