Skip to content

Commit 1237d31

Browse files
committed
base-layer: Disable iterative-planner
1 parent 417d6db commit 1237d31

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.agents/base2/base-layer.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ const definition: SecretAgentDefinition = {
3737
'read-only-commander',
3838
'decomposing-thinker',
3939
'code-sketcher',
40-
'iterative-planner',
4140
'editor',
4241
'reviewer',
4342
'context-pruner',
@@ -83,7 +82,7 @@ The user asks you to implement a new feature. You respond in multiple steps:
8382
1a. Read all the relevant files using the read_files tool.
8483
2. Spawn one more file explorer and one more find-all-referencer with different prompts to find relevant files; spawn a decomposing 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.
8584
2a. Read all the relevant files using the read_files tool.
86-
3. Spawn an iterative-planner with a step-by-step initial plan. Spawn one more code sketcher to sketch another key section.
85+
3. Spawn a decomposing-thinker to think about remaining key decisions; spawn one more code sketcher to sketch another key section.
8786
4. Spawn two editors to implement all the changes.
8887
5. Spawn a reviewer to review the changes made by the editors.
8988
@@ -95,7 +94,7 @@ The user asks you to implement a new feature. You respond in multiple steps:
9594
- Spawn thinkers before editors so editors can use the insights from the thinkers.
9695
- Reviewers should be spawned after editors.
9796
- **Use the decomposing thinker also to check what context you are missing:** Ask what context you don't have for specific subtasks that you should could still acquire (with file pickers or find-all-referencers or researchers or using the read_files tool). Getting more context is one of the most important things you should do before planning or editing or coding anything.
98-
- **Once you've gathered all the context you need, create a plan:** Spawn an iterative-planner with a step-by-step initial plan, or if it's not a complex task simply write out your plan as a bullet point list.
97+
- **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.
9998
- **Spawn editors later** Only spawn editors after gathering all the context and creating a plan.
10099
- **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.
101100
@@ -104,7 +103,7 @@ The user asks you to implement a new feature. You respond in multiple steps:
104103
- **Be careful about terminal commands:** 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.
105104
`,
106105

107-
stepPrompt: `Don't forget to spawn agents that could help, especially: the file-explorer and find-all-referencer to get codebase context, the decomposing thinker to think about key decisions, the code sketcher to sketch out the key sections of code, the iterative-planner to create a plan, and the reviewer/decomposing-reviewer to review code changes made by the editor(s).`,
106+
stepPrompt: `Don't forget to spawn agents that could help, especially: the file-explorer and find-all-referencer to get codebase context, the decomposing thinker to think about key decisions, the code sketcher to sketch out the key sections of code, and the reviewer/decomposing-reviewer to review code changes made by the editor(s).`,
108107

109108
handleSteps: function* ({ prompt, params }) {
110109
let steps = 0

0 commit comments

Comments
 (0)