Repository navigation
Conversation
This was referenced May 11, 2026
Collaborator
|
Shipped in v0.51.42 (Release R) via stage #2049 — thanks @ai-ag2026! Live-fire verified end-to-end: hand-crafted state.db with a webui-source row + missing sidecar; Release notes: https://github.com/nesquena/hermes-webui/releases/tag/v0.51.42 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GET /api/session/recovery/auditendpoint for the recovery audit report.POST /api/session/recovery/repair-safeto run the same deterministic repairs as startup recovery and return before/after audit evidence.python -m api.session_recoverywith--repair-safefor CLI repair runs.Stack
Builds on #2036, which builds on #2035. GitHub may show the earlier commits in this PR until the base PRs land or the branch is rebased.
Safety model
.json.baksnapshots that the startup recovery path already handles.state.db.sessionsrow remain manual-review cases.409when repairable/unsafe findings remain instead of pretending everything is fine. A rare feature in software: honesty.Test Plan
python -m pytest tests/test_session_recovery_api.py tests/test_session_recovery_audit.py tests/test_metadata_save_wipe_1558.py -q -o 'addopts='python -m py_compile api/session_recovery.py api/routes.pygit diff --check