4d84aa2a63
A stale or smaller in-memory snapshot could overwrite jobs.json and drop CLI/tool-created jobs (including no_agent watchdogs) while the gateway ticker was running. Merge unexpected on-disk ids back on save unless the caller marks them in removed_ids.