<?php
require __DIR__.'/common.php';$after=$source(true);$before=json_decode(file_get_contents(__DIR__.'/private/batch-before20.json'),true);$exact=$after;$prior=$before;unset($exact['sentinel'],$prior['sentinel']);$allLogs=$logs();$save('batch-after20.json',$after);$save('final20-oracle.json',$GLOBALS['NR_ORACLE']);$save('final20.json',['own_rows_unchanged'=>$exact===$prior,'sentinel_unchanged'=>$after['sentinel']===$before['sentinel'],'sentinel_is_not_natural_full_sha'=>true,'logs'=>$allLogs,'log_count'=>count($allLogs)]);if($exact!==$prior)throw new RuntimeException('Own/config/actor source drift');echo json_encode(['lane'=>$lane,'own_rows_unchanged'=>true,'log_count'=>count($allLogs),'sentinel_unchanged'=>$after['sentinel']===$before['sentinel']]),"\n";
