pub fn validate_memory_config(
config: &MemoryConfig,
search_paths: &[PathBuf],
) -> CoreResult<()>Expand description
Validate a deserialized MemoryConfig.
Performs structural checks that serde alone cannot enforce — most notably
that any operation configured with kind: "skill" references a skill id
discoverable under one of the supplied search paths.
search_paths SHOULD be the list of skills directories returned by
known_skills_search_paths for the active project.
§Errors
Returns CoreError::Validation for any operation whose skill id does
not resolve to a directory containing SKILL.md under one of the
supplied search paths. Lists the searched paths in the error message.