overengineeringstudio / overengineeringstudio/effect-utils

devenv:git-hooks:install fails in megarepo worktrees due to core.hooksPath

Open
#575 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:nix origin:agent type:agent-tooling type:bug
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.hooksPath is 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.