# NousResearch/hermes-agent · Conflicted autostash restore handling in update discards merged files

## Open now

- 1 issue, 2 PRs open on GitHub.
- #148710: \[Bug\]: a conflicted autostash restore discards every file that already merged
- PR #148711: fix(update): keep every file a conflicted autostash restore already merged
- PR #157464: fix(update): a conflicted autostash restore removes the untracked files it wrote (#147245)

All three members concern the update flow when restoring an autostash hits a conflict, with titles describing already-merged or untracked files being removed or discarded. Two are fix-style pull requests and one is a bug report; their outcomes are not stated in the titles.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## 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.

## Open related issues

- #148710: \[Bug\]: a conflicted autostash restore discards every file that already merged

## Prior & competing PRs

- **#148711: fix(update): keep every file a conflicted autostash restore already merged**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `a3976518efbaf1d6b226acbfeca5e3f8f6d6c60d`, `ba07a99eda0ad84187434d0a8beb5f6ead704b23`, `f4e6c5e4ab70ef75c6fa64ae78247921b08f6ef2`, `#148710`
  - files: `hermes_cli/update_cmd_stash.py`, `tests/hermes_cli/test_update_autostash.py`
- **#157464: fix(update): a conflicted autostash restore removes the untracked files it wrote (#147245)**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `hermes_cli/update_cmd_stash.py`, `tests/hermes_cli/test_update_autostash_conflict_cleanup.py`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
- Kind: `bug` (from the open issues' GitHub type labels).
