NousResearch/hermes-agent

Preserve dirty worktrees on session exit

Cluster 129482. Data as of

Nothing open on GitHub. Fix merged in #130595 on 1 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 #130595. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #130595. That is separate from the fix event.
Still open
Nothing open on GitHub.

These items address a bug where exiting a worktree session incorrectly deletes worktrees containing uncommitted or untracked changes, contrary to documented behavior. The work involves fixing the cleanup logic to retain dirty worktrees.

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.

  • #130595 fix(cli): exiting a `--worktree` session keeps the worktree when it has uncommitted changes (#129482, salvage #129489)

    merged to main

    files: cli.py, hermes_cli/kanban_db_workspace.py, hermes_cli/worktree_ops.py, locales/af.yaml, locales/ar.yaml, locales/de.yaml, locales/en.yaml, locales/es.yaml, locales/fr.yaml, locales/ga.yaml, locales/hu.yaml, locales/it.yaml, locales/ja.yaml, locales/ko.yaml, locales/pt.yaml, locales/ru.yaml, locales/tr.yaml, locales/uk.yaml, locales/zh-hant.yaml, locales/zh.yaml (+2 more)

1 PR closed without merging

From the close comments: merged via another change 1

  • #129489 fix(cli): preserve dirty session worktrees · merged via another change → a567c3a, #130595
Closed issues · 1
  • Closed#129482worktree: true exit cleanup deletes worktrees with uncommitted/untracked changes (docs say dirty trees are kept)
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

Merged PRs
#130595
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
1 Oct 2026

For your agent

The same facts, typed.