Skip to content

fix(honcho): port profile isolation fixes to plugin architecture#4642

Closed
erosika wants to merge 1 commit into
NousResearch:hermes/hermes-50668d84from
erosika:eri/4623-honcho-profile-fixes
Closed

fix(honcho): port profile isolation fixes to plugin architecture#4642
erosika wants to merge 1 commit into
NousResearch:hermes/hermes-50668d84from
erosika:eri/4623-honcho-profile-fixes

Conversation

@erosika

@erosika erosika commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

Ports all profile isolation fixes from #4632 to the plugins/memory/honcho/ paths in #4623.

Fixes ported

  1. 3-tier config resolutionresolve_config_path() now checks ~/.hermes/honcho.json (default profile) between profile-local and global, so non-default profiles find their host blocks
  2. host=_host_key() threaded through from_global_config() in setup, status, identity — fixes --target-profile being silently ignored
  3. Bare profile name as aiPeerdesign-researcher not hermes.design-researcher (dots violate Honcho's ID pattern)
  4. _sanitize_id() applied to assistant_peer_id (was raw, user peer and session ID were already sanitized)
  5. add_peers() wrapped in try/except as defense-in-depth
  6. Honcho clone gated behind --clone/--clone-all — bare profile create stays a blank slate
  7. Test fixes for filesystem isolation in resolve_config_path tests

119 honcho plugin tests pass.

Port all 6 fixes from NousResearch#4632 to the plugins/memory/honcho/ paths:

1. 3-tier config resolution: profile-local → ~/.hermes/honcho.json → global
2. host=_host_key() in cmd_setup/status/identity from_global_config() calls
3. Bare profile name as aiPeer (not host key with dots)
4. _sanitize_id() on assistant_peer_id
5. add_peers() wrapped in try/except (defense-in-depth)
6. clone_honcho_for_profile gated behind --clone/--clone-all
7. Test fixes for filesystem isolation in resolve_config_path tests
@erosika

erosika commented Apr 15, 2026

Copy link
Copy Markdown
Contributor Author

Closing — base branch is non-main internal branch and changes have been superseded by #9884 (plugin architecture rewrite).

@erosika erosika closed this Apr 15, 2026
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