Windows state.db holder detection fix

NousResearch/hermes-agent · cluster 120205

Data as of

Nothing open on GitHub. Fix merged in #121423. Check it covers your case.

The short answer

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

A bug where foreign_state_db_holders() silently returns an empty list on Windows, causing maintenance preflight checks to be skipped. Multiple fix approaches are explored, including psutil scanning and Restart Manager integration.

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.

  • #121423 fix(state): detect Windows state.db holders before maintenance

    merged to main

    files: contributors/emails/[redacted:email], hermes_cli/doctor_platform.py, hermes_cli/sessions_cmd_journal_mode.py, hermes_cli/subcommands/sessions.py, hermes_state_holders.py, tests/e2e/core/windows/test_state_db_guard.py, tests/hermes_cli/test_doctor_journal_modes.py, tests/hermes_cli/test_sessions_set_journal_mode.py, tests/hermes_state/test_state_db_holders.py, tests/hermes_state/test_state_db_holders_windows_live.py, website/docs/user-guide/sessions.md

4 PRs closed without merging

From the close comments: superseded by another PR 4

  • #120235 fix(state): scan Windows state.db holders instead of assuming none · superseded by another PR → a8a549e, #121423, #120205, #120241
  • #120241 fix(state): guard Windows maintenance with Restart Manager · superseded by another PR → b006ae2, 8d57bfc, #120205, #120235, #120241, #120244
  • #120244 fix(state): scan Windows for state.db holders through psutil · superseded by another PR → a8a549e, #121423, #120205
  • #120292 fix(state): enumerate state.db holders on Windows via psutil scan · superseded by another PR → a8a549e, #121423, #120205
Closed issues · 1
  • Closed#120205Windows: foreign_state_db_holders() returns [] so the state.db write-guard / optimize-storage preflight is a silent no-op
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.40: 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
#121423
Closed issues
1
Attempts
4 PRs closed without merging
Fix link checked
24 Sep 2026

For your agent

The same facts, typed.