NousResearch/hermes-agent

Trigram FTS index bloat and opt-out controls

Cluster 22478 · agent. Data as of

1 open item. Fix merged in #65798 on 22 Jul 2026. Check it covers your case.

The short answer

0open issues
1open PR
6items grouped
Known?
Yes. 6 related items grouped here, 2 issues already closed.
Fix event
A fix was merged to main in PR #65798. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #65798. That is separate from the fix event.
Still open
0 issues and 1 PR.

These items address excessive state.db size caused by trigram full-text search indexes, and introduce various config flags, environment variables, and storage layout changes to allow disabling or reducing those indexes.

Open issues0

No open issues.

Open PRs1

  • PR#68394feat(state): add sessions.trigram_fts config flag to disable the trigram FTS index

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #65798 perf(state): compact v23 FTS layout — external-content indexes, tool-row-free trigram, opt-in `hermes sessions optimize-storage`

    merged to main

    files: .github/actions/detect-changes/action.yml, .github/actions/get-app-token/action.yml, .github/workflows/ci.yml, .github/workflows/contributor-check.yml, .github/workflows/deploy-site.yml, .github/workflows/e2e-desktop.yml, .github/workflows/history-check.yml, .github/workflows/js-autofix.yml, .github/workflows/label-rerun.yml, .github/workflows/lint.yml, .github/workflows/lockfile-diff.yml, .github/workflows/osv-scanner.yml, .github/workflows/review-labels.yml, .github/workflows/skills-index-freshness.yml, .github/workflows/skills-index.yml, .github/workflows/supply-chain-audit.yml, .github/workflows/upload_to_pypi.yml, .github/workflows/uv-lockfile-check.yml, .gitignore, Dockerfile (+1196 more)

2 PRs closed without merging

From the close comments: closed without comment 1 · other 1

  • #42190 fix(state): honour HERMES_DISABLE_FTS_TRIGRAM to skip CJK index · other → e2e0a86, #22478
  • #68089 feat(state): add config.yaml flag to disable trigram FTS index · closed without comment
Closed issues · 2
  • Closed#22478state.db FTS trigram index bloat: 70% of DB size is full-text indexes
  • Closed#55233Add config flag to disable trigram FTS index (prevent state.db bloat)
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.36: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
agent
Merged PRs
#65798
Closed issues
2
Attempts
2 PRs closed without merging
Fix link checked
22 Jul 2026

For your agent

The same facts, typed.