#!/usr/bin/env node // Phase 4c (engine) — deterministic index.html assembly. No subagent. // // Owns the mechanical, judgment-free half of finalize (the old // hyperframes-finalize.md "Step 2"): turning group_spec.json + on-disk state // into the top-level index.html. The finalize AGENT no longer hand-authors // clip/audio elements, hand-computes start_s, picks track indices, or eyeballs // data-duration — those are this script's invariants now. Mirrors the // captions.mjs group precedent (deterministic engine, agent does only judgment). // // index.html is a *standalone* (top-level) composition: root
lives // directly in with NO