Skip to main content

matrixcode_core/memory/
mod.rs

1//! Memory system for MatrixCode.
2//!
3//! This module implements automatic memory accumulation for AI agents.
4//! It captures user preferences, project decisions, key findings, and solutions
5//! across sessions, providing persistent context.
6//!
7//! # Module Structure
8//!
9//! - **config**: Constants and configuration
10//! - **types**: Core types (MemoryCategory, MemoryEntry, AutoMemory)
11//! - **storage**: File storage with locking
12//! - **retrieval**: TF-IDF search, keyword extraction
13//! - **extractor**: AI and rule-based memory detection
14//! - **learning**: Feedback learning, behavior inference
15//! - **project**: Project structure analysis
16
17mod config;
18mod extractor;
19mod learning;
20mod project;
21mod retrieval;
22mod storage;
23mod types;
24
25// Re-export all public items
26pub use config::*;
27pub use extractor::*;
28pub use learning::*;
29pub use project::*;
30pub use retrieval::*;
31pub use storage::*;
32pub use types::*;