mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-20 04:17:37 +00:00
Problem: Test suite was directly modifying user's personal ~/.ccs/ directory, causing configuration interference during development. Solution: - Add test-environment.js fixture with CCS_HOME env var support - Update postinstall.js to respect CCS_HOME for test isolation - Update config-manager.ts with getCcsHome() helper - Update postinstall.test.js and cli.test.js to use isolated env - Remove auto-install of .claude/ symlinks from postinstall (users can run "ccs sync" to opt-in) Benefits: - Tests run in temp directories, no user config affected - Users control when .claude/ items are installed via "ccs sync" - All 39 tests passing with proper isolation