import { ToolRegistration } from '../../core/types.js';
import { setupAgileManagementTools } from './tools.js';

/**
 * Agile Management Module - 12-Factor MCP Implementation
 * 
 * This module replaces the legacy agile-management implementation
 * with a 12-factor compliant version that uses:
 * 
 * - Standardized tool interface
 * - SQLite-based data storage
 * - Schema validation
 * - Structured outputs
 * - Stateless execution
 * - Human approval workflows where needed
 */

/**
 * Setup the agile management module
 */
export async function setupAgileManagement(): Promise<ToolRegistration> {
  return await setupAgileManagementTools();
}

// Export for backward compatibility
export { setupAgileManagementTools } from './tools.js';