mcp-adr-analysis-server
Version:
MCP server for analyzing Architectural Decision Records and project architecture
49 lines • 1.59 kB
TypeScript
/**
* Release Readiness Detector for Smart Git Push
*
* Analyzes TODO.md, project state, and commit patterns to determine
* if a release is ready, preventing endless development cycles
*
* Supports both TODO.md (standard) and todo.md (legacy) for compatibility
*/
export interface ReleaseReadinessResult {
isReady: boolean;
score: number;
confidence: number;
blockers: ReleaseBlocker[];
recommendations: string[];
milestones: MilestoneStatus[];
summary: string;
}
export interface ReleaseBlocker {
type: 'critical-todos' | 'incomplete-features' | 'test-failures' | 'security-issues' | 'unstable-code';
severity: 'error' | 'warning' | 'info';
message: string;
todoItems?: string[];
suggestedActions: string[];
}
export interface MilestoneStatus {
name: string;
completed: number;
total: number;
completionRate: number;
criticalTodos: number;
blockers: string[];
}
export interface ReleaseReadinessOptions {
projectPath: string;
todoPath?: string;
minCompletionRate?: number;
maxCriticalTodos?: number;
includeAnalysis?: boolean;
releaseType?: 'major' | 'minor' | 'patch';
}
/**
* Main release readiness analysis function
*/
export declare function analyzeReleaseReadiness(options: ReleaseReadinessOptions): Promise<ReleaseReadinessResult>;
/**
* Integration with existing MCP tools
*/
export declare function integrateWithMcpTools(projectPath: string, options?: Partial<ReleaseReadinessOptions>): Promise<ReleaseReadinessResult>;
//# sourceMappingURL=release-readiness-detector.d.ts.map