The v4 startup-latency IPC and packaged-update recorder added ~26 lines to main.ts (18k lines). desktop-shared-metrics.ts now owns the claim IPC, the recorder construction and its renderer IPC, and the packaged-only apply wrapper; main.ts keeps one import, one constructor call and two call sites. The recorder's behaviour is unchanged (update-metrics.ts untouched).