overengineeringstudio / overengineeringstudio/effect-utils
devenv:git-hooks:install fails in megarepo worktrees due to core.hooksPath
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 82
- Forks
- 2
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 121
Description
Problem
devenv:git-hooks:install fails with:
error: Cowardly refusing to install hooks with `core.hooksPath` set.
This cascades to devenv:enterShell and devenv:enterTest also failing ("Dependency failed"). The megarepo setup sets core.hooksPath, which conflicts with devenv's hook installer.
Impact
Every dt invocation prints noisy failure output for these three tasks, even though they're not blocking actual work. This makes it harder to spot real failures.
Possible fixes
- Skip hook installation when
core.hooksPathis already set (the hooks are managed externally) - Downgrade from hard failure to a warning/skip
Filed by Claude on behalf of @schickling
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the implementation of the devenv:git-hooks:install task and inspect how it handles Git's core.hooksPath setting. Reproduce the failure with a megarepo worktree and run the affected dt tasks; done means hook installation no longer produces a hard failure or noisy output, and devenv:enterShell and devenv:enterTest complete successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100