NousResearch/hermes-agent

Gateway /status token tracking bug and fixes

Cluster 5960 · gateway · Feature. Data as of

1 open item. Fix attempted, not merged.

The short answer

0open issues
1open PR
8items grouped
Known?
Yes. 8 related items grouped here, 2 issues already closed.
Fix event
No fix has been merged to main. 5 PRs closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.

A regression caused the /status command to always report 0 tokens, with multiple fixes and improvements to read token totals correctly from SessionDB/SQLite and enrich status output.

Open issues0

No open issues.

Open PRs1

  • PR#8355feat(status): rich /status snapshots across CLI and gateway

5 PRs closed without merging

From the close comments: done elsewhere 4 · duplicate 1

  • #5989 fix(gateway): /status reads token totals from SessionDB · done elsewhere → 7abc9ce, #17158
  • #11088 fix(gateway): /status command always shows 0 tokens · done elsewhere → 7abc9ce, #17158
  • #12565 fix(gateway): restore /status totals and preserve callback ownership · done elsewhere → 8d7500d, 7abc9ce, #18219, #17158
  • #13820 fix(gateway): read /status token usage from SQLite · done elsewhere → 7abc9ce, #17158
  • #18207 fix(gateway): /status reads token totals from SessionDB (regression of #1465) · duplicate → #18206
Closed issues · 2
  • Closed#5960[Bug]: /status Tokens: 0 regressed — SessionStore totals drift from SessionDB/state.db
  • Closed#11087Gateway /status command always reports 0 tokens
How this cluster was grouped
  • Link evidence (partly structural links): 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.23: the share of item 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.

For your agent

The same facts, typed.