# NousResearch/hermes-agent · Session API totals incorrectly include hidden rows

## Open now

- 1 issue, 2 PRs open on GitHub.
- #123612: \[Bug\]: /api/sessions and /api/profiles/sessions 'total' counts hidden sessions, so the Sessions page shows empty trailing pages
- PR #123613: fix(sessions): listing totals stop counting hidden sessions the pages never serve
- PR #123624: fix(sessions): session_count drops hidden rows so paired totals match listing

A bug where the sessions API endpoints count hidden sessions in their totals, causing mismatches with the actual listing results and producing empty trailing pages. The associated fixes adjust session_count and listing totals to exclude hidden sessions.

## TL;DR

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

- #123612: \[Bug\]: /api/sessions and /api/profiles/sessions 'total' counts hidden sessions, so the Sessions page shows empty trailing pages

## Prior & competing PRs

- **#123613: fix(sessions): listing totals stop counting hidden sessions the pages never serve**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/console_engine.py`, `hermes_cli/sessions_cmd.py`, `hermes_cli/web_routers/sessions.py`, `hermes_state_sessions.py`, `tests/hermes_cli/test_web_sessions_total_hidden.py`
- **#123624: fix(sessions): session_count drops hidden rows so paired totals match listing**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/console_engine.py`, `hermes_cli/sessions_cmd.py`, `hermes_cli/web_routers/sessions.py`, `hermes_state_sessions.py`, `tests/hermes_state/test_session_hidden.py`

## Fix status

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