Desktop new sessions losing project working directory

NousResearch/hermes-agent · cluster 65274 · apps/desktop

Data as of

Nothing open on GitHub. Fix merged in #81956. Check it covers your case.

The short answer

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

These issues and fixes concern a bug where new chat sessions on the desktop app fail to inherit or preserve the intended project directory, instead falling back to a default or home directory. Multiple related fixes address this across different scenarios including Windows and config refresh cases.

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.

  • #81956 fix(desktop): a new chat stops landing in the project you were just in

    merged to main

    files: apps/desktop/src/app/gateway/hooks/use-gateway-boot.test.tsx, apps/desktop/src/app/gateway/hooks/use-gateway-boot.ts, apps/desktop/src/app/right-sidebar/files/ipc.ts, apps/desktop/src/app/session/hooks/use-message-stream/gateway-event.ts, apps/desktop/src/app/session/hooks/use-session-actions/index.ts, apps/desktop/src/app/session/hooks/use-session-actions/utils.ts, apps/desktop/src/lib/path-compare.test.ts, apps/desktop/src/lib/path-compare.ts, apps/desktop/src/store/projects.test.ts, apps/desktop/src/store/projects.ts, apps/desktop/src/store/session.test.ts, apps/desktop/src/store/session.ts

2 PRs closed without merging

From the close comments: merged via another change 1 · stale or abandoned 1

  • #66517 fix(desktop): preserve project cwd on fresh-draft config refresh · stale or abandoned → #66546, #66524, #66523
  • #66898 fix(desktop): new session inherits active project cwd when not entered (#66686) · merged via another change
Closed issues · 3
  • Closed#65274[Bug]: Desktop project-scoped fresh sessions fall back to home cwd on Windows
  • Closed#66677feat(desktop): auto-bind new session to active Project workspace
  • Closed#66686[Bug]: new session no longer auto-binds to the active Project's workspace (regression after Jul 18 update)
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.25: 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

Subsystem
apps/desktop
Merged PRs
#81956
Closed issues
3
Attempts
2 PRs closed without merging
Fix link checked
8 Aug 2026

For your agent

The same facts, typed.