88887a92d8
Extend _execute_cycle (daily stop/download/increment/restart) so the nightly report's data lands automatically: - Step 4b: after the device download, fetch the just-finished Auto_#### folder from SLMM and ingest via ingest_nrl_zip (clean session + DataFiles, Lp filtered, dedup). Drops the empty "recording" placeholder session once the real data session exists. New helper _ingest_cycle_folder. - Step 6b: after restart, verify the meter resumed measuring via a fresh DOD (measurement_state) — advisory: alerts loudly on failure but doesn't fail the cycle (keepalive polling re-confirms within ~10s). Both wrapped defensively so they never break the cycle. Ingest-hook logic verified with a mocked SLMM (real Feb folder -> session + 2 DataFiles, dedup, empty/HTTP guards). Device-control paths (restart-verify, live download) are field-untested — no meter available in dev. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>