Desktop composer draft leaking across sessions
NousResearch/hermes-agent · cluster 58251 · apps/desktop
Data as of
Nothing open on GitHub. Fix merged in #128476. Check it covers your case.
The short answer
- Known?
- Yes. 11 related items grouped here, 7 issues already closed.
- Fix event
- A fix was merged to main in PR #128476. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
Multiple bug reports and fix attempts addressing a desktop composer issue where draft text, attachments, or input persists incorrectly between different chat sessions. Several fixes have been proposed targeting draft key scoping and session lifecycle decoupling.
Open issues0
Open PRs0
Fixes on record
-
#128476 fix(desktop): give every new chat its own draft key instead of a shared __new__ bucket
files:
apps/desktop/src/app/chat/composer/hooks/use-composer-draft.test.tsx,apps/desktop/src/app/chat/composer/hooks/use-composer-draft.ts,apps/desktop/src/app/chat/composer/index.tsx,apps/desktop/src/app/chat/composer/types.ts,apps/desktop/src/app/chat/index.tsx,apps/desktop/src/app/session/hooks/use-route-resume.test.tsx,apps/desktop/src/app/session/hooks/use-route-resume.ts,apps/desktop/src/app/session/hooks/use-session-actions.test.tsx,apps/desktop/src/app/session/hooks/use-session-actions/index.ts,apps/desktop/src/sdk/composer.ts,apps/desktop/src/store/composer.test.ts,apps/desktop/src/store/composer.ts,apps/desktop/src/store/session.test.ts,apps/desktop/src/store/session.ts
3 PRs closed without merging
From the close comments: done elsewhere 1 · superseded by another PR 1 · other 1
-
#58257 fix(desktop): persist removed composer attachments · other →
9998ff4,#58251,#61191 -
#62586 fix(desktop): prevent composer draft leak on new session · superseded by another PR →
#128476 -
#68423 fix(desktop): stop removed composer attachments resurrecting on session switch · done elsewhere →
d083d9d,#68417
Closed issues · 7
- Closed#58251Desktop: removed composer attachments resurrect on session switch
- Closed#61191[Bug] Desktop Composer persists stale URL/file attachments across conversations (localStorage draft cache)
- Closed#62490Desktop: Composer draft leaks across new sessions + first Enter ignored after #54527 fix
- Closed#63025Desktop: New session pre-fills previous prompt text that must be manually deleted before typing
- Closed#63054bug(desktop): new-session composer prefilled with another session's first input (draft cross-session leak)
- Closed#66662[desktop] New sessions share __new__ draft key causing draft bleed between unsaved chats
- Closed#68417bug(desktop): removing composer attachments still resurrects them after session switch (regression)
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.12: 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
- Subsystem
- apps/desktop
- Merged PRs
- #128476
- Closed issues
- 7
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 29 Sep 2026