# NousResearch/hermes-agent · Docker shared-mode session workspace path fixes

## Open now

- 1 issue, 2 PRs open on GitHub.
- #119170: Docker shared mode binds $HOME at /workspace for every session and ignores the attached workspace (host SSH keys readable in the sandbox)
- PR #119140: fix(sessions): record the launch cwd for docker CLI sessions
- PR #119173: fix(terminal): honour a session's own workspace in shared container mode

These issues and PRs concern a bug where Docker shared-container mode ignores a session's own workspace, instead binding $HOME at /workspace for every session. The changes aim to correctly resolve and mount the per-session workspace in shared mode.

## TL;DR

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

- #119170: Docker shared mode binds $HOME at /workspace for every session and ignores the attached workspace (host SSH keys readable in the sandbox)

## Prior & competing PRs

- **#119140: fix(sessions): record the launch cwd for docker CLI sessions**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#119140`, `#119139`, `#119173`, `#119170`, `#119140`, `#119173`
  - files: `run_agent.py`, `tests/agent/test_launch_cwd_for_session.py`
- **#119173: fix(terminal): honour a session's own workspace in shared container mode**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#119140`, `#119139`, `#119173`, `#119170`, `#119140`, `#119173`
  - files: `contributors/emails/elix@spark-1dab`, `tests/tools/test_docker_session_isolation.py`, `tests/tools/test_shared_container_workspace_lifecycle.py`, `tools/environments/docker.py`, `tools/terminal_tool.py`, `tools/terminal_tool_lifecycle.py`
- **#119233: fix(docker): honor session workspace in shared-mode mount resolution**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#119173`, `#119173`

## Fix status

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