NousResearch/hermes-agent

Host path cwd leaking into container env tools

Cluster 98723. Data as of

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

The short answer

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

These issues and PRs address a bug where a host machine's current working directory is incorrectly written into a live container environment, causing file tools like read_file, patch, and search_files to intermittently fail with 'File not found' errors. The fixes involve sanitizing or skipping host path cwd overrides on container backends.

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.

  • #114833 fix(tools): file tools keep working outside /workspace when terminal.cwd is a host path on the docker backend (#113894, #98723, salvage #113946, #113931)

    merged to main

    files: tests/tools/test_file_operations_edge_cases.py, tests/tools/test_file_ops_cwd_tracking.py, tests/tools/test_live_env_cwd_override_sanitize.py, tools/environments/docker.py, tools/file_operations.py, tools/file_operations_common.py, tools/file_operations_search.py, tools/terminal_tool.py, tools/terminal_tool_backends.py, website/docs/user-guide/configuration.md

3 PRs closed without merging

From the close comments: superseded by another PR 3

  • #98730 fix(tools): sanitize live-env cwd override on container backends (#98723) · superseded by another PR → 1043300, #114833, #113894, #98723, #113946, #113931
  • #98731 fix(terminal): skip live-env cwd override for host paths on container backends · superseded by another PR → 1043300, #114833, #113894, #98723, #113946, #113931
  • #98734 fix(tools): never write a host cwd onto a live container env · superseded by another PR → 1043300, #114833, #113894, #98723, #113946, #113931
Closed issues · 1
  • Closed#98723[Bug]: register_task_env_overrides writes a host cwd onto a live container env — read_file/patch/search_files intermittently report "File not found" for files that exist
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.40: 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

Merged PRs
#114833
Closed issues
1
Attempts
3 PRs closed without merging
Fix link checked
18 Sep 2026

For your agent

The same facts, typed.