Files
hermes-agent/agent
BearHuddleston 5688461d66 fix(agent): look up git from the repo in @diff context references
_expand_git_reference gated on resolve_usable_git(), which searches
PATH from Hermes's own cwd, and then launched bare git with cwd= set to
the session's repo. The same gap 85a3be0c3b closed for three other
bare-git readers: with a relative PATH entry (PATH=bin:<stub dir>) and
a working bin/git only under Hermes's cwd, the gate approved git and
the child, searching from the repo, ran the macOS CLT stub.

Ask inspect_git(cwd=...) instead. A missing git still reports
"git is not available".
2026-11-27 18:26:17 -06:00
..
…
…
…
…
…
…
…