{"repo":"NousResearch/hermes-agent","public_id":"70211","display_label":"Hermes update corrupts editable-install working tree fix","summary":"A bug was identified where Hermes updates could corrupt an editable-install working tree by deleting or gutting key files during stash/pull/npm operations on a dirty tree. Fixes address running one updater at a time, preventing install rollbacks, and protecting the working tree during updates.","subsystem":"hermes_cli","counts":{"members":3,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":74436,"merged_at":"2026-07-29T23:15:18+00:00"},"resolution":{"state":"unresolved","by":null},"freshness":{"state":"verified","last_verified_at":"2026-07-29T23:15:18+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":61514,"pr_number":74436,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-07-29T23:15:18+00:00"},{"issue_number":62311,"pr_number":74436,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-07-29T23:15:18+00:00"},{"issue_number":70211,"pr_number":74436,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-07-29T23:15:18+00:00"}],"members":[{"kind":"issue","number":70211,"title":"hermes update corrupts editable-install working tree (deletes root package.json, guts package-lock.json) via stash/pull/npm on a dirty tree","url":null,"state":"closed"},{"kind":"pr","number":70308,"title":"fix(update): protect editable-install working tree from corruption during hermes update (#70211)","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"4b7f70984397c1c56a5a43363f16b31b7671788a","number":0},{"kind":"pr","value":"#74436","number":74436}],"category":"superseded_by_pr","implication":"superseded"},"merged":false},{"kind":"pr","number":74436,"title":"fix(update): one updater at a time, and never roll an install backwards","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["apps/bootstrap-installer/src-tauri/Cargo.toml","apps/bootstrap-installer/src-tauri/src/update.rs","hermes_cli/main.py","hermes_cli/update_lock.py","scripts/install.ps1","scripts/install.sh","tests/hermes_cli/test_update_lock.py","tests/test_install_commit_pin_rollback.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}