pub fn import_bundle(root: &Path, bundle: &Value) -> Result<String, String>
导入已校验的 bundle 到 root 下:分配新 id、原子写(.tmp -> rename)。返回新 id。