{"repo":"NousResearch/hermes-agent","public_id":"122209","display_label":"SQLite restore path escaping and safety fixes","summary":"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.","subsystem":null,"counts":{"members":4,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":2},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":124066,"merged_at":"2026-09-26T16:08:29+00:00"},"resolution":{"state":"resolved","by":"pr-124066"},"freshness":{"state":"verified","last_verified_at":"2026-09-26T16:08:29+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.5},"fix_edges":[{"issue_number":122209,"pr_number":124066,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-26T16:08:29+00:00"},{"issue_number":122868,"pr_number":124066,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-09-26T16:08:29+00:00"}],"members":[{"kind":"issue","number":122209,"title":"SQLite restore misinterprets # and percent escapes in paths and can erase the live database","url":null,"state":"closed"},{"kind":"pr","number":122215,"title":"fix(backup): escape SQLite restore source paths","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"36cbf4c0768b8d056b1d5a38bd5475a777cc5ff8","number":0},{"kind":"pr","value":"#124066","number":124066}],"category":"implemented_elsewhere","implication":"superseded"},"merged":false},{"kind":"pr","number":122692,"title":"fix(backup): percent-encode paths in SQLite read-only URIs (#122209)","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"36cbf4c0768b8d056b1d5a38bd5475a777cc5ff8","number":0},{"kind":"pr","value":"#124066","number":124066}],"category":"implemented_elsewhere","implication":"superseded"},"merged":false},{"kind":"pr","number":124066,"title":"fix(backup): restore never replaces a healthy database with a corrupt or #-path source","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["hermes_cli/backup.py","hermes_cli/backup_restore.py","tests/hermes_cli/test_restore_source_integrity.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}