# NousResearch/hermes-agent · Lefthook Git hooks failing in managed/CI builds

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #135292: fix(build): skip developer Git hooks in managed builds

These items address lefthook install errors during the prepare script, specifically when a global core.hooksPath setting or a managed/CI build environment causes lefthook to exit with an error and block source updates.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #135715. Verify it addresses your case.
- **Recommended:** read PR #135715 (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.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.

## Closed / duplicate issues

- #135279: Source update can't finish for users with a global core.hooksPath: root prepare runs lefthook install, which exits 1

## Prior & competing PRs

- **#135715: fix: don't fail npm install when lefthook can't install hooks**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `package.json`
- **#135292: fix(build): skip developer Git hooks in managed builds**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#135279`
  - files: `package.json`, `tests-js/prepare-git-hooks.test.mjs`
- **#135296: fix(build): make lefthook install failure non-fatal in prepare**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `88422bc186024bf6ed9e50223c58d67eaf4cc1c2`, `b484599abf9269cb6c4ed271233322132cb8d02b`, `46d7718a52ff33accb15dc0501736fbdb6833cab`, `#135279`, `#135715`

## Fix status

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