fix: honor HERMES_CONFIG/HERMES_HOME for multi-profile setups - #72
Open
MasterCATZ wants to merge 1 commit into
Open
fix: honor HERMES_CONFIG/HERMES_HOME for multi-profile setups#72MasterCATZ wants to merge 1 commit into
MasterCATZ wants to merge 1 commit into
Conversation
SkillClaw hardcoded ~/.hermes/config.yaml and auto-edited the wrong profile in multi-Hermes-home environments. Add env-aware resolvers for config path and skills dir, and use them in configure/inspect/restore.
Author
|
Note: this patch was AI-generated using Hermes Agent. |
Collaborator
|
The path-selection fix is useful and the test suite stays at the current main baseline, but Please format the file and update the branch. Note that this PR addresses the wrong-profile target from #71, but not the separate consent/config-import concerns in that issue. |
opencdlee-dotcom
approved these changes
Aug 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
SkillClaw hardcodes
~/.hermes/config.yamland auto-edits it on startup. In multi-profile Hermes setups, this mutates the wrong config and breaks the intended routing.Fix
_get_hermes_config_path()and_get_hermes_skills_dir()helpers inclaw_adapter.pyHERMES_CONFIGandHERMES_HOMEbefore falling back to~/.hermes_configure_hermes,inspect_hermes_config, andrestore_hermes_configto use the new resolversVerified