Initial commit: Vestige v1.0.0 - Cognitive memory MCP server

FSRS-6 spaced repetition, spreading activation, synaptic tagging,
hippocampal indexing, and 130 years of memory research.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Sam Valladares 2026-01-25 01:31:03 -06:00
commit f9c60eb5a7
169 changed files with 97206 additions and 0 deletions

View file

@ -0,0 +1,31 @@
//! Search Module
//!
//! Provides high-performance search capabilities:
//! - Vector search using HNSW (USearch)
//! - Keyword search using BM25/FTS5
//! - Hybrid search with RRF fusion
//! - Temporal-aware search
//! - Reranking for precision (GOD TIER 2026)
mod hybrid;
mod keyword;
mod reranker;
mod temporal;
mod vector;
pub use vector::{
VectorIndex, VectorIndexConfig, VectorIndexStats, VectorSearchError, DEFAULT_CONNECTIVITY,
DEFAULT_DIMENSIONS,
};
pub use keyword::{sanitize_fts5_query, KeywordSearcher};
pub use hybrid::{linear_combination, reciprocal_rank_fusion, HybridSearchConfig, HybridSearcher};
pub use temporal::TemporalSearcher;
// GOD TIER 2026: Reranking for +15-20% precision
pub use reranker::{
Reranker, RerankerConfig, RerankerError, RerankedResult,
DEFAULT_RERANK_COUNT, DEFAULT_RETRIEVAL_COUNT,
};