NousResearch/hermes-agent

Hardcoded venv path assumptions in update and doctor

Cluster 35293 · hermes cli · Bug. Data as of

9 open items. Fix attempted, not merged.

The short answer

4open issues
5open PRs
26items grouped
Known?
Yes. 26 related items grouped here, 2 issues already closed.
Fix event
No fix has been merged to main. 15 PRs closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.

Most members concern CLI update and doctor logic that assumes a venv/ directory, rather than detecting .venv, an active interpreter, sidecar, or other install layouts. A few related items cover doctor entry-point warnings for Homebrew, uv-tool, wheel, and other install types.

Open issues4

  • Issue#35293doctor: Homebrew install falsely warns 'Venv entry point not found'
  • Issue#43250Bug: _venv_scripts_dir() only checks "venv", ignores ".venv"
  • Issue#49529[Bug]: PyPI 0.17.0 wheel install: doctor false-positive venv entry point warning and optional-skills missing from wheel
  • Issue#50581bug: doctor/update guidance assumes PROJECT_ROOT/venv and misses active sidecar venv

Open PRs5

  • PR#35300fix(doctor): recognize Homebrew/uv-tool installs in venv entry point check
  • PR#35303fix(doctor): restrict managed-install detection to docker and nixos
  • PR#43303fix(doctor): align command-link check with install.sh layouts (Termux, root/FHS, isolated HOME)
  • PR#50592fix(cli): respect active sidecar venv paths
  • PR#50704Fix update paths for project .venv installs

15 PRs closed without merging

From the close comments: won't fix / by design 10 · closed without comment 1 · done elsewhere 1 · superseded by another PR 1 · other 2

  • #39735 fix(cli): resolve active venv directory dynamically instead of hardcoding "venv" · won't fix / by design
  • #39749 fix(update): resolve venv from active interpreter instead of hardcoded path · won't fix / by design
  • #39752 fix(cli): target active venv during source update · closed without comment
  • #40191 fix(cli): repair hermes update path (venv detection, uv arity, v25→v26 migration) · other
  • #40207 fix(cli): resolve the real venv root in hermes update instead of hardcoded venv/ · won't fix / by design
Show 10 more
  • #40994 Fix #39714: Replace hardcoded venv paths with detection · won't fix / by design
  • #43258 fix(cli): check both venv and .venv directories in _venv_scripts_dir() · won't fix / by design
  • #43262 fix(cli): make _venv_scripts_dir() check .venv before venv · won't fix / by design
  • #43374 fix(cli): check both venv and .venv directories for script shims (#43250) · superseded by another PR → #43258, #43250
  • #43707 fix: detect .venv in _venv_scripts_dir() and block cronjob toolset in child agents · won't fix / by design
  • #49566 fix(cli): resolve false-positive venv entry point warning in doctor (#49529) · other
  • #49666 fix(windows): detect .venv and use sys.prefix for venv path resolution · won't fix / by design
  • #49842 fix(update): resolve venv dir for both `venv` and `.venv` layouts (#49665) · won't fix / by design
  • #62191 fix(update): resolve venv dir for both venv/ and .venv/ layouts · won't fix / by design → 3700dd5
  • #77428 fix(doctor): detect environment-installed entry points (no false 'Venv entry point not found') · done elsewhere → e6c862d
Closed issues · 2
  • Closed#39714Bug: hermes update installs deps into hardcoded venv/ while active env is .venv (duplicate orphan virtualenv)
  • Closed#49665_venv_scripts_dir() hardcodes "venv" — silently disables quarantine and concurrent-instance detection when venv is at .venv
How this cluster was grouped
  • Link evidence (partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
  • Members outside that structural core may belong to a different underlying problem.
  • Pairwise link density 0.07: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

For your agent

The same facts, typed.