pub async fn persist_plugins(sched: &Scheduler)
Atomically persist the installed-plugin registry. Called after every install / uninstall so a crash never loses the merge-and-track record.