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 632273dea0..9888259daa 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 @@ -27,6 +27,12 @@ For example, to use the new_task tool: code Implement a new feature for the application. + +[ ] Design the feature architecture +[ ] Implement core functionality +[ ] Add error handling +[ ] Write tests + Always use the actual tool name as the XML tag name for proper parsing and execution. @@ -349,22 +355,34 @@ Example: Requesting to switch to code mode ## new_task -Description: This will let you create a new task instance in the chosen mode using your provided message. +Description: This will let you create a new task instance in the chosen mode using your provided message and optional initial todo list. Parameters: - mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect"). - message: (required) The initial user message or instructions for this new task. +- todos: (optional) The initial todo list in markdown checklist format for the new task. Usage: your-mode-slug-here Your initial instructions here + +[ ] First task to complete +[ ] Second task to complete +[ ] Third task to complete + Example: code -Implement a new feature for the application. +Implement user authentication + +[ ] Set up auth middleware +[ ] Create login endpoint +[ ] Add session management +[ ] Write tests + diff --git a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/ask-mode-prompt.snap b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/ask-mode-prompt.snap index 09b6b04348..4954f189a6 100644 --- a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/ask-mode-prompt.snap +++ b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/ask-mode-prompt.snap @@ -27,6 +27,12 @@ For example, to use the new_task tool: code Implement a new feature for the application. + +[ ] Design the feature architecture +[ ] Implement core functionality +[ ] Add error handling +[ ] Write tests + Always use the actual tool name as the XML tag name for proper parsing and execution. @@ -246,22 +252,34 @@ Example: Requesting to switch to code mode ## new_task -Description: This will let you create a new task instance in the chosen mode using your provided message. +Description: This will let you create a new task instance in the chosen mode using your provided message and optional initial todo list. Parameters: - mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect"). - message: (required) The initial user message or instructions for this new task. +- todos: (optional) The initial todo list in markdown checklist format for the new task. Usage: your-mode-slug-here Your initial instructions here + +[ ] First task to complete +[ ] Second task to complete +[ ] Third task to complete + Example: code -Implement a new feature for the application. +Implement user authentication + +[ ] Set up auth middleware +[ ] Create login endpoint +[ ] Add session management +[ ] Write tests + 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 b1fdcc2e32..e4296ae8fe 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 @@ -27,6 +27,12 @@ For example, to use the new_task tool: code Implement a new feature for the application. + +[ ] Design the feature architecture +[ ] Implement core functionality +[ ] Add error handling +[ ] Write tests + Always use the actual tool name as the XML tag name for proper parsing and execution. @@ -348,22 +354,34 @@ Example: Requesting to switch to code mode ## new_task -Description: This will let you create a new task instance in the chosen mode using your provided message. +Description: This will let you create a new task instance in the chosen mode using your provided message and optional initial todo list. Parameters: - mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect"). - message: (required) The initial user message or instructions for this new task. +- todos: (optional) The initial todo list in markdown checklist format for the new task. Usage: your-mode-slug-here Your initial instructions here + +[ ] First task to complete +[ ] Second task to complete +[ ] Third task to complete + Example: code -Implement a new feature for the application. +Implement user authentication + +[ ] Set up auth middleware +[ ] Create login endpoint +[ ] Add session management +[ ] Write tests + 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 7ca32b80a1..18cd3aa981 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 @@ -27,6 +27,12 @@ For example, to use the new_task tool: code Implement a new feature for the application. + +[ ] Design the feature architecture +[ ] Implement core functionality +[ ] Add error handling +[ ] Write tests + Always use the actual tool name as the XML tag name for proper parsing and execution. @@ -398,22 +404,34 @@ Example: Requesting to switch to code mode ## new_task -Description: This will let you create a new task instance in the chosen mode using your provided message. +Description: This will let you create a new task instance in the chosen mode using your provided message and optional initial todo list. Parameters: - mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect"). - message: (required) The initial user message or instructions for this new task. +- todos: (optional) The initial todo list in markdown checklist format for the new task. Usage: your-mode-slug-here Your initial instructions here + +[ ] First task to complete +[ ] Second task to complete +[ ] Third task to complete + Example: code -Implement a new feature for the application. +Implement user authentication + +[ ] Set up auth middleware +[ ] Create login endpoint +[ ] Add session management +[ ] Write tests + 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 7dce6219f3..3819feb3b2 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 @@ -27,6 +27,12 @@ For example, to use the new_task tool: code Implement a new feature for the application. + +[ ] Design the feature architecture +[ ] Implement core functionality +[ ] Add error handling +[ ] Write tests + Always use the actual tool name as the XML tag name for proper parsing and execution. @@ -354,22 +360,34 @@ Example: Requesting to switch to code mode ## new_task -Description: This will let you create a new task instance in the chosen mode using your provided message. +Description: This will let you create a new task instance in the chosen mode using your provided message and optional initial todo list. Parameters: - mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect"). - message: (required) The initial user message or instructions for this new task. +- todos: (optional) The initial todo list in markdown checklist format for the new task. Usage: your-mode-slug-here Your initial instructions here + +[ ] First task to complete +[ ] Second task to complete +[ ] Third task to complete + Example: code -Implement a new feature for the application. +Implement user authentication + +[ ] Set up auth middleware +[ ] Create login endpoint +[ ] Add session management +[ ] Write tests + 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 632273dea0..9888259daa 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 @@ -27,6 +27,12 @@ For example, to use the new_task tool: code Implement a new feature for the application. + +[ ] Design the feature architecture +[ ] Implement core functionality +[ ] Add error handling +[ ] Write tests + Always use the actual tool name as the XML tag name for proper parsing and execution. @@ -349,22 +355,34 @@ Example: Requesting to switch to code mode ## new_task -Description: This will let you create a new task instance in the chosen mode using your provided message. +Description: This will let you create a new task instance in the chosen mode using your provided message and optional initial todo list. Parameters: - mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect"). - message: (required) The initial user message or instructions for this new task. +- todos: (optional) The initial todo list in markdown checklist format for the new task. Usage: your-mode-slug-here Your initial instructions here + +[ ] First task to complete +[ ] Second task to complete +[ ] Third task to complete + Example: code -Implement a new feature for the application. +Implement user authentication + +[ ] Set up auth middleware +[ ] Create login endpoint +[ ] Add session management +[ ] Write tests + 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 419049609e..d363477be2 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 @@ -27,6 +27,12 @@ For example, to use the new_task tool: code Implement a new feature for the application. + +[ ] Design the feature architecture +[ ] Implement core functionality +[ ] Add error handling +[ ] Write tests + Always use the actual tool name as the XML tag name for proper parsing and execution. @@ -402,22 +408,34 @@ Example: Requesting to switch to code mode ## new_task -Description: This will let you create a new task instance in the chosen mode using your provided message. +Description: This will let you create a new task instance in the chosen mode using your provided message and optional initial todo list. Parameters: - mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect"). - message: (required) The initial user message or instructions for this new task. +- todos: (optional) The initial todo list in markdown checklist format for the new task. Usage: your-mode-slug-here Your initial instructions here + +[ ] First task to complete +[ ] Second task to complete +[ ] Third task to complete + Example: code -Implement a new feature for the application. +Implement user authentication + +[ ] Set up auth middleware +[ ] Create login endpoint +[ ] Add session management +[ ] Write tests + 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 632273dea0..9888259daa 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 @@ -27,6 +27,12 @@ For example, to use the new_task tool: code Implement a new feature for the application. + +[ ] Design the feature architecture +[ ] Implement core functionality +[ ] Add error handling +[ ] Write tests + Always use the actual tool name as the XML tag name for proper parsing and execution. @@ -349,22 +355,34 @@ Example: Requesting to switch to code mode ## new_task -Description: This will let you create a new task instance in the chosen mode using your provided message. +Description: This will let you create a new task instance in the chosen mode using your provided message and optional initial todo list. Parameters: - mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect"). - message: (required) The initial user message or instructions for this new task. +- todos: (optional) The initial todo list in markdown checklist format for the new task. Usage: your-mode-slug-here Your initial instructions here + +[ ] First task to complete +[ ] Second task to complete +[ ] Third task to complete + Example: code -Implement a new feature for the application. +Implement user authentication + +[ ] Set up auth middleware +[ ] Create login endpoint +[ ] Add session management +[ ] Write tests + 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 7a60f1d403..7a7cfe69aa 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 @@ -27,6 +27,12 @@ For example, to use the new_task tool: code Implement a new feature for the application. + +[ ] Design the feature architecture +[ ] Implement core functionality +[ ] Add error handling +[ ] Write tests + Always use the actual tool name as the XML tag name for proper parsing and execution. @@ -437,22 +443,34 @@ Example: Requesting to switch to code mode ## new_task -Description: This will let you create a new task instance in the chosen mode using your provided message. +Description: This will let you create a new task instance in the chosen mode using your provided message and optional initial todo list. Parameters: - mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect"). - message: (required) The initial user message or instructions for this new task. +- todos: (optional) The initial todo list in markdown checklist format for the new task. Usage: your-mode-slug-here Your initial instructions here + +[ ] First task to complete +[ ] Second task to complete +[ ] Third task to complete + Example: code -Implement a new feature for the application. +Implement user authentication + +[ ] Set up auth middleware +[ ] Create login endpoint +[ ] Add session management +[ ] Write tests + 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 632273dea0..9888259daa 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 @@ -27,6 +27,12 @@ For example, to use the new_task tool: code Implement a new feature for the application. + +[ ] Design the feature architecture +[ ] Implement core functionality +[ ] Add error handling +[ ] Write tests + Always use the actual tool name as the XML tag name for proper parsing and execution. @@ -349,22 +355,34 @@ Example: Requesting to switch to code mode ## new_task -Description: This will let you create a new task instance in the chosen mode using your provided message. +Description: This will let you create a new task instance in the chosen mode using your provided message and optional initial todo list. Parameters: - mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect"). - message: (required) The initial user message or instructions for this new task. +- todos: (optional) The initial todo list in markdown checklist format for the new task. Usage: your-mode-slug-here Your initial instructions here + +[ ] First task to complete +[ ] Second task to complete +[ ] Third task to complete + Example: code -Implement a new feature for the application. +Implement user authentication + +[ ] Set up auth middleware +[ ] Create login endpoint +[ ] Add session management +[ ] Write tests + 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 191816f180..298ed38c1b 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 @@ -27,6 +27,12 @@ For example, to use the new_task tool: code Implement a new feature for the application. + +[ ] Design the feature architecture +[ ] Implement core functionality +[ ] Add error handling +[ ] Write tests + Always use the actual tool name as the XML tag name for proper parsing and execution. @@ -402,22 +408,34 @@ Example: Requesting to switch to code mode ## new_task -Description: This will let you create a new task instance in the chosen mode using your provided message. +Description: This will let you create a new task instance in the chosen mode using your provided message and optional initial todo list. Parameters: - mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect"). - message: (required) The initial user message or instructions for this new task. +- todos: (optional) The initial todo list in markdown checklist format for the new task. Usage: your-mode-slug-here Your initial instructions here + +[ ] First task to complete +[ ] Second task to complete +[ ] Third task to complete + Example: code -Implement a new feature for the application. +Implement user authentication + +[ ] Set up auth middleware +[ ] Create login endpoint +[ ] Add session management +[ ] Write tests + 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 7ca32b80a1..18cd3aa981 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 @@ -27,6 +27,12 @@ For example, to use the new_task tool: code Implement a new feature for the application. + +[ ] Design the feature architecture +[ ] Implement core functionality +[ ] Add error handling +[ ] Write tests + Always use the actual tool name as the XML tag name for proper parsing and execution. @@ -398,22 +404,34 @@ Example: Requesting to switch to code mode ## new_task -Description: This will let you create a new task instance in the chosen mode using your provided message. +Description: This will let you create a new task instance in the chosen mode using your provided message and optional initial todo list. Parameters: - mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect"). - message: (required) The initial user message or instructions for this new task. +- todos: (optional) The initial todo list in markdown checklist format for the new task. Usage: your-mode-slug-here Your initial instructions here + +[ ] First task to complete +[ ] Second task to complete +[ ] Third task to complete + Example: code -Implement a new feature for the application. +Implement user authentication + +[ ] Set up auth middleware +[ ] Create login endpoint +[ ] Add session management +[ ] Write tests + 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 632273dea0..9888259daa 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 @@ -27,6 +27,12 @@ For example, to use the new_task tool: code Implement a new feature for the application. + +[ ] Design the feature architecture +[ ] Implement core functionality +[ ] Add error handling +[ ] Write tests + Always use the actual tool name as the XML tag name for proper parsing and execution. @@ -349,22 +355,34 @@ Example: Requesting to switch to code mode ## new_task -Description: This will let you create a new task instance in the chosen mode using your provided message. +Description: This will let you create a new task instance in the chosen mode using your provided message and optional initial todo list. Parameters: - mode: (required) The slug of the mode to start the new task in (e.g., "code", "debug", "architect"). - message: (required) The initial user message or instructions for this new task. +- todos: (optional) The initial todo list in markdown checklist format for the new task. Usage: your-mode-slug-here Your initial instructions here + +[ ] First task to complete +[ ] Second task to complete +[ ] Third task to complete + Example: code -Implement a new feature for the application. +Implement user authentication + +[ ] Set up auth middleware +[ ] Create login endpoint +[ ] Add session management +[ ] Write tests +