/** * facts.ts - Generate and store facts from analysis * * Creates memory facts from scan analysis and stores them * at the parent group level for cross-repo knowledge. */ import { IAnalysisResult } from './analyzer'; export interface IFact { text: string; type: 'solution-map' | 'project-summary' | 'dependency' | 'shared-stack' | 'pattern'; tags?: string[]; } export interface IStorageResult { success: boolean; factsStored: number; factsMerged: number; errors: string[]; } /** * Generate facts from analysis result */ export declare function generateFacts(analysis: IAnalysisResult, _rootPath: string): IFact[]; /** * Store all facts to the parent group */ export declare function storeFacts(facts: IFact[], rootPath: string, onProgress?: (current: number, total: number, fact: IFact) => void): Promise; /** * Delete existing scan facts before storing new ones (for --clean flag) * Note: This is a simple implementation - in production you might want * to query and delete specific facts */ export declare function cleanScanFacts(_rootPath: string): Promise; //# sourceMappingURL=facts.d.ts.map