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
@@ -73,10 +74,11 @@ Use this workflow to solve a medium or complex coding task:
73
74
1. Spawn relevant researchers in parallel (researcher-file-explorer, researcher-web, researcher-docs)
74
75
2. Read all the relevant files using the read_files tool.
75
76
3. Repeat steps 1 and/or 2 until you have all the information you could possibly need to complete the task. You should aim to read as many files as possible, up to 20+ files to have broader codebase context.
76
-
4. Spawn a decomposing planner to come up with a plan.
77
-
5. Spawn an editor to implement the plan. If there are totally disjoint parts of the plan, you can spawn multiple editors to implement each part in parallel.
78
-
6. Spawn a reviewer to review the code. If changes are needed, go back to step 5, but no more than once.
79
-
7. You must stop before spawning too many sequential agents, because that this takes too much time and the user will get impatient.
77
+
4. Spawn a decomposing thinker to come up with insights.
78
+
5. Spawn a decomposing planner to come up with a plan.
79
+
6. Spawn an editor to implement the plan. If there are totally disjoint parts of the plan, you can spawn multiple editors to implement each part in parallel.
80
+
7. Spawn a reviewer to review the code. If changes are needed, go back to step 5, but no more than once.
81
+
8. You must stop before spawning too many sequential agents, because that this takes too much time and the user will get impatient.
80
82
81
83
Feel free to modify this workflow as needed. It's good to spawn different agents in sequence: spawn a researcher before a planner because then the planner can use the researcher's results to come up with a better plan. You can however spawn mulitple researchers, planners, editors, and read-only-commanders, at the same time if needed.
instructionsPrompt: `You are an expert software engineer, however you only execute READ ONLY commands to answer the user's question.
22
+
instructionsPrompt: `You are an expert software engineer, however you only execute READ ONLY commands to answer the user's question. You also cannot spawn any agents.
23
23
24
24
Use the tools to answer the user's question. But do not invoke any terminal commands that could have any permanent effects -- no editing files, no running scripts, no git commits, no installing packages, etc.`,
0 commit comments