NousResearch/hermes-agent

FTS rebuild corrupting shared state.db SQLite WAL

Cluster 90806 · agent. Data as of

Nothing open on GitHub. Fix merged in #91839 on 21 Aug 2026. Check it covers your case.

The short answer

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

These members address a bug where live full-text-search rebuilds corrupt the shared state.db, including a related issue with WAL sidecar files being replaced under live holders with SQLite 3.53.1.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

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

  • #91839 fix(state): stop live FTS rebuilds from corrupting shared state.db

    merged to main

    files: gateway/session.py, hermes_state.py, hermes_state_schema.py, tests/state/test_fts_runtime_rebuild.py

1 PR closed without merging

From the close comments: done elsewhere 1

  • #90871 fix(state): stop live FTS rebuilds from corrupting shared state.db · done elsewhere → #91839
Closed issues · 1
  • Closed#90806state.db WAL sidecars replaced under live holders during FTS-corruption handling — recurring structural corruption with SQLite 3.53.1
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.67: 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
#91839
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
21 Aug 2026

For your agent

The same facts, typed.