# NousResearch/hermes-agent · Dashboard analytics performance and indexing improvements

## Open now

- Nothing open on GitHub.

These items address slowdowns in the dashboard analytics tab on larger databases, involving skipping full InsightsEngine processing on the usage API endpoint and adding indexes to assistant tool-call rows to speed up Insights queries.

## TL;DR

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

- #18511: Dashboard analytics tab blocks for seconds on larger session DBs
- #67341: perf(state): index assistant tool-call rows for Insights queries

## Prior & competing PRs

- **#77627: perf(insights): partial index for assistant tool-call scans + read-only fallback (salvage #67350)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/insights.py`, `hermes_state_common.py`, `tests/agent/test_insights.py`, `tests/test_hermes_state.py`
- **#77689: perf(dashboard): focused usage breakdown instead of full InsightsEngine (#38941 salvage)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/insights.py`, `hermes_cli/web_server.py`, `tests/agent/test_insights.py`, `tests/hermes_cli/test_web_server.py`
- **#18642: perf(analytics): skip full InsightsEngine on dashboard /api/analytics/usage (#18511)**. closed without merge
  - maintainer direction: category `volume_quota`; implication `active`
- **#38941: perf(dashboard): skip full InsightsEngine on /api/analytics/usage (#18511)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#77689`
- **#67350: perf(state): index assistant tool-call rows for Insights queries (#67341)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#77627`, `#77627`

## Fix status

- Merged to main in PR #77627 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-03`.
- Subsystem: `agent`
