Implements ruvLLM integration with multi-temporal learning: P0 - Foundation: - Extended config schema for ruvllm options - TrajectoryRecorder for search pattern recording - ContextInjector for agent prompt enrichment - SONA engine integration with trajectory support P1 - Learning Core: - PatternStore with K-means++ clustering - Search re-ranking using learned patterns - GraphExpander for automatic edge discovery - ruvector_recall tool (pattern-aware recall) P2 - Adaptive Loops: - BackgroundLoop (30s interval pattern clustering) - InstantLoop (real-time feedback processing) - RelationshipInferrer (entity extraction) - ruvector_learn tool (manual knowledge injection) P3 - Advanced Features: - EWCConsolidator (catastrophic forgetting prevention) - ConsolidationLoop (deep pattern analysis) - GraphAttention (multi-head context aggregation) - Pattern export/import CLI commands Tests: 275 passing (229 + 46 new) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
21 lines
437 B
TypeScript
21 lines
437 B
TypeScript
/**
|
|
* SONA Adaptive Loops - P2 ruvLLM Features
|
|
*
|
|
* Provides background and instant learning loops for continuous
|
|
* memory system adaptation.
|
|
*/
|
|
|
|
export { BackgroundLoop } from "./background.js";
|
|
export type {
|
|
Trajectory,
|
|
PatternCluster,
|
|
LearningCycleStats,
|
|
} from "./background.js";
|
|
|
|
export { InstantLoop } from "./instant.js";
|
|
export type {
|
|
ImmediateFeedback,
|
|
PatternBoost,
|
|
InstantLearningStats,
|
|
} from "./instant.js";
|