detail
Root cause: clearForm() reset currentEditingId in-memory but never cleared localStorage['cai_gym_editing_id']/['cai_gym_hdr']. On next app load/reload, boot restore-check read the stale id back out and reattached it to the new record, so a fresh session could silently inherit an already-tombstoned id and vanish on next Sync. Fix: added localStorage.removeItem for both keys inside clearForm() itself. Built directly under Health authority (D716/D720), not routed to Builder.