diff --git a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/architect-mode-prompt.snap b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/architect-mode-prompt.snap index 985f1a6cbc..e80857d354 100644 --- a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/architect-mode-prompt.snap +++ b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/architect-mode-prompt.snap @@ -545,7 +545,7 @@ Language Preference: You should always speak and think in the "en" language. Mode-specific Instructions: -1. Do some information gathering (for example using read_file or search_files) to get more context about the task. +1. Do some information gathering (using provided tools) to get more context about the task. 2. You should also ask the user clarifying questions to get a better understanding of the task. diff --git a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-disabled.snap b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-disabled.snap index 2aae692419..8563bef9cc 100644 --- a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-disabled.snap +++ b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-disabled.snap @@ -607,7 +607,7 @@ Language Preference: You should always speak and think in the "en" language. Mode-specific Instructions: -1. Do some information gathering (for example using read_file or search_files) to get more context about the task. +1. Do some information gathering (using provided tools) to get more context about the task. 2. You should also ask the user clarifying questions to get a better understanding of the task. diff --git a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-enabled.snap b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-enabled.snap index 7badb9dfd2..fd8ef4dc98 100644 --- a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-enabled.snap +++ b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-enabled.snap @@ -613,7 +613,7 @@ Language Preference: You should always speak and think in the "en" language. Mode-specific Instructions: -1. Do some information gathering (for example using read_file or search_files) to get more context about the task. +1. Do some information gathering (using provided tools) to get more context about the task. 2. You should also ask the user clarifying questions to get a better understanding of the task. diff --git a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/partial-reads-enabled.snap b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/partial-reads-enabled.snap index a36359ce95..0d172d756b 100644 --- a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/partial-reads-enabled.snap +++ b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/partial-reads-enabled.snap @@ -550,7 +550,7 @@ Language Preference: You should always speak and think in the "en" language. Mode-specific Instructions: -1. Do some information gathering (for example using read_file or search_files) to get more context about the task. +1. Do some information gathering (using provided tools) to get more context about the task. 2. You should also ask the user clarifying questions to get a better understanding of the task. diff --git a/src/core/prompts/__tests__/__snapshots__/system-prompt/consistent-system-prompt.snap b/src/core/prompts/__tests__/__snapshots__/system-prompt/consistent-system-prompt.snap index 985f1a6cbc..e80857d354 100644 --- a/src/core/prompts/__tests__/__snapshots__/system-prompt/consistent-system-prompt.snap +++ b/src/core/prompts/__tests__/__snapshots__/system-prompt/consistent-system-prompt.snap @@ -545,7 +545,7 @@ Language Preference: You should always speak and think in the "en" language. Mode-specific Instructions: -1. Do some information gathering (for example using read_file or search_files) to get more context about the task. +1. Do some information gathering (using provided tools) to get more context about the task. 2. You should also ask the user clarifying questions to get a better understanding of the task. diff --git a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-computer-use-support.snap b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-computer-use-support.snap index a65f686a76..576bf0ddd5 100644 --- a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-computer-use-support.snap +++ b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-computer-use-support.snap @@ -601,7 +601,7 @@ Language Preference: You should always speak and think in the "en" language. Mode-specific Instructions: -1. Do some information gathering (for example using read_file or search_files) to get more context about the task. +1. Do some information gathering (using provided tools) to get more context about the task. 2. You should also ask the user clarifying questions to get a better understanding of the task. diff --git a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-false.snap b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-false.snap index 985f1a6cbc..e80857d354 100644 --- a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-false.snap +++ b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-false.snap @@ -545,7 +545,7 @@ Language Preference: You should always speak and think in the "en" language. Mode-specific Instructions: -1. Do some information gathering (for example using read_file or search_files) to get more context about the task. +1. Do some information gathering (using provided tools) to get more context about the task. 2. You should also ask the user clarifying questions to get a better understanding of the task. diff --git a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-true.snap b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-true.snap index bdaf79ad3c..6fc7ad69ce 100644 --- a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-true.snap +++ b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-true.snap @@ -633,7 +633,7 @@ Language Preference: You should always speak and think in the "en" language. Mode-specific Instructions: -1. Do some information gathering (for example using read_file or search_files) to get more context about the task. +1. Do some information gathering (using provided tools) to get more context about the task. 2. You should also ask the user clarifying questions to get a better understanding of the task. diff --git a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-undefined.snap b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-undefined.snap index 985f1a6cbc..e80857d354 100644 --- a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-undefined.snap +++ b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-undefined.snap @@ -545,7 +545,7 @@ Language Preference: You should always speak and think in the "en" language. Mode-specific Instructions: -1. Do some information gathering (for example using read_file or search_files) to get more context about the task. +1. Do some information gathering (using provided tools) to get more context about the task. 2. You should also ask the user clarifying questions to get a better understanding of the task. diff --git a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-different-viewport-size.snap b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-different-viewport-size.snap index 4320138c58..6ccccedefe 100644 --- a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-different-viewport-size.snap +++ b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-different-viewport-size.snap @@ -601,7 +601,7 @@ Language Preference: You should always speak and think in the "en" language. Mode-specific Instructions: -1. Do some information gathering (for example using read_file or search_files) to get more context about the task. +1. Do some information gathering (using provided tools) to get more context about the task. 2. You should also ask the user clarifying questions to get a better understanding of the task. diff --git a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-mcp-hub-provided.snap b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-mcp-hub-provided.snap index 7badb9dfd2..fd8ef4dc98 100644 --- a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-mcp-hub-provided.snap +++ b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-mcp-hub-provided.snap @@ -613,7 +613,7 @@ Language Preference: You should always speak and think in the "en" language. Mode-specific Instructions: -1. Do some information gathering (for example using read_file or search_files) to get more context about the task. +1. Do some information gathering (using provided tools) to get more context about the task. 2. You should also ask the user clarifying questions to get a better understanding of the task. diff --git a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-undefined-mcp-hub.snap b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-undefined-mcp-hub.snap index 985f1a6cbc..e80857d354 100644 --- a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-undefined-mcp-hub.snap +++ b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-undefined-mcp-hub.snap @@ -545,7 +545,7 @@ Language Preference: You should always speak and think in the "en" language. Mode-specific Instructions: -1. Do some information gathering (for example using read_file or search_files) to get more context about the task. +1. Do some information gathering (using provided tools) to get more context about the task. 2. You should also ask the user clarifying questions to get a better understanding of the task. diff --git a/src/shared/modes.ts b/src/shared/modes.ts index 47827d9c49..9c790236eb 100644 --- a/src/shared/modes.ts +++ b/src/shared/modes.ts @@ -72,7 +72,7 @@ export const modes: readonly ModeConfig[] = [ description: "Plan and design before implementation", groups: ["read", ["edit", { fileRegex: "\\.md$", description: "Markdown files only" }], "browser", "mcp"], customInstructions: - "1. Do some information gathering (for example using read_file or search_files) to get more context about the task.\n\n2. You should also ask the user clarifying questions to get a better understanding of the task.\n\n3. Once you've gained more context about the user's request, break down the task into clear, actionable steps and create a todo list using the `update_todo_list` tool. Each todo item should be:\n - Specific and actionable\n - Listed in logical execution order\n - Focused on a single, well-defined outcome\n - Clear enough that another mode could execute it independently\n\n4. As you gather more information or discover new requirements, update the todo list to reflect the current understanding of what needs to be accomplished.\n\n5. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and refine the todo list.\n\n6. Include Mermaid diagrams if they help clarify complex workflows or system architecture. Please avoid using double quotes (\"\") and parentheses () inside square brackets ([]) in Mermaid diagrams, as this can cause parsing errors.\n\n7. Use the switch_mode tool to request that the user switch to another mode to implement the solution.\n\n**IMPORTANT: Focus on creating clear, actionable todo lists rather than lengthy markdown documents. Use the todo list as your primary planning tool to track and organize the work that needs to be done.**", + "1. Do some information gathering (using provided tools) to get more context about the task.\n\n2. You should also ask the user clarifying questions to get a better understanding of the task.\n\n3. Once you've gained more context about the user's request, break down the task into clear, actionable steps and create a todo list using the `update_todo_list` tool. Each todo item should be:\n - Specific and actionable\n - Listed in logical execution order\n - Focused on a single, well-defined outcome\n - Clear enough that another mode could execute it independently\n\n4. As you gather more information or discover new requirements, update the todo list to reflect the current understanding of what needs to be accomplished.\n\n5. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and refine the todo list.\n\n6. Include Mermaid diagrams if they help clarify complex workflows or system architecture. Please avoid using double quotes (\"\") and parentheses () inside square brackets ([]) in Mermaid diagrams, as this can cause parsing errors.\n\n7. Use the switch_mode tool to request that the user switch to another mode to implement the solution.\n\n**IMPORTANT: Focus on creating clear, actionable todo lists rather than lengthy markdown documents. Use the todo list as your primary planning tool to track and organize the work that needs to be done.**", }, { slug: "code",