/** * Regression Analysis Service * * Systematically analyzes PostProcessor operations to detect regressions, * AI code removal attempts, and other critical issues. * Triggers multi-agent conferences when analysis is required. * * @since 2026-03-08 */ import { PostProcessorContext } from '../types.js'; export interface AnalysisDecision { required: boolean; reason?: string; agents?: string[]; depth?: 'shallow' | 'deep' | 'comprehensive'; confidence?: number; } /** * Main service for systematic regression analysis */ export declare class RegressionAnalysisService { private kernel; /** * Determine if regression analysis is required for this context */ shouldAnalyze(context: PostProcessorContext): Promise; /** * Invoke regression analysis with appropriate agents */ invokeAnalysis(context: PostProcessorContext, decision: AnalysisDecision): Promise; /** * Validate that no regression was introduced after operation */ validateNoRegression(context: PostProcessorContext): Promise; /** * Detect if operation is attempting to remove code */ private isCodeRemovalAttempt; }