Performs the one-time migration from legacy Git-tracked metadata commits into content-addressed snapshots plus snapshot-based history artifacts.
By default this writes local artifacts only. With --publish, it also seeds
GitHub Releases with all discovered immutable snapshots and uploads a rebuilt
history.tar.gz bundle to the immutable history release for the latest
migrated snapshot.