# NousResearch/hermes-agent · Fix inflated session stats from compression children

## Open now

- Nothing open on GitHub.

The dashboard /api/sessions/stats endpoint was returning inflated total counts by including compression-continuation child sessions. These changes add an exclude_children=True filter to correct the count.

## TL;DR

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

- #54298: Dashboard /api/sessions/stats total count inflated by compression-continuation children (missing exclude_children=True)

## Prior & competing PRs

- **#133944: fix(state): chain-aware dashboard session deletes; stats exclude compression children**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/web_routers/sessions.py`, `hermes_state_sessions.py`, `tests/hermes_cli/test_web_server_sessions_compression.py`, `tests/hermes_state/test_delete_compression_chain.py`
- **#54300: fix(dashboard): exclude compression children from session stats (#54298)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`
- **#54629: fix(dashboard): exclude compression children from session stats**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#54300`

## Fix status

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