$code=@'
from pathlib import Path
import os,sys,json,hashlib,subprocess,datetime,shutil
S=Path(r'verification\_control\run_math2025\targeted_recovery\recovery-0034\staging'); W=Path(r'verification\_control\run_math2025\targeted_recovery\recovery-0034\staging\verification\0439\recovery_methods_check')
def now():return datetime.datetime.now(datetime.timezone.utc).isoformat()
def d(p):
 b=p.read_bytes()
 try:label=p.relative_to(S).as_posix()
 except ValueError:label=str(p)
 return {'path':label,'bytes':len(b),'sha256':hashlib.sha256(b).hexdigest()}
def save(name,b):
 with (W/name).open('xb') as f:f.write(b)
 return d(W/name)
names=['bounded_checks.stdout.json','bounded_checks.stderr.txt','calculation_execution_receipt.json']
assert not any((W/n).exists() for n in names)
free={x:shutil.disk_usage(x).free for x in ['C:/','D:/']}
assert min(free.values())>100*1024**3+1024**2
script=W/'bounded_checks.py';pdf=S/'papers/0439/0439.pdf'
before={'script':d(script),'source_pdf':d(pdf),'interpreter':d(Path(sys.executable))}
assert before['source_pdf']['sha256']=='fd6a4ef0307437644d5fc55f3cccd5ae54c97913f594df302d8bba34ff03c98c'
args=[sys.executable,'-B','-X','utf8',str(script)]
env=os.environ.copy()
for key in ['TMP','TEMP','TMPDIR']:env[key]=str(W/'temp')
start=now();p=subprocess.Popen(args,cwd=str(W),env=env,stdout=subprocess.PIPE,stderr=subprocess.PIPE)
out,err=p.communicate();finish=now()
outputs={'stdout':save(names[0],out),'stderr':save(names[1],err)}
after={'script':d(script),'source_pdf':d(pdf),'interpreter':d(Path(sys.executable))}
receipt={'paper_id':'M25-0439','batch_token':'1070b9fe-f587-46f8-b0bf-f599bae603c6','recovery_token':'c1be3c77-5483-4f57-b140-e22048f4bc49','performer':'/root/input_integrity','role':'native scientific auxiliary, initial continuation, independently authored bounded checks','runtime_self_description':'GPT-6 Astra Pro; not UI/account/backend equivalence evidence','command_argv':args,'cwd':str(W),'started_at_utc':start,'finished_at_utc':finish,'actual_child_pid':p.pid,'actual_exit_code':p.returncode,'python_version':sys.version,'before':before,'after':after,'unchanged':before==after,'outputs':outputs,'disk_free_before':free,'dependency_capture_scope':'Exact source PDF, independent script and interpreter executable; standard-library use; not an exhaustive Python module inventory.','author_code_executed':False,'scientific_decision':'pending','human_reviews':[],'independent_acceptance':False}
r=save(names[2],(json.dumps(receipt,ensure_ascii=False,indent=2)+'\n').encode('utf-8'))
print(out.decode('utf-8'));print(json.dumps({'receipt':r,'child_pid':p.pid,'exit_code':p.returncode,'unchanged':before==after}))
if p.returncode:sys.exit(p.returncode)

'@
$code | & 'C:\ProgramData\anaconda3\python.exe' -B -X utf8 -