fn: init_paths
Purpose
Resolve canonical setup paths from the selected target and state roots.
Description
Normalizes VAL_TARGET_ROOT, selects a state directory unless explicitly overridden, and derives manager/configuration paths.
Side effects
Sets VAL_TARGET_ROOT, VAL_STATE_ROOT, CANONICAL_MANAGER_PATH, SGND_RELEASE_CONFIG_FILE and RELEASE_STATE_FILE.
Returns
0 on success; 1 when the target root is not absolute.
Usage
init_paths
