# NousResearch/hermes-agent · CLI exit code propagation and silent failure bugs

## Open now

- 2 issues, 1 PR open on GitHub.
- #30631: \[Bug\]: \`hermes skills install <unresolvable>\` exits 0 on resolution failure (silent failure)
- #62810: \[Bug\]: CLI exit-status compatibility: boolean handler success exits 1
- PR #62832: fix(console): preserve integer command-handler exit statuses (#62810)

These issues and PRs address cases where CLI commands return exit code 0 despite failures, including skills install resolution errors and integer exit statuses being dropped by the command dispatcher.

## TL;DR

- 9 member(s): 2 open issue(s), 0 closed issue(s), 1 open PR(s), 1 merged PR(s), 5 PR(s) closed without merging.
- A fix was merged to main in PR #133068. Verify it addresses your case.
- **Recommended:** read PR #133068 (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: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.20`: 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

- #30631: \[Bug\]: \`hermes skills install <unresolvable>\` exits 0 on resolution failure (silent failure)
- #62810: \[Bug\]: CLI exit-status compatibility: boolean handler success exits 1

## Prior & competing PRs

- **#133068: Installing a built-in skill by name (computer-use, pdf, …) makes it available instead of always failing; failed hub installs exit non-zero (#118301, salvage #128140)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `apps/desktop/src/store/hub-actions.blocked.test.ts`, `apps/desktop/src/store/hub-actions.ts`, `contributors/emails/[redacted:email]`, `hermes_cli/main_agent_cmds.py`, `hermes_cli/skills_hub.py`, `tests/hermes_cli/test_skills_failure_exit_code.py`, `tests/hermes_cli/test_skills_hub.py`, `tools/connectors/catalog.py`, `tools/skills_sync_bundled_ops.py`, `tui_gateway/methods_tools.py`
- **#30633: Fix skills install resolution exit code**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `23a68610a5`, `#133068`, `#133068`
- **#30784: fix(cli): quote .env writes, widen Gemini vision allowlist, propagate skills install exit code**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#30357`, `#30724`, `#30712`, `#30633`
- **#43645: fix: propagate CLI command exit codes**. closed without merge
  - maintainer direction: category `wontfix_bydesign`; implication `wontfix`
- **#62832: fix(console): preserve integer command-handler exit statuses (#62810)**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#62844`, `#43645`, `#62810`
  - files: `hermes_cli/console_engine.py`, `hermes_cli/web_server.py`, `tests/hermes_cli/test_console_engine.py`
- **#104432: fix(cli): treat bool handler results as success, not exit 1**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#62810`, `#62826`, `#103272`
- **#106957: fix(skills): exit non-zero when skills install fails to resolve**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `23a68610a5`, `#133068`, `#133068`

## Fix status

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