Local installs wrote $HOME/.claude/get-shit-done/bin/gsd-tools.cjs into workflow files, which breaks when GSD is installed outside $HOME (e.g. external drives, symlinked projects) and when spawned subagents have an empty $HOME environment variable. - pathPrefix now always resolves to an absolute path via path.resolve() - All $HOME/.claude/ replacements use the absolute prefix directly - Codex installer uses absolute path for get-shit-done prefix - Removed unused toHomePrefix() function Tested: 535/535 existing tests pass, verified local install produces correct absolute paths, verified global install unchanged, verified empty $HOME scenario resolves correctly. Closes #820 Made-with: Cursor Co-authored-by: ralberts3 <ralberts3@gatech.edu>
102 KiB
Executable File
102 KiB
Executable File