<?php
require __DIR__.'/common-write.php';$check($lane==='B','Only B1 incident');$state=json_decode(file_get_contents(__DIR__.'/private-state.json'),true);$check($state===['step'=>0,'ids'=>[]],'No previous recovery');$check(is_file(__DIR__.'/private-sent-1')&&!is_file(__DIR__.'/private-case-1.wire.json'),'Exactly known sent incident');$data=$source();$own=$guard($data);$check(count($own['nutrition_time'])===1&&$own['nutrition_set']===[],'Known sole B entity');$row=$own['nutrition_time'][0];$check($row['uuid']==='2DAF6837-E0FF-96CA-8553-75B5C03F9075'&&(string)$row['id']==='10','Known actually inserted id/guid');$check($row['name']==='CDXNW11D6A2-time-A'&&$row['function']==='CDXNW11D6A2-function-A'&&(int)$row['order_no']===620001&&(int)$row['status']===1&&(int)$row['del_flag']===0,'Exact complete values');$check(hash('sha256',$row['create_by'])==='efcac9c3ed28940cbd075c4b8bdd20c5a6165984c1f413546f9620b5e8b9d044','Actual creator');$check(count($row)===9&&preg_match('/^2026-10-11 04:15:\d{2}$/D',$row['create_time']),'Real creation timestamp and all columns');$check($data===json_decode(file_get_contents(__DIR__.'/private-incident-independent-readback.json'),true)['source'],'Independent recovery source unchanged');$save('private-recovered-step1.json',['incident'=>'Actual B1 INSERT committed but native write/body evidence lost due private global variable collision; cannot reconstruct; no HTTP replay','after'=>$data,'oracle_native_SELECT'=>$GLOBALS['ORACLE_JOURNAL'],'ids'=>['nutrition_time'=>$row['uuid']],'evidence_status'=>'EVIDENCE_INCOMPLETE']);$save('private-state.json',['step'=>1,'ids'=>['nutrition_time'=>$row['uuid']]]);echo json_encode(['lane'=>'B','passed'=>true,'HTTP'=>0,'DML'=>0,'resume_from'=>2,'B1'=>'EVIDENCE_INCOMPLETE']),"\n";
