Merge pull request #4117 from ririnto/fix/plan-subagent-hidden-registry

fix(delegate-task): restore hidden plan subagent delegation
This commit is contained in:
YeonGyu-Kim
2026-05-18 13:30:35 +09:00
committed by GitHub
8 changed files with 352 additions and 28 deletions
+1 -1
View File
@@ -196,7 +196,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="prometheus", ...)\` FIRST
- Anything else (2+ steps, unclear scope, architecture) → \`task(subagent_type="plan", ...)\` 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
+1 -1
View File
@@ -288,7 +288,7 @@ Every implementation task follows this cycle. No exceptions.
Follow \`<explore>\` 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="prometheus", ...)\`.
Multi-step (2+) → consult Plan Agent via \`task(subagent_type="plan", ...)\`.
Single-step → mental plan is sufficient.
<dependency_checks>