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
@@ -139,13 +140,13 @@ The user asks you to implement a new feature. You respond in multiple steps:
139
140
${
140
141
isFast
141
142
? `3. Write out your implementation plan as a bullet point list.
142
-
4. Use the str_replace or write_file tool to make the changes.`
143
+
4. Use the str_replace or write_file tool to make the changes.
144
+
${isFastWithValidation ? '5. Test your changes by running appropriate validation commands for the project (e.g. typechecks, tests, lints, etc.). You may have to explore the project to find the appropriate commands.\n' : ''}`
143
145
: `3. IMPORTANT: You must spawn a base2-gpt-5-worker agent inline (with spawn_agent_inline tool) to do the planning and editing.
144
146
4. Fix any issues left by the base2-gpt-5-worker agent.`
145
147
}
146
-
5. Inform the user that you have completed the task in one sentence without a final summary. Don't create any markdown summary files either, unless asked by the user. If you already finished the user request and said you're done, then don't say anything else.`,
147
-
stepPrompt: `Don't forget to spawn agents that could help, especially: the file-picker-max and code-searcher to get codebase context,${isMax ? ' the base2-gpt-5-worker agent to do the planning and editing,' : ''}.`,
148
-
148
+
${isFastWithValidation ? '6' : '5'}. Inform the user that you have completed the task in one sentence without a final summary. Don't create any markdown summary files either, unless asked by the user. If you already finished the user request and said you're done, then don't say anything else.`,
149
+
stepPrompt: `Don't forget to spawn agents that could help, especially: the file-picker-max and code-searcher to get codebase context,${isMax ? ' the base2-gpt-5-worker agent to do the planning and editing,' : ''}. After completing the user request, summarize your changes in a sentence or a few short bullet points. Do not create any summary markdown files, unless asked by the user. Then, end your turn.`,
0 commit comments