Skip to main content

Module persistent_memory

Module persistent_memory 

Source

Structs§

BatchMemoryReport
Report for one batch extraction run.
GroundedFactRecord
MemoryCleanupStatus
MemoryMissingField
MemoryOpCandidate
MemoryOpPlan
MemoryPlannedFact
PersistentMemoryCleanupReport
PersistentMemoryExcerpt
PersistentMemoryForgetReport
PersistentMemoryMatch
PersistentMemoryStatus
PersistentMemoryWriteReport

Enums§

MemoryOpKind
MemoryPlannedTopic

Constants§

MEMORY_FILENAME
MEMORY_SUMMARY_FILENAME
NOTES_DIRNAME
ROLLOUT_SUMMARIES_DIRNAME

Functions§

batch_parameters_from_config
Resolve batch parameters from an optional loaded config, applying the documented defaults when no config is available.
cleanup_persistent_memory
dedup_latest_facts
extract_memory_highlights
finalize_persistent_memory
find_persistent_memory_matches
forget_planned_persistent_memory_matches
list_persistent_memory_candidates
maybe_extract_tool_fact
maybe_extract_user_fact
normalize_whitespace
Collapse whitespace runs into single spaces, trimming the ends.
persist_remembered_memory_plan
persistent_memory_status
Returns the current persistent memory status.
plan_forget_persistent_memory
plan_remember_persistent_memory
Plan a user-approved persistent-memory save.
read_persistent_memory_excerpt
read_persistent_memory_excerpt_for_config
rebuild_generated_memory_files
rebuild_persistent_memory_summary
resolve_persistent_memory_dir
Resolves the persistent memory directory for a project.
run_batch_memory_extraction
Extract memory candidates from the most recent max_sessions sessions and consolidate them into the persistent memory store.
scaffold_persistent_memory
truncate_for_fact