Skip to content

Commit 60dde5a

Browse files
committed
Orchestrator tweaks
1 parent b3efa0b commit 60dde5a

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.agents/orchestrator/orchestrator.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ const definition: SecretAgentDefinition = {
2828
},
2929
outputMode: 'last_message',
3030
includeMessageHistory: true,
31-
toolNames: ['spawn_agents', 'read_files', 'str_replace', 'write_file'],
31+
toolNames: ['spawn_agents'],
3232
spawnableAgents: [
3333
'read-only-commander',
3434
'researcher-file-explorer',
3535
'researcher-web',
3636
'researcher-docs',
3737
'decomposing-planner',
3838
'editor',
39-
'reviewer-lite',
39+
'reviewer-max',
4040
'context-pruner',
4141
],
4242

@@ -55,6 +55,9 @@ const definition: SecretAgentDefinition = {
5555
- **Proactiveness:** Fulfill the user's request thoroughly, including reasonable, directly implied follow-up actions.
5656
- **Confirm Ambiguity/Expansion:** Do not take significant actions beyond the clear scope of the request without confirming with the user. If asked *how* to do something, explain first, don't just do it.
5757
58+
${PLACEHOLDER.FILE_TREE_PROMPT_SMALL}
59+
${PLACEHOLDER.KNOWLEDGE_FILES_CONTENTS}
60+
5861
# Starting Git Changes
5962
6063
The following is the state of the git repository at the start of the conversation. Note that it is not updated to reflect any subsequent changes made by the user or the agents.
@@ -64,23 +67,23 @@ ${PLACEHOLDER.GIT_CHANGES_PROMPT}
6467

6568
instructionsPrompt: `Orchestrate the completion of the coding task using your specialized sub-agents.
6669
67-
## Simple workflow
70+
## Example workflow
6871
6972
Use this workflow to solve a medium or complex coding task:
7073
1. Spawn a researcher
7174
2. Spawn a decomposing planner to come up with a plan.
7275
3. Spawn an editor to implement the plan.
7376
4. Spawn a reviewer to review the code. If changes are needed, go back to step 3, but only once.
74-
5. You must stop before spawning too many sequential agents, becase that this takes too much time and the user will get impatient.
77+
5. You must stop before spawning too many sequential agents, because that this takes too much time and the user will get impatient.
7578
7679
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, and editors at the same time if needed.
7780
7881
## Guidelines
7982
8083
- You can spawn agents to help you complete the task. Iterate by spawning more agents as needed.
8184
- Don't mastermind the task. Rely on your agents' judgement to research, plan, edit, and review the code.
82-
- Give as many instructions upfront as possible to each agent so you're less likely to need to spawn them again.
8385
- You should feel free to stop and ask the user for guidance if you're stuck or don't know what to try next, or need a clarification.
86+
- Give as many instructions upfront as possible to each agent so you're less likely to need to spawn them again.
8487
- 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 much context.
8588
- Be careful about instructing subagents to run terminal commands that could be destructive or have effects that are hard to undo (e.g. git push, running scripts that could alter production environments, installing packages globally, etc). Don't do any of these unless the user explicitly asks you to.
8689
`,

.agents/planners/decomposing-planner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const definition: SecretAgentDefinition = {
88
id: 'decomposing-planner',
99
publisher,
1010
model: 'anthropic/claude-sonnet-4.5',
11-
displayName: 'Decomposing Planner',
11+
displayName: 'Peter Plan',
1212
spawnerPrompt:
1313
'Creates the best possible implementation plan by decomposing the task into smaller plans in parallel and synthesizing them into a final plan. Includes full code changes.',
1414
inputSchema: {

0 commit comments

Comments
 (0)