# memory: instinct-repo-local-hookspath-kills-all-worktrees
リポジトリローカルのcore.hooksPath設定が全worktreeに影響し、消えたworktreeを指すとhooksが無言で停止する問題。正しい設定方法はextensions.worktreeConfigを有効にし、git config --worktree core.hooksPathを使用すること。
## ポイント
- core.hooksPathはリポジトリ全体に影響する
- 消えたworktreeを指すとhooksが無言で停止する
- extensions.worktreeConfigを有効にする必要がある
- git config --worktree core.hooksPathを使用する
- 設定の見た目だけでは通らない
## 関連ページ
[[2026-06-02 goalbuddy初の実Issue実証: #265 videos.title空調査をgrok Workerで自律完遂]] [[2026-06-02 grok CLI 復活: @GokouMutsumi(Xプレミアム)で再認証・実Worker実働・grok chat廃止修正]] [[2026-06-02 修正系Issue自律実証: #283 freeconsul を worktree隔離+goalbuddyで安全修正(PR#290)]]
## 関連概念(未作成)
`git hooks management` `worktree configuration` `repository-wide settings`
memory: instinct-repo-local-hookspath-kills-all-worktrees