# NousResearch/hermes-agent · Analytics dashboard multi-profile scoping and aggregation

## Open now

- 0 issues, 3 PRs open on GitHub.
- PR #21773: fix(dashboard): aggregate analytics across Hermes profiles
- PR #40128: feat: add workflow intelligence to insights
- PR #45152: fix(analytics): show estimated cost + pin per-profile scoping with tests

These issues and PRs concern how the analytics dashboard handles multiple profiles, including whether data is scoped to a single active profile, aggregated across all profiles, or filterable by profile via query parameter. Work involves both bug reports and fixes around session counting, cost estimation, and profile-scoped queries.

## TL;DR

- 5 member(s): 0 open issue(s), 2 closed issue(s), 3 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_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.34`: 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

- #21705: Analytics dashboard only counts sessions from the active profile, undercounting total token usage for multi-profile users
- #45148: \[Bug\]: /analytics?profile=custom doesn't work or if it is global it doesn't show sum of all profiles

## Prior & competing PRs

- **#21773: fix(dashboard): aggregate analytics across Hermes profiles**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/web_server.py`, `tests/hermes_cli/test_web_server.py`
- **#40128: feat: add workflow intelligence to insights**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#40128`, `#45239`, `#45148`
  - files: `agent/insights.py`, `cli.py`, `gateway/run.py`, `hermes_cli/main.py`, `tests/agent/test_insights.py`, `tests/cli/test_cli_insights_command.py`
- **#45152: fix(analytics): show estimated cost + pin per-profile scoping with tests**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `62b4618e9`, `#45148`
  - files: `tests/hermes_cli/test_web_server_profile_unification.py`, `web/src/pages/AnalyticsPage.tsx`

## Fix status

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