NousResearch/hermes-agent

macOS state.db btree corruption and synchronous=FULL setting

Cluster 63531. Data as of

Nothing open on GitHub. Fix merged in #64355 on 14 Jul 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 #64355. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #64355. That is separate from the fix event.
Still open
Nothing open on GitHub.

These items center on reported daily btree corruption in state.db on macOS, linked to synchronous=NORMAL, WAL checkpoint timing, and SIGTERM. Two pull requests with the same title propose enforcing synchronous=FULL on macOS; the titles alone don't show whether this has been merged or whether it fixes the problem.

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.

  • #64355 fix(state): enforce synchronous=FULL on macOS to prevent btree corruption

    merged to main

    files: hermes_state.py, tests/test_hermes_state.py

1 PR closed without merging

From the close comments: merged via another change 1

  • #63550 fix(state): enforce synchronous=FULL on macOS to prevent btree corruption · merged via another change → #64355
Closed issues · 1
  • Closed#63531[Bug] state.db daily btree corruption on macOS — synchronous=NORMAL + WAL checkpoint races SIGTERM
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
#64355
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
14 Jul 2026

For your agent

The same facts, typed.