# NousResearch/hermes-agent · Docker/remote backend receives host paths instead of container paths

## Open now

- 0 issues, 2 PRs open on GitHub.
- PR #49753: fix(terminal): detect all Windows drive letters in host paths (#49703)
- PR #60977: fix(docker): sanitize non-C Windows drive cwd

Multiple bugs and proposed fixes around host-side paths (Windows drive letters, symlinks, macOS paths) incorrectly reaching Docker or SSH remote backends as working directories or file tool arguments. Members cover detection, sanitization, and path-preservation approaches across Windows, macOS, and WSL2 environments.

## TL;DR

- 9 member(s): 0 open issue(s), 4 closed issue(s), 2 open PR(s), 0 merged PR(s), 3 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_PARTIAL`): 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.18`: 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.

## Closed / duplicate issues

- #39143: Windows: Docker backend  fails with 'invalid working directory' on Docker Desktop WSL2; Desktop App also fails with 
- #48137: \[Windows\] Docker terminal backend: -w gets raw Windows path (exit 125), and docker_mount_cwd_to_workspace exposes entire home dir
- #49703: Docker backend fails on Windows: host path injected as container working directory
- #60962: docker terminal backend: _HOST_CWD_PREFIXES only recognizes C:\\, other Windows drive letters leak to \`docker run -w\` (exit 125)

## Prior & competing PRs

- **#61053: fix(docker): reject Windows drive cwd overrides**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#60977`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#48157: fix(docker): normalize Windows drive-letter paths for \`-w\` flag (#48137)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#48168`
- **#48168: fix(docker): prevent Windows drive-letter paths reaching \`\`docker run -w\`\`**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`
- **#49753: fix(terminal): detect all Windows drive letters in host paths (#49703)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `tests/tools/test_modal_sandbox_fixes.py`, `tools/terminal_tool.py`
- **#60977: fix(docker): sanitize non-C Windows drive cwd**. open
  - maintainer direction: category `merged_via`; implication `superseded`; refs `d4a743c4b`
  - files: `tests/tools/test_container_cwd_sanitize.py`, `tools/terminal_tool.py`

## Fix status

- No merged fix on record.
- Subsystem: `environments`
