Skip to main content

read_published_config

Function read_published_config 

Source
pub fn read_published_config(
    archive_path: &Path,
) -> Result<PublishedMemConfig, LoadError>
Expand description

Read the whitelisted .memstead/config.json from a cached archive.

Does not re-run full archive validation — the cache only contains bytes the validator already approved, so entity parse and graph construction can be deferred to the caller. Configs are re-parsed with parse_config_bytes so the strict-ingress shape is enforced here as defense-in-depth against a tampered cache file.