Expand description
kernex-memory: SQLite-backed memory store with a public trait surface.
Provides conversation storage, reward-based learning (outcomes + lessons),
scheduled tasks, FTS5 semantic recall, audit logging, and soft-delete on
the facts table. The public MemoryStore trait mirrors the inherent
method surface that downstream consumers call today; concrete schema
changes can ship without rippling into call sites.
Re-exports§
pub use audit::AuditLogger;pub use consolidator::ConsolidationResult;pub use consolidator::Consolidator;pub use consolidator::ConsolidatorConfig;pub use error::MemoryError;pub use memory_store::into_handle;pub use memory_store::MemoryStore;pub use observation::Observation;pub use observation::ObservationType;pub use observation::SaveEntry;pub use store::detect_language;pub use store::PhaseCheckpoint;pub use store::Store;pub use store::DueTask;pub use store::TaskRunRecord;pub use store::UsageBreakdown;pub use store::UsageSummary;pub use types::HistoryRow;pub use types::MessageRow;
Modules§
- audit
- Audit log — records every interaction through Kernex.
- consolidator
- Background memory consolidation (AutoDream pattern).
- error
- Per-crate error type for
kernex-memory. - memory_
store - Public trait surface for the SQLite-backed memory store.
- observation
- Typed observation log: input (
SaveEntry), output (Observation), and the closed taxonomy (ObservationType) that backs thekx mem savewrite surface plus itssearch/get/soft-deletecompanions oncrate::MemoryStore. - store
- SQLite-backed persistent memory store.
- types
- Typed row shapes returned by the
MemoryStoretrait.