feat: implement tdd workflow (#1309)

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Ralph Khreish
2025-10-18 16:29:03 +02:00
committed by GitHub
parent b8830d9508
commit ccb87a516a
106 changed files with 25097 additions and 1541 deletions

View File

@@ -7,6 +7,9 @@ import logger from './src/logger.js';
// Load environment variables
dotenv.config();
// Set MCP mode to silence tm-core console output
process.env.TASK_MASTER_MCP = 'true';
/**
* Start the MCP server
*/

View File

@@ -40,8 +40,20 @@ import { registerRulesTool } from './rules.js';
import { registerScopeUpTool } from './scope-up.js';
import { registerScopeDownTool } from './scope-down.js';
// Import TypeScript autopilot tools from apps/mcp
import {
registerAutopilotStartTool,
registerAutopilotResumeTool,
registerAutopilotNextTool,
registerAutopilotStatusTool,
registerAutopilotCompleteTool,
registerAutopilotCommitTool,
registerAutopilotFinalizeTool,
registerAutopilotAbortTool
} from '@tm/mcp';
/**
* Comprehensive tool registry mapping all 36 tool names to their registration functions
* Comprehensive tool registry mapping all 44 tool names to their registration functions
* Used for dynamic tool registration and validation
*/
export const toolRegistry = {
@@ -80,7 +92,15 @@ export const toolRegistry = {
use_tag: registerUseTagTool,
rename_tag: registerRenameTagTool,
copy_tag: registerCopyTagTool,
research: registerResearchTool
research: registerResearchTool,
autopilot_start: registerAutopilotStartTool,
autopilot_resume: registerAutopilotResumeTool,
autopilot_next: registerAutopilotNextTool,
autopilot_status: registerAutopilotStatusTool,
autopilot_complete: registerAutopilotCompleteTool,
autopilot_commit: registerAutopilotCommitTool,
autopilot_finalize: registerAutopilotFinalizeTool,
autopilot_abort: registerAutopilotAbortTool
};
/**