app
Codex
Public Made by Adomby adom
Codex in Adom Hydrogen: ecosystem setup, dock dashboard and live engineering demos.
main
John Lauer
Corrected Astra ESC routing: native zero-open result, full accounting and voiceover handoff
a80479d
23d ago
from bridge import *
import shutil
r=json.load(open(D/'evidence/final-recording-stop.json'));assert r.get('success') and r.get('path'),r
p=call('pull_file',dict(filePaths=[r['path']],saveTo=str(D/'raw')));(D/'evidence/final-pull.json').write_text(json.dumps(p,indent=2));assert p.get('files') and not p.get('errors'),p
src=pathlib.Path(p['files'][0]['path']);dest=D/'raw/accepted.mp4'
if src!=dest:shutil.move(str(src),dest)
print('COLLECTED',dest,dest.stat().st_size,flush=True)