feat(honcho): support instance-local config via HERMES_HOME#1962
Closed
erosika wants to merge 4 commits into
Closed
feat(honcho): support instance-local config via HERMES_HOME#1962erosika wants to merge 4 commits into
erosika wants to merge 4 commits into
Conversation
a96cb73 to
5ad729c
Compare
teknium1
added a commit
that referenced
this pull request
Mar 21, 2026
…strategy to per-directory - Add resolve_config_path(): checks $HERMES_HOME/honcho.json first, falls back to ~/.honcho/config.json. Enables isolated Hermes instances with independent Honcho credentials and settings. - Update CLI and doctor to use resolved path instead of hardcoded global. - Change default session_strategy from per-session to per-directory. Part 1 of #1962 by @erosika.
teknium1
added a commit
that referenced
this pull request
Mar 21, 2026
…ield - hermes honcho setup now writes Hermes-specific settings under hosts.hermes instead of stomping shared root defaults. - Add _effective_value() for host-scoped config resolution with root fallback. - Add tools_startup_context field to HonchoClientConfig (config only, runtime wiring in next commit). - Setup wizard prompts for startup context toggle. - cmd_status, cmd_peer, cmd_mode, cmd_tokens all use host-scoped reads. Part 2 of #1962 by @erosika.
teknium1
added a commit
that referenced
this pull request
Mar 21, 2026
- Add fetch_startup_snapshot() to HonchoSessionManager for lightweight user representation + peer card retrieval. - Add _schedule_honcho_startup_prewarm() and _pop_startup_snapshot() to AIAgent for background prefetch on session start. - Wire gateway startup prewarm through reset and agent creation. - Inject startup context on first turn in tools mode when enabled. - CLI new_session() triggers prewarm when tools_startup_context is on. Part 3 of #1962 by @erosika.
per-session created a new Honcho session on every run, so cross-session context (peer card, conclusions, dialectic) was never reused. Default to per-directory so the same working directory always maps to the same Honcho session. Users on per-session who want isolation can still set sessionStrategy: per-session in .honcho.
Honcho config resolution now checks $HERMES_HOME/honcho.json before falling back to ~/.honcho/config.json, enabling isolated Hermes instances with independent credentials, workspaces, and settings.
d285a44 to
1b5cec5
Compare
Contributor
outsourc-e
pushed a commit
to outsourc-e/hermes-agent
that referenced
this pull request
Mar 26, 2026
…strategy to per-directory - Add resolve_config_path(): checks $HERMES_HOME/honcho.json first, falls back to ~/.honcho/config.json. Enables isolated Hermes instances with independent Honcho credentials and settings. - Update CLI and doctor to use resolved path instead of hardcoded global. - Change default session_strategy from per-session to per-directory. Part 1 of NousResearch#1962 by @erosika.
angelburgosrosado
pushed a commit
to angelburgosrosado/hermes-agent
that referenced
this pull request
Apr 27, 2026
…strategy to per-directory - Add resolve_config_path(): checks $HERMES_HOME/honcho.json first, falls back to ~/.honcho/config.json. Enables isolated Hermes instances with independent Honcho credentials and settings. - Update CLI and doctor to use resolved path instead of hardcoded global. - Change default session_strategy from per-session to per-directory. Part 1 of NousResearch#1962 by @erosika.
02356abc
pushed a commit
to 02356abc/hermes-agent
that referenced
this pull request
May 14, 2026
…strategy to per-directory - Add resolve_config_path(): checks $HERMES_HOME/honcho.json first, falls back to ~/.honcho/config.json. Enables isolated Hermes instances with independent Honcho credentials and settings. - Update CLI and doctor to use resolved path instead of hardcoded global. - Change default session_strategy from per-session to per-directory. Part 1 of NousResearch#1962 by @erosika.
olympus-terminal
pushed a commit
to olympus-terminal/hermes-agent
that referenced
this pull request
May 16, 2026
…strategy to per-directory - Add resolve_config_path(): checks $HERMES_HOME/honcho.json first, falls back to ~/.honcho/config.json. Enables isolated Hermes instances with independent Honcho credentials and settings. - Update CLI and doctor to use resolved path instead of hardcoded global. - Change default session_strategy from per-session to per-directory. Part 1 of NousResearch#1962 by @erosika.
gweeteve
pushed a commit
to gweeteve/hermes-agent
that referenced
this pull request
Jun 2, 2026
…strategy to per-directory - Add resolve_config_path(): checks $HERMES_HOME/honcho.json first, falls back to ~/.honcho/config.json. Enables isolated Hermes instances with independent Honcho credentials and settings. - Update CLI and doctor to use resolved path instead of hardcoded global. - Change default session_strategy from per-session to per-directory. Part 1 of NousResearch#1962 by @erosika.
Egavasyug
pushed a commit
to Egavasyug/hermes-agent
that referenced
this pull request
Jun 10, 2026
…strategy to per-directory - Add resolve_config_path(): checks $HERMES_HOME/honcho.json first, falls back to ~/.honcho/config.json. Enables isolated Hermes instances with independent Honcho credentials and settings. - Update CLI and doctor to use resolved path instead of hardcoded global. - Change default session_strategy from per-session to per-directory. Part 1 of NousResearch#1962 by @erosika.
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.
Summary
$HERMES_HOME/honcho.jsonfirst, falling back to~/.honcho/config.jsonrecallMode=toolsviatoolsStartupContextAIAgentinstance created for the next turnhermes honcho setupand related CLI commands to respect host-scoped Honcho config with root fallback, while continuing to write Hermes-owned workflow settings underhosts.hermesNotes
HERMES_HOMEinstance-local config change.claude/remains untracked and is not part of this PRTest plan
python -m pytest tests/honcho_integration/test_cli.py tests/test_honcho_client_config.py tests/test_honcho_startup_context.py tests/gateway/test_honcho_lifecycle.py -qpython -m pytest tests/honcho_integration/ tests/gateway/ tests/tools/test_honcho_tools.py tests/test_honcho_client_config.py tests/test_honcho_startup_context.py -q$HERMES_HOME/honcho.jsonis still resolved when present~/.honcho/config.jsonwhen no instance-local config existsRelated meta issue: #2210