ASE Academy — Unit 1 build pipeline (hand-off copy)

These files were working in /tmp on the machine where Unit 1 (B2, "Shop Safety & Survival") was built. They are copied here so the work survives a machine switch. The live lesson is also safe in Firestore (academy_lessons/B2-1) and the player lives in simulator.html — both sync via Google Drive.

What's here

Rebuild + publish after editing u1_enhanced.json

python3 functions/scripts/academy-build/assemble_unit1.py functions/scripts/academy-build/u1_enhanced.json
python3 functions/scripts/academy-build/build_sim_harness.py functions/scripts/academy-build/u1_enhanced.json
cd functions && node scripts/seed-academy-b2-unit1.js      # pushes /tmp/b2-unit1-doc.json -> academy_lessons/B2-1
cd .. && npx @11ty/eleventy && firebase deploy --only hosting --project ase-portal-5d37c

IMPORTANT on a new machine

The .py scripts have hardcoded absolute paths to this project (and to /tmp). If the Mac Mini's home path differs (e.g. a different username or a Library/CloudStorage/... Drive path), update the paths at the top of assemble_unit1.py and build_sim_harness.py first. The seed script needs functions/serviceAccountKey.json.