{"repo":"NousResearch/hermes-agent","public_id":"47201","display_label":"Token count not saved to session database","summary":"The token_count column for assistant messages exists in the schema but is never written to the database. These issues and fixes address persisting per-message token counts to the session state store.","subsystem":"agent","counts":{"members":3,"open_issues":2,"open_issues_distinct":2,"open_prs":0,"closed_issues":0,"merged_prs":0,"attempt_prs":1},"landed_fix":null,"resolution":{"state":"unresolved","by":null},"freshness":{"state":"never_verified","last_verified_at":null,"is_stale":false},"grouping":{"backbone":"STRUCTURAL_PARTIAL","link_density":0.4533333333333333},"fix_edges":[],"members":[{"kind":"issue","number":47201,"title":"messages.token_count column is defined but never populated (always NULL)","url":null,"state":"open"},{"kind":"issue","number":58719,"title":"Cron sessions should persist per-message token_count to state.db","url":null,"state":"open"},{"kind":"pr","number":58846,"title":"fix: persist assistant message token_count to session DB","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#47424","number":47424},{"kind":"pr","value":"#47424","number":47424}],"category":"superseded_by_pr","implication":"superseded"},"merged":false}],"trust":{"default_tier":"verified","includes_suggested":false}}