Skip to content

Honor CLAUDE_CONFIG_DIR across hooks, tools, and launcher - #1943

Open
MarnuLombard wants to merge 1 commit into
danielmiessler:mainfrom
MarnuLombard:fix/hooks-honor-claude-config-dir
Open

Honor CLAUDE_CONFIG_DIR across hooks, tools, and launcher#1943
MarnuLombard wants to merge 1 commit into
danielmiessler:mainfrom
MarnuLombard:fix/hooks-honor-claude-config-dir

Conversation

@MarnuLombard

Copy link
Copy Markdown

LifeOS hooks and install tools hardcoded ~/.claude, so an install under a relocated config root (--config-root / CLAUDE_CONFIG_DIR) copied files into its own root but resolved them against the global ~/.claude.

Worse, a SessionStart MergeSettings hook would rewrite the GLOBAL settings.json from inside a relocated install.

This routes all 36 hooks and the install tooling through the resolved config root, has the lifeos launcher export CLAUDE_CONFIG_DIR so a relocated install actually runs in its own path, and closes two latent gaps: settings.system.json was never deployed, and the upgrade merge did not dedup the new templated command form. Default installs are byte-identical.


  • 543f20e fix: honor CLAUDE_CONFIG_DIR across hooks, tools, and launcher
    • Route every hook, install tool, and the launcher through the resolved config root.
    • Deploy the missing settings.system.json (repointed on relocation) and dedup the upgrade path.

- Route all 36 hooks + install tools through the resolved config root, not a hardcoded ~/.claude.
- lifeos launcher self-locates its root and exports CLAUDE_CONFIG_DIR + LIFEOS_DIR to the spawned Claude.
- Deploy settings.system.json (repointed on relocation) and dedup the templated command form on upgrade.
@MarnuLombard
MarnuLombard force-pushed the fix/hooks-honor-claude-config-dir branch from 543f20e to db1caf9 Compare August 22, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant