fix: check-vgv-cli auto-approves Very Good CLI tool calls in a form the directory refuses
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Read hooks/hooks.json, check-vgv-cli.sh, and the rationale in issue #109 to compare the two proposed behaviors. Choose whether to retain auto-approval or deny only, then update the hook tests and the descriptions in plugin/README.md and AGENTS.md. Done when Validate accepts the hook, tests cover the selected behavior, and CI/CD checks pass.
索引モデルが issue の本文から書いたものです。
説明
Description
Validate refuses the version with "Hook can approve tool calls or change their input" on the PreToolUse hook in hooks/hooks.json. check-vgv-cli.sh returns a PreToolUse allow decision for Very Good CLI tools. We added it in #109 so the MCP tool never dead-ends when it is not on permissions.allow.
The portal accepts an approving hook only if it prints its JSON answer whole with one command, has no backslash escapes or printf % conversions, keeps allow out of any other quoted value, and sends everything else to stderr without 2>&1.
Two options:
- Rewrite the hook so it meets those rules, and keep the auto-approve.
- Drop the
allowand only deny. Users then approve Very Good CLI tools once, like any other MCP tool.
Requirements
- Decide between the two options above
- Validate no longer reports "Hook can approve tool calls or change their input"
-
check-vgv-clitests cover the new behavior -
plugin/README.mdandAGENTS.mddescribe the hook as it now behaves - All CI/CD checks are passing
Additional Context
- #109 explains why the hook approves today.
- 主要言語
- Shell
- スター
- 180
- フォーク
- 25
- 平均マージ
- 1日 7時間
- マージ済み PR(30日)
- 17
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
VeryGoodOpenSource/vgv-ai-flutter-plugin のほかの issue
-
documentation good first issue p1
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#217 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug p1
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#214 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug p1
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#213 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug p1
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#216 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug p1
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#215 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
VeryGoodOpenSource/vgv-ai-flutter-plugin の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
cofade/open-garden-planner#1033 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
CachyOS/CachyOS-Welcome#307 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
lucannez64/darling-lol#353 ·
メンテナーはふだん 1 日以内に返信
-
roadmap
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
MehdiMamas/omnide#14 ·