NousResearch/hermes-agent

PM runtime site-packages missing from kernel PYTHONPATH

Cluster 124049 · environments. Data as of

Nothing open on GitHub. Fix merged in #126172 on 28 Sep 2026. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #126172. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #126172. That is separate from the fix event.
Still open
Nothing open on GitHub.

A bug where package-manager installs strip the runtime site-packages directory from the kernel's PYTHONPATH, causing third-party imports to fail in execute_code. Several fixes attempt to preserve or restore PM runtime dependencies for the bundled kernel.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #126172 fix(pm): package-manager installs keep features, deps and diagnostics across updates (salvage #124060, #124246, #124446, #124656)

    merged to main

    files: hermes_bootstrap.py, hermes_cli/_early_recovery.py, hermes_cli/doctor.py, hermes_cli/doctor_platform.py, hermes_cli/main_install_repair.py, hermes_cli/source_build.py, pm/cli.py, pm/environment.py, pm/environments.py, pm/index_config.py, tests/e2e/core/upgrade/handoff/_handoff.py, tests/e2e/core/upgrade/hosts/test_permissions.py, tests/e2e/core/upgrade/network/test_mirrors.py, tests/e2e/core/upgrade/pm/test_configured_features.py, tests/e2e/core/upgrade/pm/test_interpreter_hygiene.py, tests/e2e/core/upgrade/pm/test_stamps_and_doctor.py, tests/hermes_cli/test_doctor_web_dashboard_import.py, tests/hermes_cli/test_update_missing_configured_deps.py, tests/pm/test_environment_build.py, tests/pm/test_install_state_permissions.py (+2 more)

2 PRs closed without merging

From the close comments: done elsewhere 1 · superseded by another PR 1

  • #124060 fix(execute-code): preserve PM runtime dependencies for own kernel · superseded by another PR → #122954, #124049
  • #124734 fix(tools): re-append PM runtime site-packages to the bundled kernel child's PYTHONPATH (fixes #124049) · done elsewhere → #124049, #126172, #124060
Closed issues · 1
  • Closed#124049[Bug]: execute_code has no third-party imports on PM installs — runtime site-packages is stripped from the kernel PYTHONPATH and never restored
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.50: 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
environments
Merged PRs
#126172
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
28 Sep 2026

For your agent

The same facts, typed.