<?php
declare(strict_types=1);$_SERVER['HTTP_HOST']='owned-disease.invalid';require __DIR__.'/app.php';require __DIR__.'/data.php';require __DIR__.'/scope.php';$app=coreApp('FINAL_CAPTURE');$rows=newRows();$protected=weightProtect();$hashes=relatedHashes();$pre=json_decode(file_get_contents($runtime.'/preflight-state.json'),true);saveOnce('final-capture.json',['rows'=>$rows,'protection'=>$protected,'unrelated_hashes'=>$hashes,'all_protection_match'=>$protected===$pre['protection']&&$hashes===$pre['unrelated_hashes'],'source'=>sourceProof(),'SQL'=>count(file($runtime.'/sql-budget.jsonl'))]);ck($protected===$pre['protection']&&$hashes===$pre['unrelated_hashes'],'All old and unrelated protection unchanged');echo json_encode(['lane'=>$lane,'SQL'=>count(file($runtime.'/sql-budget.jsonl')),'protection'=>true]),"\n";
