# NousResearch/hermes-agent · TUI startup race condition with resume command

## Open now

- 1 issue, 1 PR open on GitHub.
- #121456: TUI: /resume typed while the TUI is still starting is undone by the startup session
- PR #121466: fix(tui): preserve early resume across startup creation

These issues and pull requests address a race condition where a /resume command entered during TUI startup is overwritten or lost when the initial startup session is created. Multiple fix attempts approach preserving the early resume intent through the startup sequence.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 1 open PR(s), 0 merged PR(s), 1 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

- #121456: TUI: /resume typed while the TUI is still starting is undone by the startup session

## Prior & competing PRs

- **#121461: fix(tui): preserve explicit resume during startup**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#121456`, `#126956`
- **#121466: fix(tui): preserve early resume across startup creation**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `ui-tui/src/__tests__/createGatewayEventHandler.test.ts`, `ui-tui/src/__tests__/useSessionLifecycleStoredSid.test.ts`, `ui-tui/src/app/createGatewayEventHandler.ts`, `ui-tui/src/app/interfaces.ts`, `ui-tui/src/app/useMainApp.ts`, `ui-tui/src/app/useSessionLifecycle.ts`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
