# NousResearch/hermes-agent · Session title display and resume UX fixes

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #15373: fix(cli): increase session list title display from 30 to 50 chars (#14082)

Multiple issues and PRs address truncated session titles in the /resume command, including display length limits, prefix matching, and a related security scoping concern for session endpoints.

## TL;DR

- 7 member(s): 0 open issue(s), 2 closed issue(s), 1 open PR(s), 1 merged PR(s), 3 PR(s) closed without merging.
- A fix was merged to main in PR #31710. Verify it addresses your case.
- **Recommended:** read PR #31710 (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: `partially_resolved` · deciding PR(s): `pr-31710`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): 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.26`: 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

- #14082: /resume fails on title match because display truncates titles to 30 chars
- #15537: \[Feishu\] /resume shows session titles but requires session IDs — UX mismatch

## Prior & competing PRs

- **#31710: fix(cli): show full session titles in /resume list (#14082)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `cli.py`, `tests/cli/test_cli_init.py`
  - fix hunks:
  - `cli.py`

    ```diff
    @@ -6175,7 +6175,7 @@ def _show_recent_sessions(self, *, reason: str = "history", limit: int = 10) ->
             print(f"  {'Title':<32} {'Preview':<40} {'Last Active':<13} {'ID'}")
             print(f"  {'─' * 32} {'─' * 40} {'─' * 13} {'─' * 24}")
             for session in sessions:
    -            title = (session.get("title") or "—")[:30]
    +            title = session.get("title") or "—"
                 preview = (session.get("preview") or "")[:38]
                 last_active = _relative_time(session.get("last_active"))
                 print(f"  {title:<32} {preview:<40} {last_active:<13} {session['id']}")
    ```
  - `tests/cli/test_cli_init.py`

    ```diff
    @@ -360,6 +360,34 @@ def test_resume_updates_hermes_session_id_env_and_context(self, tmp_path):
                 os.environ.pop("HERMES_SESSION_ID", None)
                 _VAR_MAP["HERMES_SESSION_ID"].set(_UNSET)
     
    +    def test_resume_list_shows_full_long_titles(self, capsys):
    +        """Long session titles render in full in the /resume table — not
    +        truncated to 30 chars (fixes #14082)."""
    +        cli = _make_cli()
    +        cli.session_id = "current"
    +        cli._session_db = MagicMock()
    +        long_title = "Salvage BytePlus Volcengine PR With Fixes"
    +        cli._session_db.list_sessions_rich.return_value = [
    +            {
    +                "id": "current",
    +                "title": "Current",
    +                "preview": "Current preview",
    +                "last_active": 0,
    +            },
    +            {
    +                "id": "20260401_201329_d85961",
    +                "title": long_title,
    +                "preview": "fix byteplus pr and resume",
    +                "last_active": 0,
    +            },
    +        ]
    +
    +        cli._handle_resume_command("/resume")
    +        output = capsys.readouterr().out
    +
    +        assert long_title in output
    +        assert "20260401_201329_d85961" in output
    +
         def test_sessions_command_no_args_lists_recent_sessions(self, capsys):
             """/sessions with no args prints the recent-sessions table (TUI parity).
     
    ```
- **#14098: fix(cli): show full titles in /resume session list**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#31710`, `#14082`
- **#14133: fix(cli): show full titles in /resume list instead of silently truncating**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#14098`
- **#14411: fix(resume): accept unique truncated title prefixes**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `6c44d537cc207628e13901ae8d3a65f2c437364f`, `#31710`, `#14082`
- **#15373: fix(cli): increase session list title display from 30 to 50 chars (#14082)**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#14098`, `#14082`, `#14133`, `#14411`
  - files: `hermes_cli/main.py`, `tests/hermes_cli/test_session_list_title_length.py`

## Fix status

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