# NousResearch/hermes-agent · Flat-install autostash database lock file handling

## Open now

- Nothing open on GitHub.

These issues and pull requests concern a bug where the flat-install update autostash process can incorrectly unlink or fail to preserve live database lock sidecar files. The work focuses on fixing autostash behavior to keep those lock files intact 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 #113110. Verify it addresses your case.
- **Recommended:** read PR #113110 (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: `resolved` · deciding PR(s): `pr-113110`. 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

- #112974: Flat-install update autostash can unlink live database lock sidecars

## Prior & competing PRs

- **#113110: fix(update): flat-install autostash keeps live state.db lock files (#112974, salvage #111667)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `.gitignore`, `tests/hermes_cli/test_update_flat_install_state_gitignore.py`
- **#111667: fix(update): preserve flat-install database locks during autostash**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#113110`, `#111667`

## Fix status

- Merged to main in PR #113110 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-17`.
