Expand description
Scone core: a local-first episodic + semantic memory engine.
This crate performs no stdout I/O and touches the network only through provider traits. SQLite is the single source of truth (spec §5).
Re-exports§
pub use distill::ApplyReport;pub use distill::DistillReport;pub use distill::ProvenanceItem;pub use profile::Profile;
Modules§
- auth
- The single authorization chokepoint (spec invariant I5).
- chunker
- Structure-aware chunking over immutable episode content.
- distill
- Lane 2 fact application (spec §6): entity resolution, provenance, contradiction closure.
- embed
- Embedding providers (spec §9).
- index
- Derived indexes (spec §5): rebuildable caches over SQLite truth.
- llm
- LLM providers (spec §9): the semantic lane’s only model dependency.
- profile
- Two-tier profiles (spec §7 via memory/lessons.md L-11): the predecessor validated the shape — stable identity facts plus recent activity, one cheap call (their “~50ms profiles”; ours is a pair of indexed queries).
- rerank
- Cross-encoder reranking (spec §7 refinement, 2026-08-27): reads the query and each candidate together, scoring true relevance — the precision lever bi-encoders can’t reach. Opt-in: the model is a sizeable one-time download, so surfaces enable it explicitly.
- timeparse
- Date references in natural-language queries (E12): “in May 2023”, “on 2023/05/20”, “2023-05-20”. Real memory questions are time-anchored; retrieval that ignores their dates leaves the temporal class on the floor (measured 68% all-evidence, 2026-08-28).
Structs§
- Context
Pack - Doctor
Report - Engine
- Fact
Item - Import
Report - Recall
Item - Recall
Opts - Scan
Report - Result of one directory scan.
- Space
Status - Status
Report
Enums§
- Ingest
Input - Ingest
Outcome - Scone
Error - Errors surfaced by the Scone engine.