spec_coding_design_confirmed
Confirm design document completion and transition to task planning for spec-driven development workflows.
Instructions
Confirm the completion of the design document and proceed to the task planning phase
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session identifier | |
| feature_name | Yes | Feature name |
Implementation Reference
- src/tools/design_confirmed.ts:6-37 (handler)The main handler function that executes the tool logic: confirms design completion for the feature, logs the event, and returns a markdown response with workflow progress and instructions to call the next tool.export async function designConfirmed( params: DesignConfirmedParams ): Promise<string> { const { session_id, feature_name } = params; console.error(`[MCP] Design confirmed for feature: ${feature_name}`); return `# ā Design Document Completed ## Generated Design Document: š "docs/specs/${feature_name}/design.md" The design document contains the complete technical architecture, component design, and implementation plan. --- ## Next Stage: Task Planning (4/5) ### Workflow Progress: - [x] 1. Goal Collection ā - [x] 2. Requirements Gathering ā - [x] 3. **Design Document** ā - [ ] 4. **Task Planning** ā Next Stage - [ ] 5. Task Execution Now please call \`spec_coding_tasks_start\` to begin the task planning stage. **Session Information**: - Session ID: \`${session_id}\` - Feature Name: \`${feature_name}\` - Requirements: ā Completed - Design: ā Completed`; }
- src/server.ts:114-130 (schema)JSON schema definition for the tool's input parameters: session_id and feature_name, provided in the list of tools.{ name: 'spec_coding_design_confirmed', description: 'Confirm the completion of the design document and proceed to the task planning 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:227-229 (registration)Switch case in the CallToolRequest handler that routes calls to this tool name to the designConfirmed function.case 'spec_coding_design_confirmed': result = await designConfirmed(args as any); break;
- src/tools/design_confirmed.ts:1-4 (schema)TypeScript interface defining the expected parameters for the handler function, matching the JSON schema.export interface DesignConfirmedParams { session_id: string; feature_name: string; }
- src/server.ts:11-11 (registration)Import statement that brings the handler function into the server module for use in tool dispatching.import { designConfirmed } from './tools/design_confirmed.js';