spec_coding_tasks_confirmed
Confirm task planning completion to transition from specification to code implementation 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 core handler function that executes the 'spec_coding_tasks_confirmed' tool. It logs confirmation and returns a markdown message indicating task planning completion and directing to the next phase.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:150-167 (schema)The tool definition including name, description, and input schema used for 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)The switch case that registers and dispatches calls to the tasksConfirmed handler function.case 'spec_coding_tasks_confirmed': result = await tasksConfirmed(args as any); break;
- src/tools/tasks_confirmed.ts:1-4 (schema)TypeScript interface defining the input parameters for the handler, matching the JSON schema.export interface TasksConfirmedParams { session_id: string; feature_name: string; }
- src/server.ts:13-13 (registration)Import statement registering the handler function into the server module.import { tasksConfirmed } from './tools/tasks_confirmed.js';