<?php
declare(strict_types=1);require __DIR__.'/app.php';require __DIR__.'/data.php';$app=coreApp('CAPTURE');$pre=json_decode(file_get_contents($runtime.'/preflight-read.json'),true);$data=sourceData();$protect=protection();ck($data===$pre['source_data']&&$protect===$pre['protection'],'Whole original actor/source rows and old financial protection unchanged');saveOnce('persistence-final.json',['source_data'=>$data,'protection'=>$protect,'unchanged'=>true,'SQL_count'=>count(file($runtime.'/sql-budget.jsonl',FILE_IGNORE_NEW_LINES)),'HTTP'=>0,'DML'=>0]);echo json_encode(['lane'=>$lane,'whole_original_rows_unchanged'=>true,'SQL_count'=>count(file($runtime.'/sql-budget.jsonl',FILE_IGNORE_NEW_LINES)),'HTTP'=>0,'DML'=>0]),"\n";
