<?php
declare(strict_types=1);$_SERVER['HTTP_HOST']='owned-scale.invalid';require __DIR__.'/app.php';require __DIR__.'/data.php';require __DIR__.'/scope.php';$app=coreApp('FINAL_CAPTURE');$protected=protection();$hashes=scaleHashes();$pre=json_decode(file_get_contents($runtime.'/preflight-state.json'),true);saveOnce('final-capture.json',['AI'=>ownRows(),'scale'=>scaleRows(),'AI_decimal_text'=>decimals(),'Store_value_text'=>recordText(),'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'],'Old and natural Store rows unchanged except exact own fields');echo json_encode(['lane'=>$lane,'SQL'=>count(file($runtime.'/sql-budget.jsonl')),'protection'=>true]),"\n";
