<?php
// Exact private native JSON packing only. No DB/bootstrap/Auth.
foreach(['B','C']as $lane){$source=__DIR__.'/../repaired-food-fixture2-20261011/private/'.$lane.'/baseline.json';$b=json_decode(file_get_contents($source),true);$dir=__DIR__.'/private';if(!is_dir($dir))mkdir($dir,0700);$j=json_encode($b['actor'],JSON_UNESCAPED_UNICODE|JSON_PRESERVE_ZERO_FRACTION);$f=$dir.'/original-actor-'.$lane.'.json';$h=fopen($f,'xb');if(!$h)throw new RuntimeException('No original actor overwrite');fwrite($h,$j);fclose($h);chmod($f,0600);echo json_encode(['lane'=>$lane,'actor_rows'=>count($b['actor']),'private_sha256'=>hash('sha256',$j),'DB'=>0,'HTTP'=>0]),PHP_EOL;}
