NousResearch/hermes-agent

WAL split-brain and sidecar corruption in state.db

Cluster 104596. Data as of

Nothing open on GitHub. Fix merged in #110544 on 14 Sep 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 #110544. 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 WAL split-brain conditions in state.db, where journal-mode probes, sibling connection teardown, or stray lock cancellations corrupt or unlink WAL/SHM sidecar files. Coverage spans single-process scenarios, hosted-room TUI gateway cases, and cross-runtime survivability.

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

1 PR closed without merging

From the close comments: superseded by another PR 1

  • #104632 fix(tui-gateway): prevent hosted-room WAL sidecar split-brain · superseded by another PR → 3e43cee, #110544
Closed issues · 1
  • Closed#104596state.db WAL split-brain inside a SINGLE process: apply_wal_with_fallback runs the set-pragma when the journal-mode probe fails (unlinks sibling connections -wal/-shm)
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

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

For your agent

The same facts, typed.