# NousResearch/hermes-agent · FTS write contention from large tool results

## Open now

- Nothing open on GitHub.

These issues and fixes address database write-lock contention and stall conditions caused by full-text search indexing of large tool results in session storage. The work focuses on bounding or limiting FTS indexing to reduce write amplification and unblock concurrent writers.

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

- #93799: SessionDB write-lock contention stalls concurrent Hermes processes (frequent WAL checkpoints + FTS trigger write amplification)

## Prior & competing PRs

- **#101720: fix(state): bound FTS indexing for large tool results (salvage #93834)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_state_common.py`, `hermes_state_schema.py`, `hermes_state_search.py`, `tests/test_fts_tool_write_bounds.py`
- **#93834: fix(sessions): prevent large tool results from stalling concurrent writers**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `57162d0cc1`, `#101720`, `#101266`

## Fix status

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