# NousResearch/hermes-agent · Corrupt session data no longer crashes session listing

## Open now

- Nothing open on GitHub.

A single malformed row in the session database (bad timestamp, invalid JSON, or oversized query) previously caused the entire sessions list and related features to fail. These changes make session listing and related operations tolerant of corrupt individual rows.

## 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 #108086. Verify it addresses your case.
- **Recommended:** read PR #108086 (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-108086`. 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

- #102399: \[Bug\]: sessions list/browse dies with TypeError on a TEXT timestamp — one corrupt row kills the whole listing

## Prior & competing PRs

- **#108086: state.db: one corrupt row (bad timestamp / malformed marker JSON / oversized IN-list) no longer kills sessions list, export, insights or prune (#102399 #102352 #99959 #94691 #106060; salvage #106071 #101726 #94701 #102679 #100658)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/insights.py`, `hermes_cli/cli_session_mixin.py`, `hermes_cli/session_export.py`, `hermes_cli/session_export_html.py`, `hermes_cli/session_export_md.py`, `hermes_cli/session_filters.py`, `hermes_cli/sessions_cmd.py`, `hermes_cli/sessions_cmd_browse.py`, `hermes_cli/timefmt.py`, `hermes_state_common.py`, `hermes_state_compression.py`, `hermes_state_gateway.py`, `hermes_state_maintenance.py`, `hermes_state_messages.py`, `hermes_state_portability.py`, `hermes_state_schema.py`, `hermes_state_sessions.py`, `tests/hermes_state/test_corrupt_row_robustness.py`, `tests/test_hermes_state.py`, `tests/test_session_export_batch.py` (+2 more)
- **#102400: fix(cli): render corrupt timestamps as unknown instead of crashing sessions list**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`

## Fix status

- Merged to main in PR #108086 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-11`.
