NousResearch/hermes-agent

SQLite restore path escaping and safety fixes

Cluster 122209. Data as of

Nothing open on GitHub. Fix merged in #124066 on 26 Sep 2026. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #124066. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #124066. That is separate from the fix event.
Still open
Nothing open on GitHub.

These items address bugs where special characters (# and percent signs) in file paths could cause SQLite restore operations to misinterpret the source, potentially overwriting a healthy database. Fixes involve properly escaping or percent-encoding paths in SQLite URIs and adding guards against restoring from corrupt or misidentified sources.

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.

  • #124066 fix(backup): restore never replaces a healthy database with a corrupt or #-path source

    merged to main

    files: hermes_cli/backup.py, hermes_cli/backup_restore.py, tests/hermes_cli/test_restore_source_integrity.py

2 PRs closed without merging

From the close comments: done elsewhere 2

  • #122215 fix(backup): escape SQLite restore source paths · done elsewhere → 36cbf4c, #124066
  • #122692 fix(backup): percent-encode paths in SQLite read-only URIs (#122209) · done elsewhere → 36cbf4c, #124066
Closed issues · 1
  • Closed#122209SQLite restore misinterprets # and percent escapes in paths and can erase the live database
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.50: 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
#124066
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
26 Sep 2026

For your agent

The same facts, typed.