Skip to main content

Module session_manager

Module session_manager 

Source
Expand description

Manages session scratch files and learning extraction.

Structs§

ScratchLearning
SessionManager
Manages session-scoped scratch files for memory ingestion.

Functions§

parse_scratch_learnings
Parse learnings from scratch file content.
promote_to_hot_cache
Promote a single learning to the hot cache. Uses UUID-based negative IDs that survive process restarts without collision. Returns true if the entry was inserted, false if the cache was full.