sfm/mlg_ingest.ingest_mlg() is shared by the import route and the bulk
script. A file that is not whole, or with any record failing its
checksum, stores nothing. The serial comes from the file; for an empty
file (no serial inside) from the caller's hint, else the longest known
serial its <serial><counter> name starts with, else unresolved.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1