a9bf2f6fed
Nine test files each rolled their own isolation, and every one of them moved HOME alone. On Windows that left them pointed at the real profile: the init suite merged hooks into the real ~/.codex/config.toml, the instructions suite handed the real home to SyncGlobalSkills, which prunes shipped skills out of ~/.claude/skills, and the platform suite ran MigrateToUnifiedHome against the developer's real ~/.config/gortex. The platform and config tests were not merely leaking either — they assert Home() resolves to <temp>/.gortex, which cannot hold on Windows while the home lookup ignores HOME. They fail there today. No behaviour changes on Unix; the local clearXDG and isolateInitTestEnv helpers give way to the shared ones so a tenth copy is not written next.