/** * Genesis Knowledge Module * * System-level knowledge that is shared across all users and deployments. * This is NOT user-specific data - it's operational knowledge about how * the Master Orchestrator works. */ export interface KnowledgeItem { id: string; category: string; title: string; content: string; importance: 'critical' | 'high' | 'medium' | 'low'; } export interface ToolPattern { scenario: string; approach: string; example: string; notes: string; } export interface AntiPattern { wrong: string; right: string; reason: string; } export interface SystemKnowledge { version: string; description: string; knowledge: KnowledgeItem[]; } export interface ToolPatterns { version: string; description: string; patterns: ToolPattern[]; antipatterns: AntiPattern[]; } /** * Load system knowledge from JSON */ export declare function loadSystemKnowledge(): SystemKnowledge; /** * Load tool patterns from JSON */ export declare function loadToolPatterns(): ToolPatterns; /** * Get critical knowledge items for system prompt injection */ export declare function getCriticalKnowledge(): string[]; /** * Get all knowledge formatted for system prompt */ export declare function getKnowledgeForPrompt(): string; /** * Search knowledge by category or keyword */ export declare function searchKnowledge(query: string): KnowledgeItem[];