# NousResearch/hermes-agent · CLI -w/--worktree flag ignored in one-shot mode

## Open now

- 1 issue, 2 PRs open on GitHub.
- #67458: -w/--worktree is silently ignored in one-shot mode (-z): commits land on the current branch
- PR #67476: fix(cli): honor -w/--worktree in one-shot mode instead of silently ignoring it
- PR #67484: fix(cli): forward --worktree to run_oneshot so -z -w works (#67458)

The -w/--worktree flag is silently ignored when using one-shot mode (-z), causing commits to land on the current branch instead of the intended worktree. These members address identifying and forwarding the flag correctly in that mode.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## 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_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: 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

- #67458: -w/--worktree is silently ignored in one-shot mode (-z): commits land on the current branch

## Prior & competing PRs

- **#67471: fix(cli): run -w/--worktree in one-shot mode instead of silently ignoring it (#67458)**. closed without merge
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `18fce0ad13f0`, `#67458`, `#67471`, `#67476`, `#67484`, `#374151`
- **#67476: fix(cli): honor -w/--worktree in one-shot mode instead of silently ignoring it**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `4b4919cf3556`, `#67458`, `#67471`, `#67476`, `#67484`, `#374151`
  - files: `hermes_cli/main.py`, `hermes_cli/oneshot.py`, `tests/hermes_cli/test_oneshot_worktree.py`, `tests/hermes_cli/test_tui_resume_flow.py`
- **#67484: fix(cli): forward --worktree to run_oneshot so -z -w works (#67458)**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `0b98fd723058`, `#67458`, `#67471`, `#67476`, `#67484`, `#374151`
  - files: `hermes_cli/main.py`, `hermes_cli/oneshot.py`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
