pub fn build_world_to_disk(world_path: &str) -> Result<()>Expand description
Compile a world.jsonl file and write the compiled blobs + world-lock.json to
the active state dir’s data/, exactly as cn build does. This is
cn build as a library call: the editor’s SAVE goes through here to persist
edits, reusing the validated compile + blob-write tail rather than patching
blobs directly. Same-process recompiles are fast because the payload / expand
caches are warm.