Repository navigation
Local install lifecycle & team version-pinning in worktrees #3630
mathieu-benard-tb
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi team GSD,
Quick question about the intended lifecycle of a local install and how best to handle team version-pinning.
Context:
We're running Claude Code with GSD 1.10.0 (
--localinstall) in a monorepo. Since.claude/isn't gitignored by default, the install was committed. As we onboarded another developer, we ran into two main friction points:Portability issues with local installs:
computePathPrefixbakes in the absolute path rather than a portable reference, which ended up hardcoding one developer's home path across ~700 instances in 214 tracked files./gsd-*commands pointed to missing directories, causing<execution_context>includes to fail silently (similar spirit to Plugin install: agents fail because@~/.claude/gsd-core/...includes resolve to nothing (path never created) #997).Hook registration doesn't carry over to worktrees:
settings.local.json(gitignored), and the installer migrates entries out ofsettings.json([--local] installer writes hook wiring to .claude/settings.json instead of .claude/settings.local.json #338).It seems like
--localinstalls are meant to be strictly per-machine, uncommitted artifacts. If so:.nvmrc-style pattern (a committed version file, a bootstrap script, and a gitignored install tree) make sense here, or is there an existing mechanism we should use instead?Happy to open an issue or PR if helpful!
All reactions