From 32e56c0e60b9917dce3b095f56d985eb3a7e0e2e Mon Sep 17 00:00:00 2001 From: MoerAI Date: Fri, 24 Apr 2026 18:56:21 +0900 Subject: [PATCH] fix(agents): reference prometheus instead of conditional plan alias in prompts (fixes #3596) --- src/agents/dynamic-agent-core-sections.ts | 2 +- src/agents/sisyphus/gpt-5-4.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agents/dynamic-agent-core-sections.ts b/src/agents/dynamic-agent-core-sections.ts index 416750a54..1b88a6dc9 100644 --- a/src/agents/dynamic-agent-core-sections.ts +++ b/src/agents/dynamic-agent-core-sections.ts @@ -181,7 +181,7 @@ export function buildNonClaudePlannerSection(model: string): string { Multi-step task? **ALWAYS consult Plan Agent first.** Do NOT start implementation without a plan. - Single-file fix or trivial change → proceed directly -- Anything else (2+ steps, unclear scope, architecture) → \`task(subagent_type="plan", ...)\` FIRST +- Anything else (2+ steps, unclear scope, architecture) → \`task(subagent_type="prometheus", ...)\` FIRST - Use \`task_id\` to resume the same Plan Agent - ask follow-up questions aggressively - If ANY part of the task is ambiguous, ask Plan Agent before guessing diff --git a/src/agents/sisyphus/gpt-5-4.ts b/src/agents/sisyphus/gpt-5-4.ts index 4667e3466..5d7972528 100644 --- a/src/agents/sisyphus/gpt-5-4.ts +++ b/src/agents/sisyphus/gpt-5-4.ts @@ -287,7 +287,7 @@ Every implementation task follows this cycle. No exceptions. Follow \`\` protocol for tool usage and agent prompts. 2. PLAN - List files to modify, specific changes, dependencies, complexity estimate. - Multi-step (2+) → consult Plan Agent via \`task(subagent_type="plan", ...)\`. + Multi-step (2+) → consult Plan Agent via \`task(subagent_type="prometheus", ...)\`. Single-step → mental plan is sufficient.