pub fn next_job_id(now_ms: i64) -> StringExpand description
A fresh, process-unique background job id ("bg-<hex-ts>-<hex-seq>"),
given the caller’s own millisecond timestamp (kept as a parameter rather
than reading the clock in here, so this stays a pure function for the
unit tests below).