# NousResearch/hermes-agent · Worktree isolation silent no-op fix and warnings

## Open now

- 1 issue, 2 PRs open on GitHub.
- #97209: delegation.worktree_isolation silently no-ops when the parent session's recorded cwd is not a git repo (persistent/owner sessions)
- PR #97226: fix(delegate): support worktree_repo_root config anchor and warn on worktree degrade (Closes #97209)
- PR #97227: fix(delegation): resolve reliable worktree repo anchors

These issues and PRs address a bug where worktree_isolation silently does nothing when the parent session's working directory is not a git repository. The work adds support for a reliable worktree repo root config anchor and introduces warnings when isolation degrades silently.

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

- #97209: delegation.worktree_isolation silently no-ops when the parent session's recorded cwd is not a git repo (persistent/owner sessions)

## Prior & competing PRs

- **#97226: fix(delegate): support worktree_repo_root config anchor and warn on worktree degrade (Closes #97209)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#97209`, `#96860`, `#97227`, `#97228`, `#97220`
  - files: `hermes_cli/gateway.py`, `tests/hermes_cli/test_gateway.py`, `tests/tools/test_subagent_worktree.py`, `tools/delegate_tool.py`
- **#97227: fix(delegation): resolve reliable worktree repo anchors**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#97226`, `#97228`, `#97209`
  - files: `hermes_cli/config_defaults.py`, `tests/tools/test_delegate.py`, `tests/tools/test_subagent_worktree.py`, `tools/delegate_tool.py`, `tools/subagent_worktree.py`, `website/docs/user-guide/configuration.md`, `website/docs/user-guide/features/delegation.md`
- **#97228: fix(delegate): support worktree_repo_root and warn on silent isolation degradation**. closed without merge
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `#97226`, `#97227`

## Fix status

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