# NousResearch/hermes-agent · Classic CLI --api-key sessions after gateway restart

## Open now

- Nothing open on GitHub.

These members concern classic CLI sessions started with --api-key, which reportedly have a first-turn problem after a gateway restart. Two pull requests propose having the CLI re-supply its launch key when resuming a session; their outcome is not stated in the titles.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #141481. Verify it addresses your case.
- **Recommended:** read PR #141481 (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: `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.

## Closed / duplicate issues

- #140347: Classic CLI sessions started with --api-key fail their first turn after a gateway restart

## Prior & competing PRs

- **#141481: fix(cli): classic CLI re-supplies its launch key on resume after a gateway restart (CLI-34)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/cli_init_mixin.py`, `hermes_cli/gateway_chat.py`, `hermes_cli/gateway_client.py`, `hermes_cli/gateway_connection.py`, `hermes_cli/gateway_session_store.py`, `tests/hermes_cli/test_gateway_connection_reconnect.py`, `tests/hermes_cli/test_gateway_resume_launch_key.py`, `tests/hermes_cli/test_resume_compressed_gateway_id.py`
- **#140348: fix(cli): re-supply the launch key when the classic CLI resumes a session**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `7209c7accf`, `#141481`

## Fix status

- Merged to main in PR #141481 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-19`.
- Subsystem: `hermes_cli`
