Files
hermes-agent/tests
kshitijk4poor a2ecf83336 fix(worktree): run the attended plain remove under the tree's git env
The attended reclaim's plain `worktree remove` (no --force) reads the
linked tree's index, so it re-hashes stat-dirty files through clean
filters. It ran under noninteractive_repo_git_env(repo_root), which only
discovers filters visible from the main checkout: a filter defined in the
tree's config.worktree (extensions.worktreeConfig) ran its command
(gate r2 2c, Medium). Build the env from the tree itself, as the startup
path already does, keep the tree when discovery fails, and run both the
plain remove and the submodule --force retry under it.

The security test now plants a tree-scoped clean filter on the trees the
startup sweep and the attended reclaim remove.
2026-10-03 20:53:08 +05:30
..
…
…