Skip to content

[BugFix] Fix Honcho HOME-aware config fallback#13320

Draft
HiddenPuppy wants to merge 1 commit into
NousResearch:mainfrom
HiddenPuppy:codex/fix-13283-honcho-home
Draft

[BugFix] Fix Honcho HOME-aware config fallback#13320
HiddenPuppy wants to merge 1 commit into
NousResearch:mainfrom
HiddenPuppy:codex/fix-13283-honcho-home

Conversation

@HiddenPuppy

Copy link
Copy Markdown
Contributor

Fixes #13283

Summary

  • compute the shared ~/.honcho/config.json fallback from the current HOME at call time
  • add regression coverage for HOME changes after import
  • keep the existing Hermes-local and default-profile lookup order unchanged

Root Cause

GLOBAL_CONFIG_PATH captured Path.home() at import time, so later HOME overrides used by tests and isolated instances could still fall back to the original user's ~/.honcho/config.json.

Testing

  • source venv/bin/activate && python -m pytest tests/honcho_plugin/test_client.py -q
  • source venv/bin/activate && python -m pytest tests/hermes_cli/test_profiles.py -q
  • source venv/bin/activate && python -m pytest tests/ -q (fails in unrelated ACP/approval/browser/media/vision areas and missing optional extras in this checkout)

@HiddenPuppy HiddenPuppy changed the title [codex] Fix Honcho HOME-aware config fallback [BugFix] Fix Honcho HOME-aware config fallback Apr 21, 2026
@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists area/config Config system, migrations, profiles labels Apr 22, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Likely duplicate of #13323 — same root cause (Honcho GLOBAL_CONFIG_PATH frozen at import time). Both fix #13283.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config Config system, migrations, profiles duplicate This issue or pull request already exists P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Honcho client freezes ~/.honcho/config.json path at import time and ignores runtime HOME changes

2 participants