spec_coding_tasks_confirmed
Confirm task planning completion and transition to code execution phase in spec-driven development workflows.
Instructions
Confirm the completion of task planning and proceed to the execution phase
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session identifier | |
| feature_name | Yes | Feature name |
Implementation Reference
- src/tools/tasks_confirmed.ts:6-38 (handler)The main handler function that executes the tool's logic: logs confirmation, returns a markdown message indicating task planning completion, workflow progress, and prompts to call the next tool 'spec_coding_execute_start'.export async function tasksConfirmed( params: TasksConfirmedParams ): Promise<string> { const { session_id, feature_name } = params; console.error(`[MCP] Tasks confirmed for feature: ${feature_name}`); return `# ā Task Planning Completed ## Generated Tasks Document: š "docs/specs/${feature_name}/tasks.md" The tasks document contains a detailed list of development tasks, each with clear descriptions, acceptance criteria, and execution order. --- ## Next Stage: Task Execution (5/5) ### Workflow Progress: - [x] 1. Goal Collection ā - [x] 2. Requirements Gathering ā - [x] 3. Design Document ā - [x] 4. **Task Planning** ā - [ ] 5. **Task Execution** ā Final Stage Now please call \`spec_coding_execute_start\` to begin the task execution stage. **Session Information**: - Session ID: \`${session_id}\` - Feature Name: \`${feature_name}\` - Requirements: ā Completed - Design: ā Completed - Tasks: ā Completed`; }
- src/server.ts:151-167 (schema)Tool registration object including name, description, and JSON input schema for MCP tool listing and validation.name: 'spec_coding_tasks_confirmed', description: 'Confirm the completion of task planning and proceed to the execution phase', inputSchema: { type: 'object', properties: { session_id: { type: 'string', description: 'Session identifier' }, feature_name: { type: 'string', description: 'Feature name' } }, required: ['session_id', 'feature_name'] } },
- src/server.ts:235-237 (registration)Switch case in the MCP CallToolRequestSchema handler that dispatches tool calls to the tasksConfirmed implementation.case 'spec_coding_tasks_confirmed': result = await tasksConfirmed(args as any); break;
- src/server.ts:13-13 (registration)Import statement for the tasksConfirmed handler function.import { tasksConfirmed } from './tools/tasks_confirmed.js';
- src/tools/tasks_confirmed.ts:1-4 (schema)TypeScript type definition for the tool's input parameters, matching the JSON schema.export interface TasksConfirmedParams { session_id: string; feature_name: string; }