main
John Lauer Publish compact v5 probe-driven placement and explicit incomplete cooling screen 37f2cbf
from pathlib import Path
import subprocess,json,hashlib
R=Path(__file__).resolve().parents[1];E=R/'revisions/compact-r11/evidence';P=R/'revisions/compact-r11/probing-sidefan-v5-reservations';B='/home/adom/project/load-r11-probing-obstacle-fix/target/release/adom-aiflow-probing'
for action in ['access','stack','compile','collide']:
 with (E/('v5-probe-'+action+'.log')).open('w')as f:
  p=subprocess.run([B,'--project',str(P),'--ai-thread','adom-custom-load',action],stdout=f,stderr=subprocess.STDOUT)
 if p.returncode:raise SystemExit(f'{action} failed; dependent checks not run')
paths=[P/'probing-flow'/n for n in ['state.json','access.json','layout.json','plan.json','dft.json','workcell.json','sequence.json','collide.json']];paths += [R/'revisions/compact-r11/kicad/compact-sidefan-v5-native.kicad_pcb',R/'revisions/compact-r11/kicad/sidefan-v5-cooling-reservations.plain.glb',Path(B)]
(E/'v5-probe-identity.json').write_text(json.dumps({'scope':'Actual PCB plus main-body reservations only; mount, harness, sensor and duct absent. Not assembled acceptance.','sha256':{str(p):hashlib.sha256(p.read_bytes()).hexdigest()for p in paths}},indent=2)+'\n');print('Main-body envelope replay completed; assembled acceptance remains open.')