# NousResearch/hermes-agent · Desktop preview tabs leaking context across sessions

## Open now

- Nothing open on GitHub.

A bug where desktop preview/artifact tabs share or leak context across different projects or sessions. Multiple fix attempts and re-lands are targeting scoping of preview tabs to their originating session.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 2 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #128552. Verify it addresses your case.
- **Recommended:** read PR #128552 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-128552`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member 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.

## Closed / duplicate issues

- #73890: \[Bug\]: Desktop right-side Artifacts and Preview leak context across Projects

## Prior & competing PRs

- **#128552: fix(desktop): scope preview tabs to the session that opened them**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `apps/desktop/src/app/chat/close-tab.test.ts`, `apps/desktop/src/app/chat/preview-tile.test.ts`, `apps/desktop/src/app/chat/preview-tile.tsx`, `apps/desktop/src/app/model-picker-overlay.test.tsx`, `apps/desktop/src/app/session/hooks/use-session-actions/index.ts`, `apps/desktop/src/app/shell/hooks/use-statusbar-items.test.tsx`, `apps/desktop/src/i18n/ar_artifacts.ts`, `apps/desktop/src/i18n/en.ts`, `apps/desktop/src/i18n/ja.ts`, `apps/desktop/src/i18n/types.ts`, `apps/desktop/src/i18n/zh-hant_artifacts.ts`, `apps/desktop/src/i18n/zh.ts`, `apps/desktop/src/sdk/open-session-refresh-in-place.test.ts`, `apps/desktop/src/sdk/profile-routing.test.ts`, `apps/desktop/src/store/preview.test.ts`, `apps/desktop/src/store/preview.ts`, `apps/desktop/src/store/session-focus.ts`, `apps/desktop/src/store/session-states.ts`, `locales/_keys.desktop.json`
- **#130996: fix(desktop): scope preview tabs to the session that opened them (re-land #128552)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `apps/desktop/electron/main.ts`, `apps/desktop/electron/preload.ts`, `apps/desktop/electron/preview-guest-offscreen.test.ts`, `apps/desktop/electron/preview-guest-offscreen.ts`, `apps/desktop/src/app/chat/index.tsx`, `apps/desktop/src/app/chat/pane-mirror.ts`, `apps/desktop/src/app/chat/preview-tab-pin-menu.test.tsx`, `apps/desktop/src/app/chat/preview-tile-live-body.test.tsx`, `apps/desktop/src/app/chat/preview-tile.test.ts`, `apps/desktop/src/app/chat/preview-tile.tsx`, `apps/desktop/src/app/chat/right-rail/preview-act.ts`, `apps/desktop/src/app/chat/right-rail/preview-active-tab.ts`, `apps/desktop/src/app/chat/right-rail/preview-guest-offscreen.ts`, `apps/desktop/src/app/chat/right-rail/preview-input.ts`, `apps/desktop/src/app/chat/right-rail/preview-mind.ts`, `apps/desktop/src/app/chat/right-rail/preview-nav.ts`, `apps/desktop/src/app/chat/right-rail/preview-nudge.ts`, `apps/desktop/src/app/chat/right-rail/preview-pane.test.tsx`, `apps/desktop/src/app/chat/right-rail/preview-pane.tsx`, `apps/desktop/src/app/chat/right-rail/preview-popout-bridge.test.ts` (+48 more)
- **#130910: fix(desktop): scope preview tabs to the session that opened them (re-land)**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#128552`, `#130852`
- **#131005: fix(desktop): keep preview tabs in the session that opened them**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `4097709b0c`, `#130996`, `#128552`, `#130996`

## Fix status

- Merged to main in PR #128552 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-02`.
- Subsystem: `apps/desktop`
