# NousResearch/hermes-agent · FTS corruption detection gaps in health probe

## Open now

- 0 issues, 2 PRs open on GitHub.
- PR #100239: fix(state): catch segment-dependent FTS corruption in the health probe
- PR #100244: fix(state): commit FTS health probe so trigram idx collisions are visible

These issues and fixes address cases where segment-dependent or content-dependent FTS trigram index corruption goes undetected by the health probe and repair tooling. The work focuses on improving the probe's ability to surface these corruption scenarios rather than silently missing them.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 2 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. 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.50`: 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

- #100227: \[Bug\]: _db_opens_cleanly / hermes doctor miss segment-dependent FTS trigram corruption; sessions repair says 'no repair needed' while every message write fails

## Prior & competing PRs

- **#100239: fix(state): catch segment-dependent FTS corruption in the health probe**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_state.py`, `tests/test_state_db_malformed_repair.py`
- **#100244: fix(state): commit FTS health probe so trigram idx collisions are visible**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_state.py`, `tests/test_state_db_malformed_repair.py`
- **#100263: fix(state): detect content-dependent FTS index corruption in the health probe**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#100239`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
