File tools ignoring TERMINAL_CWD for path resolution
NousResearch/hermes-agent · cluster 12689
Data as of
Nothing open on GitHub. Fix merged in #13161. Check it covers your case.
The short answer
- Known?
- Yes. 6 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #13161. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #13161. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug where file_tools.py resolves relative paths against the process working directory instead of TERMINAL_CWD, causing file operations to escape worktree isolation in CLI -w mode. Multiple fix attempts address anchoring path resolution to the correct base directory.
Open issues0
Open PRs0
Fixes on record
-
#13161 fix(file_tools): resolve relative paths against TERMINAL_CWD for worktree isolation
files:
scripts/release.py,tests/tools/test_resolve_path.py,tools/file_tools.py
4 PRs closed without merging
From the close comments: merged via another change 2 · stale or abandoned 1 · other 1
-
#12695 fix(file_tools): resolve relative paths against TERMINAL_CWD for worktree isolation · merged via another change →
#13161 - #12721 fix(file-tools): resolve relative paths against TERMINAL_CWD · stale or abandoned
- #12808 fix(file_tools): resolve relative paths against TERMINAL_CWD for worktree isolation (#12689) · other
-
#13080 fix(file-tools): respect TERMINAL_CWD for path resolution in worktree mode · merged via another change →
#13161,#12695
Closed issues · 1
- Closed#12689[Bug]: file_tools.py ignores TERMINAL_CWD — file operations leak out of worktree isolation in CLI -w mode
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.33: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means 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 LabAt a glance
- Merged PRs
- #13161
- Closed issues
- 1
- Attempts
- 4 PRs closed without merging
- Fix link checked
- 20 Apr 2026. This confirmation is old and may be out of date (a revert or reopen would not have invalidated it here); re-verify.