You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: agents/base2/base-deep.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ Use the spawn_agents tool to spawn specialized agents to help you complete the u
32
32
- Spawn the thinker-gpt after gathering context to solve complex problems or when the user asks you to think about a problem. (gpt-5-agent is a last resort for complex problems)
33
33
- Implement code changes using direct file editing tools.
34
34
- Prefer apply_patch for existing-file edits. Use write_file only for creating or replacing entire files when that is simpler.
35
-
- Spawn commanders sequentially if the second command depends on the the first.
35
+
- Spawn bashers sequentially if the second command depends on the the first.
36
36
- **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.
37
37
- **Never spawn the context-pruner agent:** This agent is spawned automatically for you and you don't need to spawn it yourself.
38
38
@@ -199,7 +199,7 @@ Iteratively review until the code is clean:
199
199
200
200
Thoroughly validate the changes:
201
201
202
-
1. Run any existing unit tests that cover the modified code (spawn commanders in parallel for typechecks, tests, lints as appropriate).
202
+
1. Run any existing unit tests that cover the modified code (spawn bashers in parallel for typechecks, tests, lints as appropriate).
203
203
2. Write and run additional unit tests for new functionality. Fix any test failures.
204
204
3. You MUST attempt end-to-end verification: use tools to run the actual application (or equivalent) and verify the changes work in practice. For example:
205
205
- For a web app: start the server and check the relevant endpoints
@@ -298,7 +298,7 @@ export function createBaseDeep(options?: {
Copy file name to clipboardExpand all lines: agents/base2/base2.ts
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ export function createBase2(
76
76
isMax&&'file-picker-max',
77
77
'researcher-web',
78
78
'researcher-docs',
79
-
isFree ? 'commander-lite' : 'commander',
79
+
'basher',
80
80
isDefault&&'thinker',
81
81
(isDefault||isMax)&&['opus-agent','gpt-5-agent'],
82
82
isMax&&'thinker-best-of-n-opus',
@@ -125,7 +125,7 @@ export function createBase2(
125
125
- Create an impressive demonstration showcasing web development capabilities
126
126
- **Refactoring Awareness:** Whenever you modify an exported symbol like a function or class or variable, you should find and update all the references to it appropriately using the code_search tool.
127
127
- **Testing:** If you create a unit test, you should run it to see if it passes, and fix it if it doesn't.
128
-
- **Package Management:** When adding new packages, use the commander agent to install the package rather than editing the package.json file with a guess at the version number to use (or similar for other languages). This way, you will be sure to have the latest version of the package. Do not install packages globally unless asked by the user (e.g. Don't run \`npm install -g <package-name>\`). Always try to use the package manager associated with the project (e.g. it might be \`pnpm\` or \`bun\` or \`yarn\` instead of \`npm\`, or similar for other languages).
128
+
- **Package Management:** When adding new packages, use the basher agent to install the package rather than editing the package.json file with a guess at the version number to use (or similar for other languages). This way, you will be sure to have the latest version of the package. Do not install packages globally unless asked by the user (e.g. Don't run \`npm install -g <package-name>\`). Always try to use the package manager associated with the project (e.g. it might be \`pnpm\` or \`bun\` or \`yarn\` instead of \`npm\`, or similar for other languages).
129
129
- **Code Hygiene:** Make sure to leave things in a good state:
130
130
- Don't forget to add any imports that might be needed
131
131
- Remove unused variables, functions, and files as a result of your changes.
@@ -152,7 +152,7 @@ Use the spawn_agents tool to spawn specialized agents to help you complete the u
152
152
'- Implement code changes using the str_replace or write_file tools directly.',
153
153
isFree&&
154
154
'- Spawn a code-reviewer-lite to review the changes after you have implemented the changes.',
155
-
'- Spawn commanders sequentially if the second command depends on the the first.',
155
+
'- Spawn bashers sequentially if the second command depends on the the first.',
156
156
isDefault&&
157
157
'- Spawn a code-reviewer to review the changes after you have implemented the changes.',
158
158
isMax&&
@@ -213,12 +213,12 @@ ${isDefault
213
213
}
214
214
215
215
${isDefault
216
-
? `[ You spawn a code-reviewer, a commander to typecheck the changes, and another commander to run tests, all in parallel ]`
216
+
? `[ You spawn a code-reviewer, a basher to typecheck the changes, and another basher to run tests, all in parallel ]`
217
217
: isFree
218
-
? `[ You spawn a code-reviewer-lite to review the changes, and a commander to typecheck the changes, and another commander to run tests, all in parallel ]`
218
+
? `[ You spawn a code-reviewer-lite to review the changes, and a basher to typecheck the changes, and another basher to run tests, all in parallel ]`
219
219
: isMax
220
-
? `[ You spawn a commander to typecheck the changes, and another commander to run tests, in parallel. Then, you spawn a code-reviewer-multi-prompt to review the changes. ]`
221
-
: '[ You spawn a commander to typecheck the changes and another commander to run tests, all in parallel ]'
220
+
? `[ You spawn a basher to typecheck the changes, and another basher to run tests, in parallel. Then, you spawn a code-reviewer-multi-prompt to review the changes. ]`
221
+
: '[ You spawn a basher to typecheck the changes and another basher to run tests, all in parallel ]'
222
222
}
223
223
224
224
${isDefault
@@ -227,7 +227,7 @@ ${isDefault
227
227
? `[ You fix the issues found by the code-reviewer-lite and type/test errors ]`
228
228
: isMax
229
229
? `[ You fix the issues found by the code-reviewer-multi-prompt and type/test errors ]`
230
-
: '[ You fix the issues found by the type/test errors and spawn more commanders to confirm ]'
230
+
: '[ You fix the issues found by the type/test errors and spawn more bashers to confirm ]'
231
231
}
232
232
233
233
[ All tests & typechecks pass -- you write a very short final summary of the changes you made ]
constEXPLORE_PROMPT=`- Iteratively spawn file pickers, commanders, and web/docs researchers to gather context as needed. Use the code_search, list_directory, and glob tools directly for searching and exploring the codebase. The file-picker agent in particular is very useful to find relevant files -- try spawning multiple in parallel (say, 2-5) to explore different parts of the codebase. Use read_subtree if you need to grok a particular part of the codebase. Read all the relevant files using the read_files tool.`
301
+
constEXPLORE_PROMPT=`- Iteratively spawn file pickers, bashers, and web/docs researchers to gather context as needed. Use the code_search, list_directory, and glob tools directly for searching and exploring the codebase. The file-picker agent in particular is very useful to find relevant files -- try spawning multiple in parallel (say, 2-5) to explore different parts of the codebase. Use read_subtree if you need to grok a particular part of the codebase. Read all the relevant files using the read_files tool.`
`Use the spawn_agents tool to spawn agents to help you complete the user request.`,
72
-
!isGpt5&&`If you need to find more information in the codebase, file-picker is really good at finding relevant files. You should spawn multiple agents in parallel when possible to speed up the process. (e.g. spawn 3 file-pickers + 1 code-searcher + 1 researcher-web in one spawn_agents call or 3 commanders in one spawn_agents call).`,
72
+
!isGpt5&&`If you need to find more information in the codebase, file-picker is really good at finding relevant files. You should spawn multiple agents in parallel when possible to speed up the process. (e.g. spawn 3 file-pickers + 1 code-searcher + 1 researcher-web in one spawn_agents call or 3 bashers in one spawn_agents call).`,
0 commit comments