# NousResearch/hermes-agent · Supervised launches incorrectly re-running update completion tail

## Open now

- Nothing open on GitHub.

These issues and fixes address a bug where supervised or gateway launches repeatedly re-execute the update completion tail, causing the installs directory to grow unboundedly and potentially exhaust disk space. The fixes prevent the completion tail from running during supervised starts under various conditions.

## TL;DR

- 6 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 2 merged PR(s), 3 PR(s) closed without merging.
- A fix was merged to main in PR #127745. Verify it addresses your case.
- **Recommended:** read PR #127745 (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-127745`. 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.33`: 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

- #123340: systemd gateway re-runs source-completion tail on every start; installs/<hash>/environments grows to tens of GB / ENOSPC

## Prior & competing PRs

- **#127745: Supervised gateway starts no longer re-run an unfinished update tail until the disk fills (#123340, salvage #123364)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `hermes_cli/venv_sync.py`, `tests/hermes_cli/test_update_launch_completion.py`
- **#131001: Finished updates stay finished: no same-commit re-run on launch, Windows exit 124 after completion is success (salvage #123863, #127198)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `hermes_cli/post_update.py`, `hermes_cli/source_stamp.py`, `hermes_cli/venv_sync.py`, `scripts/desktop-update/windows.ps1`, `tests/hermes_cli/test_update_launch_completion.py`, `tests/scripts/desktop_update/test_desktop_update_windows_python_handoff.py`
- **#123364: fix(update): keep supervised launches off the pending completion tail**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#127745`, `#127745`
- **#123863: fix(update): skip source-update completion when the stamp names HEAD**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#131001`
- **#124785: fix(cli): never run the update completion tail from a supervised launch**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#123340`, `#127745`, `#123364`, `#127745`

## Fix status

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