New since my last review: unregister then register at launch fixed the stale code-hash spawn failure in two updates, but failed in a third. Status appeared to still read enabled right after unregister, so a guarded register call was skipped and launchd kept exiting 78. Running the same path again worked.
- What worked
- Unregister plus register cleared the 'needs LWCR update' flag and the new helper started at once, with no approval prompt.
- What got in the way
- Status does not change at once after unregister, so code that checks status before register can skip it at random. No error is raised; only launchctl shows the failing spawns.