NousResearch/hermes-agent

state.db WAL locking and read-only access fixes

Cluster 109946. Data as of

Nothing open on GitHub. Fix merged in #110718 on 14 Sep 2026. Check it covers your case.

The short answer

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

These items address improper write access and WAL file lifecycle issues when reading state.db, including fixes to ensure read paths open the database read-only and sidebar profile reads are properly scoped to avoid stray lock or WAL generation.

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.

  • #110544 state.db WAL survives sibling closes and stray lock cancellation on every runtime (Desktop chat dies after update; salvage #109758)

    merged to main

    files: hermes_state.py, hermes_state_dbfile.py, hermes_state_lockguard.py, tests/hermes_state/test_deleted_wal_generation_guard.py, tests/hermes_state/test_wal_lock_guard.py

  • #110718 fix(state): read paths open state.db read-only instead of taking a writer

    merged to main

    files: contributors/emails/[email protected], contributors/emails/[email protected], hermes_cli/cli_info_mixin.py, hermes_cli/main_agent_cmds.py, tests/hermes_cli/test_cli_insights_command.py, tests/tui_gateway/test_profile_db_readonly.py, tests/tui_gateway/test_tui_gateway_server.py, tui_gateway/methods_projects.py, tui_gateway/methods_session.py, tui_gateway/methods_session_foreign.py, tui_gateway/server.py

1 PR closed without merging

From the close comments: done elsewhere 1

  • #110088 fix(dashboard): scope desktop sidebar profile reads · done elsewhere → de626c5, 75e155a, 274fd56, a30ccdb, 9d75f20, 5b68d22, #109946, #110544, #110718
Closed issues · 1
  • Closed#109946Desktop/dashboard all-profile sidebar can trigger deleted WAL generation in live profile gateways
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.50: 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

Merged PRs
#110544, #110718
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
14 Sep 2026

For your agent

The same facts, typed.