fix: quote the plugin path in the validate_layers.dart command
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 85/100
Hướng nghiên cứu
Đọc agents/ffca-layer-auditor.md quanh dòng 39 và skills/ffca-audit/SKILL.md quanh dòng 27 và 30. Đặt đường dẫn đến script của plugin trong dấu ngoặc kép ở mỗi lệnh được ghi lại để các đường dẫn có chứa khoảng trắng hoạt động. Kiểm tra cả ba lệnh và xác nhận rằng cách dùng dấu ngoặc kép nhất quán; issue cho biết job CI plugin-paths cũng có thể phát hiện các tham chiếu không có dấu ngoặc kép.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
The ffca-layer-auditor agent and the ffca-audit skill tell the model to run:
dart run ${CLAUDE_PLUGIN_ROOT}/scripts/validate_layers.dart --all
Claude Code substitutes the installed plugin path into that text.
When the path has a space, the command splits and dart run gets the wrong file.
claude plugin validate only checks hook files for this, so CI won't flag it.
It appears in:
agents/ffca-layer-auditor.md, line 39skills/ffca-audit/SKILL.md, lines 27 and 30
Steps To Reproduce
- Load the plugin from a path with a space, e.g. the Claude desktop app on macOS (
~/Library/Application Support/Claude/…). - Run the
ffca-auditskill in an FFCA repo. - The auditor runs the command as written, and
dart runcan't find the script.
Expected Behavior
The validator runs from any install path.
Quoting fixes it:
dart run "${CLAUDE_PLUGIN_ROOT}/scripts/validate_layers.dart" --all
Additional Context
- I haven't reproduced it. The model may quote the path on its own, but nothing tells it to.
- https://code.claude.com/docs/en/plugins-reference: "In skill, command, and agent content, write the
${...}reference in the Markdown body instead, and Claude Code substitutes the path inline when it loads the content." - The
plugin-pathsCI job could also fail on an unquoted${CLAUDE_PLUGIN_ROOT}in a command. - Same root cause as VeryGoodOpenSource/vgv-ai-flutter-plugin#194, there in a hook.
- Ngôn ngữ chính
- Dart
- Star
- 7
- Fork
- 2
- Merge trung bình
- 9 giờ 59 phút
- Pull request đã merge (30 ngày)
- 7
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-ffca-plugin
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
chore
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
chore
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
-
feature
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
Tất cả issue của VeryGoodOpenSource/vgv-ffca-plugin
Issue tương tự
-
🚀 [firebase_core] Bump Firebase C++ SDK (14.1.0 → 14.2.0)Có thể đã có người làm @SelaseKay đã nhận hôm nay. Đang mởNeeds Attention type: enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
firebase/flutterfire#18977 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] 172.2* 排除域名包含公网IPĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
-
agent: is checked on a wrapper holding several checkables answers from the first one in tree orderĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
AlphaWaveSystems/flutter-probe#865 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
ubuntu/app-center#2306 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
spotiflacapp/SpotiFLAC-Mobile#923 ·