pub fn list_memory_names_with_policy( memories_dir: &Path, topic: Option<&str>, policy: &MemoryPolicy, ) -> Vec<String>
List memory names, filtering out entries matching the ignored policy.