forked from 1b-agent/opencadstudio-upstream
Advancing ocad.pgp.version (or the web counterpart) could succeed while the merged alias table write failed, so a later launch skipped migration against a stale file and permanently lost the new aliases. Gate the version write on the alias-table write (native fs::write / web set_item) succeeding.