# NousResearch/hermes-agent · Gateway startup hanging on shell-hook consent prompt

## Open now

- Nothing open on GitHub.

The members appear to concern the same topic: a gateway launch with a config shell hook lacking consent may block on a consent prompt, with reports of hanging, restart loops, and exit code 75. One title notes a console-attached launcher reporting stdin.isatty() as True, and the other items reference changes aimed at not blocking the prompt on unattended or supervised launches.

## 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 #140984. Verify it addresses your case.
- **Recommended:** read PR #140984 (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-140984`. 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

- #127822: Gateway startup hangs forever (then restart-loops, exit 75) when a config shell hook lacks consent — console-attached launcher reports \`stdin.isatty() == True\`

## Prior & competing PRs

- **#140984: Unattended gateway no longer freezes and exits 75 on a shell-hook consent prompt (#120356, salvage #140461)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/shell_hooks.py`, `gateway/run_startup.py`, `gateway/shutdown_watchdog.py`, `hermes_cli/main.py`, `tests/agent/test_shell_hooks_consent.py`, `tests/gateway/test_loop_liveness_watchdog.py`, `tests/hermes_cli/test_cli_startup_trim.py`, `website/docs/user-guide/features/hooks.md`
- **#127852: fix(shell-hooks): never block the consent prompt on a supervised launch (#127822)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `afb53eb3330`, `#140984`, `#127822`

## Fix status

- Merged to main in PR #140984 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-18`.
- Subsystem: `agent`
