"""Construction pipeline; build_patient.sh runs stages A-G and export.py writes the per-patient files."""