tooling: mise run install fails when core.hooksPath is set outside the repo (prek hook install is fatal)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 82/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- git, python, typescript
- 領域
- tooling
調査の方向性
ルートにある install と hooks:install の mise タスク定義を読み、core.hooksPath をグローバルに設定して再現したうえで、mise run install を実行してください。フックのインストールが利用できない場合でも依存関係のインストールが完了し、タスクが正常に終了することを確認してください。hooks:install はコントリビューター向けの手段として引き続き利用可能にしてください。
索引モデルが issue の本文から書いたものです。
説明
Component: CDK / infrastructure (repo tooling: mise run install)
Describe the bug
The root install task ends with prek install --prepare-hooks. On machines where core.hooksPath is set at global or system scope (common on managed corporate machines that ship their own git hooks), prek refuses:
error: Refusing to install hooks because `core.hooksPath` is configured outside this repository.
[//:install] ERROR task failed
Because it is the last command of install, the whole task fails even though the Yarn workspaces and the agent's Python environment were installed successfully. Anyone who only wants to deploy (not contribute) is blocked by a contributor-only step, and the documented remedy in CONTRIBUTING.md (git config --unset-all core.hooksPath) is often not something they are allowed to do on a managed machine.
Expected behavior
mise run install succeeds and installs dependencies. Hook installation is either skipped with a clear warning when core.hooksPath is owned elsewhere, or split into its own task (hooks:install already exists).
Current behavior
mise run install exits non-zero after installing all dependencies, so scripts and guides that run it treat installation as failed.
Reproduction steps
git config --global core.hooksPath /some/other/dir(or a system-level equivalent).- Fresh clone,
mise run install. - Observe the failure from
prek install --prepare-hooks.
Possible solution
Make the hook step non-fatal in install, e.g. prek install --prepare-hooks || echo "warning: git hooks not installed (core.hooksPath is set elsewhere); see CONTRIBUTING.md", and keep hooks:install as the strict path for contributors. Never change the user's global/system git config automatically.
Environment
- macOS arm64 · mise 2026.10.18 · Commit
6dad935f(main)
- 主要言語
- TypeScript
- スター
- 165
- フォーク
- 50
- 平均マージ
- 6時間 41分
- マージ済み PR(30日)
- 7
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aws-samples/sample-autonomous-cloud-coding-agents のほかの issue
-
cdk: support Docker-compatible engines such as Finch (clean:disk hard-codes docker)対応中かも @alvarohare が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
aws-samples/sample-autonomous-cloud-coding-agents#969 · コメント 1 件 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
cdk(bootstrap): bootstrap:generate fetches an unpinned tsx via npx and prompts in non-interactive runs対応中かも @alvarohare が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
aws-samples/sample-autonomous-cloud-coding-agents#967 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
aws-samples/sample-autonomous-cloud-coding-agents#908 ·
メンテナーはふだん 1 日以内に返信
-
bug v1
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
aws-samples/sample-autonomous-cloud-coding-agents#886 ·
メンテナーはふだん 1 日以内に返信
-
bug v1
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
aws-samples/sample-autonomous-cloud-coding-agents#861 ·
メンテナーはふだん 1 日以内に返信
aws-samples/sample-autonomous-cloud-coding-agents の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
lichess-org/lila#22324 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Feature Request] [Web] Expose kvCacheQuantizationBits in the onnxruntime-web WebGPU EP optionsオープンep:WebGPU platform:web quantization
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
microsoft/onnxruntime#33752 ·
メンテナーはふだん 2 日以内に返信
-
[Skill Bug]: entra-agent-id: inaccurate blueprint permission inheritance and parent token sub claimオープンbug entra-agent-id
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/GitHub-Copilot-for-Azure#3467 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
fix(worker): keep normal prepare waiting states failure-free対応中かも @LichKing-2234 が今日担当しました。 オープンagent:codex priority:P1
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
AgoraIO-Extensions/agent-infra#3745 ·
メンテナーはふだん 1 日以内に返信
-
The five-line work window can drop its oldest line: the per-line byte share ignores the JSON framing対応中かも @Eapp1e が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
makecindy/cindy#7973 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信