make-index.mjs rewrites index.json in place, so comparing after the fact always reported no change. Capture the committed text first and restore it for --dry-run. Adds the .cmd entry used by the scheduled task.