NousResearch/hermes-agent

hermes sessions subcommands exit codes on failure

Cluster 123322 · hermes cli. Data as of

Nothing open on GitHub. Fix merged in #144767 on 26 Oct 2026. Check it covers your case.

The short answer

0open issues
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #144767. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #144767. That is separate from the fix event.
Still open
Nothing open on GitHub.

The three members all concern hermes sessions subcommands (such as repair, optimize, optimize-storage, archive, export, and refused bulk actions) returning exit code 0 when they fail, with proposed changes to return non-zero. Titles alone do not show whether any change has been merged or verified.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

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

  • #144767 hermes sessions failures exit 1 instead of 0 (salvage #123323)

    merged to main

    files: hermes_cli/sessions_cmd.py, hermes_cli/sessions_cmd_repair_profiles.py, tests/hermes_cli/test_sessions_export_backup_round_trip.py, tests/hermes_cli/test_sessions_failure_exit_codes.py

1 PR closed without merging

From the close comments: done elsewhere 1

  • #123323 fix(sessions): repair, optimize, export and refused bulk actions exit non-zero on failure · done elsewhere → 46adcf7, #144767
Closed issues · 1
  • Closed#123322[Bug]: hermes sessions repair / optimize / optimize-storage / archive exit 0 when they fail
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: 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
#144767
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
26 Oct 2026

For your agent

The same facts, typed.