fix: check-vgv-cli auto-approves Very Good CLI tool calls in a form the directory refuses
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Shell
- Star
- 180
- Fork
- 25
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 17
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của VeryGoodOpenSource/vgv-ai-flutter-plugin
-
documentation good first issue p1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#217 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug p1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#214 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug p1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#213 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug p1
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#216 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug p1
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#215 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của VeryGoodOpenSource/vgv-ai-flutter-plugin
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
cofade/open-garden-planner#1033 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add support for zellij terminalĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
CachyOS/CachyOS-Welcome#307 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
lucannez64/darling-lol#353 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Roadmap pills for other agentsĐang mởroadmap
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
MehdiMamas/omnide#14 ·