<?php
declare(strict_types=1);
$lane=getenv('PAGE_LANE');$root=getenv('PAGE_ROOT');$base=getenv('PAGE_BASE');$b=json_decode(file_get_contents($base.'/__poc_boundary'),true);if(count($b['actual_loaded_paths_verified']??[])!==7||in_array(false,$b['actual_loaded_paths_verified'],true))throw new RuntimeException('Actual Reflection source mismatch');foreach($b['hashes'] as $f=>$sha)if(hash_file('sha256',$root.'/'.$f)!==$sha)throw new RuntimeException('Private source SHA drift');$b['lane']=$lane;$b['collection']='Actual HTTP boundary Reflection, no business operation or DB connection';file_put_contents(__DIR__.'/source-identity-'.$lane.'.json',json_encode($b,JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES));echo json_encode(['lane'=>$lane,'actual_HTTP_Reflection_sources'=>7,'all_private_paths_verified'=>true]),"\n";
