Skip to content

fix(docker): align process HOME with active profile home#27259

Open
dieutx wants to merge 1 commit into
NousResearch:mainfrom
dieutx:dieutx-fix-docker-profile-home-alignment
Open

fix(docker): align process HOME with active profile home#27259
dieutx wants to merge 1 commit into
NousResearch:mainfrom
dieutx:dieutx-fix-docker-profile-home-alignment

Conversation

@dieutx

@dieutx dieutx commented May 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • align the official Docker process HOME with the active profile's home/ directory
  • run the alignment after sticky/explicit profile selection so named profiles use their own home/
  • keep non-Docker installs on the existing subprocess-only HOME isolation model

Fixes #27250

Testing

  • bash -n docker/entrypoint.sh
  • python3 -m py_compile hermes_cli/main.py tests/hermes_cli/test_apply_profile_override.py
  • python3 -m pytest tests/hermes_cli/test_apply_profile_override.py -q
  • python3 -m pytest tests/test_subprocess_home_isolation.py -q
  • python3 -m pytest tests/hermes_cli/test_profiles.py -q

@dieutx dieutx force-pushed the dieutx-fix-docker-profile-home-alignment branch from 105d3e1 to 16fcf83 Compare May 17, 2026 04:14
@cardtest15-coder

This comment was marked as spam.

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

Labels

area/docker Docker image, Compose, packaging backend/docker Docker container execution comp/cli CLI entry point, hermes_cli/, setup wizard 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.

Docker/profile mode should avoid different HOME values between Hermes process and tool subprocesses

2 participants