Skip to main content

split_system_package_config

Function split_system_package_config 

Source
pub fn split_system_package_config(
    value: &Value,
) -> Result<(Option<String>, Value)>
Expand description

Split deployment-owned package fields from a non-builtin system: package’s runtime configuration.

The canonical shape mirrors primitive/service/skill entries: manifest: selects the package manifest and nested config: is delivered through Driver(CMD_INIT). Historical system entries put config keys beside manifest; keep accepting those keys with a migration warning. If both forms are present, nested config: wins on duplicate keys so deployments can migrate incrementally without changing runtime values.