697384145a
`autoInstallSkillPlugins` takes `run` as a seam, so every existing test stops short of the real `spawnSync` — the line that decides whether CLAUDE_CONFIG_DIR is pinned was untested. Restoring the unconditional pin here (the bug that sent `.claude.json` to `~/.claude/.claude.json`) kept the whole suite green. Export `runClaudePlugin` and drive it against a fake `claude` on PATH that prints the variable back: one test for CLAUDE_HOME set, one for unset. Mutation-checked — the unconditional pin fails the second.
10 KiB
10 KiB