CLI exit code propagation and silent failure bugs

NousResearch/hermes-agent · cluster 30631 · hermes cli

Data as of

3 open items. Fix merged in #133068. Check it covers your case.

The short answer

2open issues
1open PR
9items grouped
Known?
Yes. 9 related items grouped here, 0 issues already closed.
Fix event
A fix was merged to main in PR #133068. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
2 issues and 1 PR.

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.

Open issues2

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

Open PRs1

  • PR#62832fix(console): preserve integer command-handler exit statuses (#62810)

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #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

    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

5 PRs closed without merging

From the close comments: done elsewhere 2 · won't fix / by design 1 · other 2

  • #30633 Fix skills install resolution exit code · done elsewhere → 23a6861, #133068
  • #30784 fix(cli): quote .env writes, widen Gemini vision allowlist, propagate skills install exit code · other → #30357, #30724, #30712, #30633
  • #43645 fix: propagate CLI command exit codes · won't fix / by design
  • #104432 fix(cli): treat bool handler results as success, not exit 1 · other → #62810, #62826, #103272
  • #106957 fix(skills): exit non-zero when skills install fails to resolve · done elsewhere → 23a6861, #133068
How this cluster was grouped
  • Link evidence (partly structural links): 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 item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
hermes cli
Merged PRs
#133068
Closed issues
0
Attempts
5 PRs closed without merging
Fix link checked
5 Oct 2026

For your agent

The same facts, typed.