NousResearch/hermes-agent

SQLite journal mode ownership in delegation

Cluster 92996. Data as of

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

These items concern a bug where async delegation opens new SQLite connections and incorrectly reapplies or changes the journal mode (WAL), potentially causing FTS5-trigram corruption. The work focuses on ensuring only one owner controls the state.db journal mode setting.

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.

  • #96617 state.db journal mode has one owner: repair re-applies it, delegation guests stop flipping it (salvage #89681, #93012)

    merged to main

    files: hermes_state.py, tests/test_guest_durability_barriers.py, tests/test_state_db_malformed_repair.py, tests/tools/test_async_delegation.py, tools/async_delegation.py

1 PR closed without merging

From the close comments: merged via another change 1

  • #93012 fix(delegation): preserve state database journal mode · merged via another change → #96617, #90892, #92996
Closed issues · 1
  • Closed#92996state.db FTS5-trigram corruption on SQLite 3.53.1 (desktop): async_delegation opens a fresh connection running PRAGMA journal_mode=WAL under provider failure + in-flight model switch
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
#96617
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
27 Aug 2026

For your agent

The same facts, typed.