Expand wiki: Architecture, Pipeline, API Reference, Troubleshooting, Examples
- Architecture.md: Full Mermaid system diagram, component breakdown with
source links, data flow sequence diagram, pool isolation explanation,
LanceDB schema with all columns, IVF_PQ parameters, hierarchical chunking,
BM25 config, schema evolution, write concurrency
- Pipeline.md: All 15 stages with code snippets from src/auto/recall.ts,
TypeScript input/output types per stage, performance characteristics,
edge cases and failure handling table, example query progression
- API-Reference.md (NEW): memory_search and memory_get tool signatures,
auto-recall hook, auto-capture hook, MemorySparkManager class API,
StorageBackend interface, Reranker API, EmbedProvider interface,
error codes table, caching behavior
- Troubleshooting.md (NEW): Spark connection issues, embedding failures,
reranker timeouts and flat scores, LanceDB query errors, pool management,
quality tuning, performance optimization, environment variables
- Examples.md (NEW): Real-world query examples with pipeline traces,
multi-pool searches, temporal decay calculations, MMR diversity tuning,
gate behavior (high/low/ambiguous), HyDE examples, context dedup,
parent-child expansion, query normalization
- Home.md: Updated quick links to include new pages