# NousResearch/hermes-agent · Avoid repeated package-manager git lookups and registry-gap handling

## Open now

- 1 issue, 0 PRs open on GitHub.
- #136316: selected_git_env calls pm.ensure("git") on every git invocation; 208ms x N on POSIX where it always fails

The members appear to concern the CLI's git environment selection repeatedly consulting the package manager (pm.ensure("git")) on each git call, with a reported ~208ms cost per call on POSIX, and a proposal to remember the refusal. One additional member concerns refusing a registry gap in the caller rather than via a PM worker, which seems related but is a distinct fix.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #141765. Verify it addresses your case.
- **Recommended:** read PR #141765 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## 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.67`: 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

- #136316: selected_git_env calls pm.ensure("git") on every git invocation; 208ms x N on POSIX where it always fails

## Prior & competing PRs

- **#141765: fix(pm): refuse a registry gap in the caller, never through a PM worker (main red)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `pm/client.py`, `tests/gateway/test_hosted_rooms.py`, `tests/hermes_cli/test_inventory_pricing.py`, `tests/pm/test_registry_gap_refusal.py`
- **#136320: fix(cli): remember PM's git refusal instead of re-consulting per call**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `a1cc85f3e2`, `#141765`

## Fix status

- Merged to main in PR #141765 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-20`.
- Subsystem: `hermes_cli`
