# NousResearch/hermes-agent · Corrupt data in sessions no longer aborts exports

## Open now

- Nothing open on GitHub.

Multiple fixes make session listing, export, and related operations tolerant of corrupt rows, bad timestamps, and malformed data instead of aborting entirely. Covers database-level salvage and exporter-level timestamp handling.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 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

- #102352: \[Bug\]: corrupt message timestamp aborts whole session export (unguarded fromtimestamp in all three exporters)

## 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)
- **#102353: fix(cli): degrade corrupt export timestamps instead of aborting**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`
- **#102391: fix(cli): tolerate corrupt timestamps in session exports**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#102353`, `#102352`

## Fix status

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