Skip to main content

Module config

Module config 

Source
Expand description

Strict config parsing for the archive’s .memstead/config.json.

Whitelist projection: deny_unknown_fields, required slug-shaped name, required semver version, required schema: "<name>@<ver>". Schema resolution against the engine’s registry happens at load, not here — this module only enforces shape and format integer.

Functions§

parse_config_bytes
Parse strict config bytes into a PublishedMemConfig. Runs every check in this module (shape, legacy detection, format, name, version, schema resolution).