# NousResearch/hermes-agent · Fix insights undercounting mixed tool usage sources

## Open now

- Nothing open on GitHub.

These items address a bug where insights undercount tool usage when both tool_name and tool_calls data sources coexist within or across sessions. The work involves identifying and correcting the counting logic to handle mixed tool usage accurately.

## TL;DR

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

## Closed / duplicate issues

- #9814: Insights undercount tool usage when tool_name and tool_calls sources coexist

## Prior & competing PRs

- **#9896: fix(insights): count mixed tool usage across sessions**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#9990`, `#9814`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#109132: Insights count tool usage across mixed tool_name / tool_calls sessions (#9814, salvage #9896)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/insights.py`, `contributors/emails/[redacted:email]`, `tests/agent/test_insights.py`

## Fix status

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