# NousResearch/hermes-agent · Fix /branch command routing in desktop session tiles

## Open now

- 1 issue, 3 PRs open on GitHub.
- #73207: \[Bug\]: Desktop /branch in a session tile branches the foreground chat
- PR #73236: fix(desktop): route /branch from tile to the tile's session, not the foreground chat
- PR #73251: fix(desktop): branch tiled slash commands from their own session
- PR #128551: fix(desktop): branch a tile's slash /branch from the tile's own session

A bug where the /branch slash command in a session tile incorrectly targets the foreground chat instead of the tile's own session. The members cover the bug report and related fixes to correct this routing behavior.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 3 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. 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.67`: 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.

## Open related issues

- #73207: \[Bug\]: Desktop /branch in a session tile branches the foreground chat

## Prior & competing PRs

- **#73236: fix(desktop): route /branch from tile to the tile's session, not the foreground chat**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#73251`, `#73251`, `#73251`, `#73251`
  - files: `apps/desktop/src/app/contrib/wiring.tsx`, `apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx`, `apps/desktop/src/app/session/hooks/use-prompt-actions/index.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/slash.ts`
- **#73251: fix(desktop): branch tiled slash commands from their own session**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#73207`, `#73236`
  - files: `apps/desktop/src/app/contrib/wiring.tsx`, `apps/desktop/src/app/gateway/hooks/use-gateway-boot.test.tsx`, `apps/desktop/src/app/gateway/hooks/use-gateway-request.ts`, `apps/desktop/src/app/session/hooks/profile-rail-fresh-chat-owner.test.tsx`, `apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx`, `apps/desktop/src/app/session/hooks/use-prompt-actions/index.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/slash.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/app/session/hooks/use-session-actions/remove-archived-session.test.tsx`, `apps/desktop/src/app/session/hooks/use-session-actions/utils.test.ts`, `apps/desktop/src/app/session/hooks/use-session-actions/utils.ts`, `apps/desktop/src/lib/json-rpc-gateway-recovery.test.ts`, `apps/desktop/src/lib/json-rpc-gateway-url-guard.test.ts`, `apps/desktop/src/store/gateway-activation-prune-lease.test.ts`, `apps/desktop/src/store/gateway.ts`, `apps/desktop/src/store/session-states.ts`, `apps/desktop/src/store/session.ts`, `apps/shared/src/json-rpc-gateway.ts`
- **#128551: fix(desktop): branch a tile's slash /branch from the tile's own session**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#73236`
  - files: `apps/desktop/src/app/contrib/wiring.tsx`, `apps/desktop/src/app/gateway/hooks/use-gateway-boot.test.tsx`, `apps/desktop/src/app/gateway/hooks/use-gateway-request.ts`, `apps/desktop/src/app/session/hooks/profile-rail-fresh-chat-owner.test.tsx`, `apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx`, `apps/desktop/src/app/session/hooks/use-prompt-actions/index.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/slash.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/app/session/hooks/use-session-actions/remove-archived-session.test.tsx`, `apps/desktop/src/app/session/hooks/use-session-actions/utils.test.ts`, `apps/desktop/src/app/session/hooks/use-session-actions/utils.ts`, `apps/desktop/src/lib/json-rpc-gateway-recovery.test.ts`, `apps/desktop/src/lib/json-rpc-gateway-url-guard.test.ts`, `apps/desktop/src/store/gateway-activation-prune-lease.test.ts`, `apps/desktop/src/store/gateway.ts`, `apps/desktop/src/store/session-states.ts`, `apps/desktop/src/store/session.ts`, `apps/shared/src/json-rpc-gateway.ts`

## Fix status

- No merged fix on record.
- Subsystem: `apps/desktop`
