# NousResearch/hermes-agent · Hermes update corrupts editable-install working tree fix

## Open now

- Nothing open on GitHub.

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.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #74436. Verify it addresses your case.
- **Recommended:** read PR #74436 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member 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.

## Closed / duplicate issues

- #70211: hermes update corrupts editable-install working tree (deletes root package.json, guts package-lock.json) via stash/pull/npm on a dirty tree

## Prior & competing PRs

- **#74436: fix(update): one updater at a time, and never roll an install backwards**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `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`
- **#70308: fix(update): protect editable-install working tree from corruption during hermes update (#70211)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `4b7f70984397c1c56a5a43363f16b31b7671788a`, `#74436`

## Fix status

- Merged to main in PR #74436 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-07-29`.
- Subsystem: `hermes_cli`
