# NousResearch/hermes-agent · Desktop terminal leaks backend Python env vars

## Open now

- 1 issue, 2 PRs open on GitHub.
- #122468: \[Bug\] Desktop terminal pane leaks the backend's PYTHONPATH/CONDA_* env into the interactive shell — conda hooks fail with \`No module named 'pydantic_core._pydantic_core'\`
- PR #122472: fix(desktop): drop backend Python env from the terminal pane
- PR #122475: fix(desktop): scrub Python activation from terminal shells

A bug where the desktop terminal pane exposes the backend's Python/Conda environment variables to interactive shells, causing conda hook failures. Two fixes address dropping and scrubbing these variables from the terminal environment.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member 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.

## Open related issues

- #122468: \[Bug\] Desktop terminal pane leaks the backend's PYTHONPATH/CONDA_* env into the interactive shell — conda hooks fail with \`No module named 'pydantic_core._pydantic_core'\`

## Prior & competing PRs

- **#122472: fix(desktop): drop backend Python env from the terminal pane**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `apps/desktop/electron/terminal-ipc.ts`, `apps/desktop/electron/terminal-shell-env.test.ts`
- **#122475: fix(desktop): scrub Python activation from terminal shells**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `apps/desktop/electron/terminal-ipc.test.ts`, `apps/desktop/electron/terminal-ipc.ts`

## Fix status

- No merged fix on record.
- Subsystem: `apps/desktop`
