recordWorkingSet
Training-launch capture: write every kotlin / kotlin-compiler class the masking loader has defined (= the true compiler working set, since a training launch runs with preload off) to path, plus the kotlin version stamp doPreload gates on. The set comes from MaskingClassLoader.definedClassNames.