diff --git a/packages/core/src/prompts/snippets.ts b/packages/core/src/prompts/snippets.ts index cd17b3aeb9..041946c397 100644 --- a/packages/core/src/prompts/snippets.ts +++ b/packages/core/src/prompts/snippets.ts @@ -606,13 +606,14 @@ function workflowStepResearch(options: PrimaryWorkflowsOptions): string { } function workflowStepStrategy(options: PrimaryWorkflowsOptions): string { - if (options.approvedPlan) { - return `2. **Strategy:** An approved plan is available for this task. Treat this file as your single source of truth. You MUST read this file before proceeding. If you discover new requirements or need to change the approach, confirm with the user and update this plan file to reflect the updated design decisions or discovered requirements. Once all implementation and verification steps are finished, provide a **final summary** of the work completed against the plan and offer clear **next steps** to the user (e.g., 'Open a pull request').`; - } if (options.approvedPlan && options.taskTracker) { return `2. **Strategy:** An approved plan is available for this task. Treat this file as your single source of truth and invoke the task tracker tool to create tasks for this plan. You MUST read this file before proceeding. If you discover new requirements or need to change the approach, confirm with the user and update this plan file to reflect the updated design decisions or discovered requirements. Make sure to update the tracker task list based on this updated plan. Once all implementation and verification steps are finished, provide a **final summary** of the work completed against the plan and offer clear **next steps** to the user (e.g., 'Open a pull request').`; } + if (options.approvedPlan) { + return `2. **Strategy:** An approved plan is available for this task. Treat this file as your single source of truth. You MUST read this file before proceeding. If you discover new requirements or need to change the approach, confirm with the user and update this plan file to reflect the updated design decisions or discovered requirements. Once all implementation and verification steps are finished, provide a **final summary** of the work completed against the plan and offer clear **next steps** to the user (e.g., 'Open a pull request').`; + } + if (options.enableWriteTodosTool) { return `2. **Strategy:** Formulate a grounded plan based on your research.${ options.interactive ? ' Share a concise summary of your strategy.' : '' diff --git a/packages/core/src/tools/tool-names.ts b/packages/core/src/tools/tool-names.ts index cb88ee70af..fcdcbd6df6 100644 --- a/packages/core/src/tools/tool-names.ts +++ b/packages/core/src/tools/tool-names.ts @@ -228,12 +228,6 @@ export const ALL_BUILTIN_TOOL_NAMES = [ GET_INTERNAL_DOCS_TOOL_NAME, ENTER_PLAN_MODE_TOOL_NAME, EXIT_PLAN_MODE_TOOL_NAME, - TRACKER_CREATE_TASK_TOOL_NAME, - TRACKER_UPDATE_TASK_TOOL_NAME, - TRACKER_GET_TASK_TOOL_NAME, - TRACKER_LIST_TASKS_TOOL_NAME, - TRACKER_ADD_DEPENDENCY_TOOL_NAME, - TRACKER_VISUALIZE_TOOL_NAME, ] as const; /**