@versatil/sdlc-framework
Version:
🚀 AI-Native SDLC framework with 11-MCP ecosystem, RAG memory, OPERA orchestration, and 6 specialized agents achieving ZERO CONTEXT LOSS. Features complete CI/CD pipeline with 7 GitHub workflows (MCP testing, security scanning, performance benchmarking),
48 lines (38 loc) • 1.02 kB
text/typescript
export interface AgentResponse {
agentId: string;
message: string;
suggestions: any[];
priority: string;
handoffTo: string[];
context?: any;
}
export interface AgentActivationContext {
trigger?: any;
filePath?: string;
content?: string;
[key: string]: any;
}
export abstract class BaseAgent {
abstract name: string;
abstract id: string;
abstract specialization: string;
abstract activate(context: AgentActivationContext): Promise<AgentResponse>;
protected async runStandardValidation(context: any): Promise<any> {
return { score: 100, issues: [], warnings: [], recommendations: [] };
}
protected async runAgentSpecificValidation(context: any): Promise<any> {
return {};
}
protected generateStandardRecommendations(results: any): any[] {
return [];
}
protected calculateStandardPriority(results: any): string {
return 'medium';
}
}
export const log = {
info: console.log,
error: console.error,
warn: console.warn,
debug: console.debug
};