NousResearch/hermes-agent

terminal.cwd config not honored by local terminal backend

Cluster 14044 · environments · Bug. Data as of

3 open items. Fix merged in #17205 on 29 Apr 2026. Check it covers your case.

The short answer

1open issue
2open PRs
10items grouped
Known?
Yes. 10 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #17205. Check it covers your case. No release data is tracked. Fix link checked: 29 Apr 2026. This confirmation is old and may be out of date (a revert or reopen would not have invalidated it here); re-verify.
Tracker
The maintainers' tracker marks this partially resolved, deciding PR #17205. That is separate from the fix event.

Most members concern the terminal.cwd setting being ignored or overridden in the CLI, local terminal backend, or TUI gateway, including two bug reports and several proposed fixes. One member touches a related case involving login profile scripts and the working directory. Resolution status is not stated here.

Open issues1

  • Issue#42961terminal.cwd config ignored for local backend — process cwd always used instead

Open PRs2

  • PR#42984fix(cli): respect explicit terminal.cwd for local backend
  • PR#43075fix(cli): respect explicit terminal.cwd path for local backend

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #17205 fix(terminal): restore configured cwd after login profile scripts (salvage #14796)

    merged to main

    files: tests/tools/test_init_session_cwd_respect.py, tools/environments/base.py

5 PRs closed without merging

From the close comments: done elsewhere 4 · other 1

  • #14079 fix(cli): bridge terminal.cwd config to TERMINAL_CWD in TUI gateway · other → #14044, #12983, #10226, #12689, #10225, #7663
  • #14136 fix(cli): respect terminal.cwd in chat sessions · done elsewhere → ac855bb, 4c13628, #17205, #14796, #14044
  • #14264 fix(terminal): use TERMINAL_CWD for local backend default_cwd · done elsewhere → ac855bb, 4c13628, #17205, #14044
  • #14796 fix(cli): respect terminal.cwd config in local terminal backend · done elsewhere → #14044, #17205, #14796
  • #59340 fix(cli): respect explicit terminal.cwd for local backend (#42961) · done elsewhere
Closed issues · 1
  • Closed#14044[Bug]: terminal.cwd is not respected by terminal tool
How this cluster was grouped
  • Link evidence (partly structural links): 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.19: 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.

For your agent

The same facts, typed.