/** * Forgen Meta-Learning — Scope Promoter (Feature 3) * * Tracks cross-project solution usage and auto-promotes solutions * from scope:'me' to scope:'universal' when used in 3+ distinct projects. * * Data flow: * 1. At session end: read injection-cache for injected solutions + session cwd * 2. Record (solution, project) pair in project-usage-map.json * 3. Check if any solution has 3+ distinct projects → mutate frontmatter */ import type { MetaLearningConfig } from './types.js'; /** * Record which project (cwd) each injected solution was used in. */ export declare function updateProjectUsageMap(sessionId: string, cwd: string, _config: MetaLearningConfig): void; /** * Check for solutions that should be promoted to universal scope. * Returns names of promoted solutions. */ export declare function checkScopePromotions(config: MetaLearningConfig): string[];