<?php
require __DIR__.'/common.php';$after=$source(true);$before=json_decode(file_get_contents(__DIR__.'/private/batch-before-complete.json'),true);$a=$after;$b=$before;unset($a['sentinel'],$b['sentinel']);$allLogs=$logs();$save('batch-after-complete.json',$after);$save('final-complete-oracle.json',$GLOBALS['NR_ORACLE']);$save('final-complete.json',['own_rows_unchanged'=>$a===$b,'sentinel_unchanged'=>$after['sentinel']===$before['sentinel'],'sentinel_is_not_natural_full_sha'=>true,'logs'=>$allLogs,'log_count'=>count($allLogs)]);if($a!==$b)throw new RuntimeException('Completion own source drift');echo json_encode(['lane'=>$lane,'own_rows_unchanged'=>true,'log_count'=>count($allLogs)]),"\n";
