Skip to content

Commit ddc1d69

Browse files
committed
max impl. planner tweeks: 10 parallel agents, better criteria for choosing
1 parent 1d7fc7c commit ddc1d69

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.agents/implementation-planner/implementation-planner-max.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const definition: SecretAgentDefinition = {
77
model: 'openai/gpt-5',
88
displayName: 'Implementation Planner Max',
99
spawnerPrompt:
10-
'Creates the best possible implementation plan by generating 3 different plans in parallel and selecting the optimal one. Includes full code changes.',
10+
'Creates the best possible implementation plan by generating several different plans in parallel and selecting the best one. Includes full code changes.',
1111
inputSchema: {
1212
prompt: {
1313
type: 'string',
@@ -20,8 +20,8 @@ const definition: SecretAgentDefinition = {
2020
toolNames: ['spawn_agents', 'set_output'],
2121
spawnableAgents: ['implementation-planner', 'plan-selector'],
2222
handleSteps: function* ({ prompt }) {
23-
// Step 1: Spawn 3 planners in parallel.
24-
const agents = Array.from({ length: 3 }, () => ({
23+
// Step 1: Spawn several planners in parallel.
24+
const agents = Array.from({ length: 10 }, () => ({
2525
agent_type: 'implementation-planner',
2626
prompt,
2727
}))

.agents/implementation-planner/plan-selector.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ const definition: SecretAgentDefinition = {
99
publisher,
1010
model: 'openai/gpt-5',
1111
reasoningOptions: {
12-
enabled: true,
13-
effort: 'low',
12+
effort: 'medium',
1413
},
1514
displayName: 'Plan Selector',
1615
spawnerPrompt:
@@ -58,12 +57,13 @@ const definition: SecretAgentDefinition = {
5857
includeMessageHistory: false,
5958
systemPrompt: `You are an expert plan evaluator with deep experience in software engineering, architecture, and project management.
6059
61-
Your task is to analyze multiple plans and select the best one based on:
62-
1. **Feasibility** - How realistic and achievable is the plan?
63-
2. **Quality** - How well does it address the requirements?
64-
3. **Efficiency** - How minimal and focused are the changes?
65-
4. **Maintainability** - How well will this approach work long-term?
66-
5. **Risk** - What are the potential downsides or failure points?
60+
Your task is to analyze multiple implementations and select the best one based on:
61+
1. **Completeness** - How well does it address the requirements?
62+
2. **Simplicity** - How clean and easy to understand is the implementation? Is the code overcomplicated?
63+
3. **Quality** - How well does it work? How clear is the implementation?
64+
4. **Efficiency** - How minimal and focused are the changes? Were more files changed than necessary? Is the code verbose?
65+
5. **Maintainability** - How well will this approach work long-term?
66+
6. **Risk** - What are the potential downsides or failure points?
6767
6868
${PLACEHOLDER.KNOWLEDGE_FILES_CONTENTS}`,
6969

0 commit comments

Comments
 (0)