feat(plan): enable AskUser tool in Plan mode for clarifying questions (#17694)

This commit is contained in:
Jerop Kipruto
2026-01-27 15:23:49 -05:00
committed by GitHub
parent 771ece03c9
commit 0774f60e08
5 changed files with 15 additions and 3 deletions
+3 -1
View File
@@ -6,6 +6,7 @@
import {
ACTIVATE_SKILL_TOOL_NAME,
ASK_USER_TOOL_NAME,
EDIT_TOOL_NAME,
GLOB_TOOL_NAME,
GREP_TOOL_NAME,
@@ -312,7 +313,8 @@ ${options.planModeToolsList}
### Phase 1: Requirements Understanding
- Analyze the user's request to identify core requirements and constraints
- If critical information is missing or ambiguous, ask ONE clarifying question at a time
- If critical information is missing or ambiguous, ask clarifying questions using the \`${ASK_USER_TOOL_NAME}\` tool
- When using \`${ASK_USER_TOOL_NAME}\`, prefer providing multiple-choice options for the user to select from when possible
- Do NOT explore the project or create a plan yet
### Phase 2: Project Exploration