Non-destructive state.db repair safety fixes
NousResearch/hermes-agent · cluster 93064 · hermes cli/data
Data as of
Nothing open on GitHub. Fix merged in #93353. Check it covers your case.
The short answer
- Known?
- Yes. 6 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #93353. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #93353. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A cluster of bugs and fixes addressing how automatic repair of state.db handles errors, ensuring canonical data is not destroyed during or after an unsuccessful repair attempt. Multiple incremental fixes refine the repair boundary and retry behavior.
Open issues0
Open PRs0
Fixes on record
-
#93353 fix(state): failed state.db repair no longer destroys canonical data; gateway retries failed SessionDB opens (#93064, #93088)
files:
gateway/readiness.py,gateway/run.py,gateway/session.py,gateway/session_db_recovery.py,gateway/status.py,hermes_state.py,tests/gateway/test_readiness.py,tests/gateway/test_session_db_recovery.py,tests/test_state_db_repair_non_destructive.py,tests/test_state_db_write_durability.py
4 PRs closed without merging
From the close comments: done elsewhere 1 · superseded by another PR 1 · other 2
-
#87409 fix(state): a failed schema repair must not destroy the database · superseded by another PR →
#93353,#93268 -
#93260 fix(state): complete non-destructive repair boundary · other →
#87409 -
#93268 fix(state): make automatic repair non-destructive · other →
650cf33,53390e2,#87409,#93268 -
#93275 fix(state): repair malformed databases on isolated candidates · done elsewhere →
#93353,#93268
Closed issues · 1
- Closed#93064[Bug]: state.db automatic repair can destroy canonical data before proving recovery
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.33: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means 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 LabAt a glance
- Subsystem
- hermes cli/data
- Merged PRs
- #93353
- Closed issues
- 1
- Attempts
- 4 PRs closed without merging
- Fix link checked
- 24 Aug 2026