spec_coding_requirements_confirmed
Confirm completion of requirements collection to transition from specification to design phase in structured development workflows.
Instructions
Confirm the completion of requirements collection and proceed to the design phase
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session identifier | |
| feature_name | Yes | Feature name |
Implementation Reference
- src/tools/requirements_confirmed.ts:6-36 (handler)The main handler function that confirms requirements completion, logs the event, and returns a markdown-formatted message advancing the workflow to the design phase.export async function requirementsConfirmed( params: RequirementsConfirmedParams ): Promise<string> { const { session_id, feature_name } = params; console.error(`[MCP] Requirements confirmed for feature: ${feature_name}`); return `# β Requirements Gathering Completed ## Generated Requirements Document: π "docs/specs/${feature_name}/requirements.md" The requirements document contains complete user stories and EARS-format acceptance criteria. --- ## Next Stage: Design Document (3/5) ### Workflow Progress: - [x] 1. Goal Collection β - [x] 2. **Requirements Gathering** β - [ ] 3. **Design Document** β Next Stage - [ ] 4. Task Planning - [ ] 5. Task Execution Now please call \`spec_coding_design_start\` to begin the technical design stage. **Session Information**: - Session ID: \`${session_id}\` - Feature Name: \`${feature_name}\` - Requirements: β Completed`; }
- src/server.ts:81-94 (schema)Input schema definition for the tool, specifying session_id and feature_name as required string parameters.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:78-95 (registration)Tool registration in the listTools response, including name, description, and input schema.{ name: 'spec_coding_requirements_confirmed', description: 'Confirm the completion of requirements collection and proceed to the design 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:219-221 (registration)Switch case in callTool handler that invokes the requirementsConfirmed function for this tool name.case 'spec_coding_requirements_confirmed': result = await requirementsConfirmed(args as any); break;
- TypeScript interface defining the input parameters for the handler function, matching the tool schema.export interface RequirementsConfirmedParams { session_id: string; feature_name: string; }