# NousResearch/hermes-agent · Terminal binary content and git lock bug fixes

## Open now

- Nothing open on GitHub.

These items address two distinct issues: a terminal guard crash caused by binary/ELF content being fed into a scanner via the remote-read fallback, and stale git lock files causing false 'update available' notifications on shallow clones.

## TL;DR

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

- #77703: terminal guard crashes with embedded null byte when remote-read fallback feeds binary content into the scanner (full-path ELF executables)

## Prior & competing PRs

- **#79454: fix(terminal): skip binary content on referenced-script remote-read fallback (#77703)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `cron/lifecycle_guard.py`, `tests/hermes_cli/test_gateway_restart_loop.py`, `tools/terminal_tool.py`
- **#86257: fix(update-check): stop fabricating '+1' behind-counts; recover exact counts via compare API**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `apps/desktop/electron/main.ts`, `apps/desktop/electron/update-count.test.ts`, `apps/desktop/electron/update-count.ts`, `apps/desktop/src/app/settings/about-settings.tsx`, `apps/desktop/src/app/shell/hooks/use-statusbar-items.tsx`, `apps/desktop/src/global.d.ts`, `apps/desktop/src/i18n/ar.ts`, `apps/desktop/src/i18n/en.ts`, `apps/desktop/src/i18n/ja.ts`, `apps/desktop/src/i18n/types.ts`, `apps/desktop/src/i18n/zh-hant.ts`, `apps/desktop/src/i18n/zh.ts`, `apps/desktop/src/lib/version-status.test.ts`, `apps/desktop/src/lib/version-status.ts`, `apps/desktop/src/store/updates.test.ts`, `apps/desktop/src/store/updates.ts`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `hermes_cli/banner.py`, `hermes_cli/main.py` (+2 more)
- **#86331: fix(update-check): local-ahead checkouts read up to date, not 'update available'**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `apps/desktop/electron/main.ts`, `hermes_cli/banner.py`, `tests/hermes_cli/test_banner_git_state.py`
- **#86928: fix(update): self-heal stale git locks that wedge every update fetch**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `apps/desktop/electron/gitlock.test.ts`, `apps/desktop/electron/gitlock.ts`, `apps/desktop/electron/main.ts`, `contributors/emails/[redacted:email]`, `hermes_cli/banner.py`, `hermes_cli/gitlock.py`, `hermes_cli/update_cmd.py`, `tests/test_gitlock.py`
- **#77729: fix(terminal): skip binary content on the referenced-script remote-read fallback (#77703)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#79454`
- **#80501: fix(update): self-heal stale git locks and stop false 'update available' on shallow clones**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#86928`, `#86257`, `#86331`, `#75168`

## Fix status

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