CLI flags ignored when placed before subcommand

NousResearch/hermes-agent · cluster 28780 · hermes cli

Data as of

Nothing open on GitHub. Fix merged in #62412. Check it covers your case.

The short answer

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

A bug where top-level flags like -t, -m, --provider, and --tui were not preserved when specified before the chat subcommand. Multiple fix attempts address propagating these pre-subcommand arguments into the chat subparser.

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.

  • #62412 fix(cli): preserve model overrides before chat subcommand

    merged to main

    files: hermes_cli/_parser.py, tests/hermes_cli/test_argparse_flag_propagation.py, tests/hermes_cli/test_kanban_worker_spawn_toolsets.py

4 PRs closed without merging

From the close comments: duplicate 3 · stale or abandoned 1

  • #28795 fix(cli): preserve -t/-m/--provider/--tui/--dev before chat subcommand · stale or abandoned
  • #28799 fix(cli): preserve pre-subcommand flags across the chat subparser (#28780) · duplicate → #28795, #28780
  • #28907 fix(cli): make -t/--toolsets work before subcommand (fixes #28780) · duplicate → #28795, #28780, #28799
  • #29748 fix(cli): preserve top-level chat flags · duplicate → #28799, #28780
Closed issues · 1
  • Closed#28780[Bug]: the optional parameter "-t" does not work in "hermes -t web chat", but works in "hermes chat -t web ".
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.33: 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
#62412
Closed issues
1
Attempts
4 PRs closed without merging
Fix link checked
11 Jul 2026

For your agent

The same facts, typed.