mustRun(); foreach($files as $file)$copy($repo.'/'.$file,$file); $build=$run['root'].'/private/single-stock-final-ui-build-20261110';if(!is_file($build.'/manifest.json'))throw new LogicException('Build required');foreach(glob($build.'/assets/*') as $file)$copy($file,'public/build/assets/'.basename($file));$copy($build.'/manifest.json','public/build/manifest.json'); $single=require $s['app'].'/config/sgf_single_installation.php';$single['bindings_sha256']=$pins['single-bindings.json'];$single['material_perimeter_sha256']=hash_file('sha256',$s['root'].'/single-material-perimeter.json'); foreach(['sgf_single_installation'=>$single,'stock_operations'=>['enabled'=>true,'profile_sha256'=>$pins['stock-operations-binding.json'],'final_enabled'=>true,'final_sha256'=>$pins['stock-final-binding.json']]] as $name=>$values){$file=$work.'/'.$name.'.php';file_put_contents($file,"true,'source_hashes'=>$hashes,'same_installation'=>$tag,'frozen_native_bundle_changed'=>false,'cache_cleared'=>false,'new_demo'=>false,'sgc_enabled'=>false],JSON_PRETTY_PRINT));echo json_encode(['passed'=>true,'files'=>count($hashes),'proof'=>$work.'/stock-final-installation.json']).PHP_EOL;