fix: quote the plugin path in the validate_layers.dart command
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 85/100
Direzione di ricerca
Leggi agents/ffca-layer-auditor.md intorno alla riga 39 e skills/ffca-audit/SKILL.md intorno alle righe 27 e 30. Racchiudi tra virgolette il percorso dello script del plugin in ciascun comando documentato, in modo che funzionino i percorsi contenenti spazi. Esamina tutti e tre i comandi e conferma che le virgolette siano usate in modo coerente; l’issue dice che il job CI plugin-paths potrebbe anche rilevare i riferimenti senza virgolette.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Dart
- Stelle
- 7
- Fork
- 2
- Merge medio
- 9h 59m
- PR unite (30g)
- 7
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di VeryGoodOpenSource/vgv-ffca-plugin
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
chore
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
-
feature
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
Tutte le issue di VeryGoodOpenSource/vgv-ffca-plugin
Issue simili
-
🚀 [firebase_core] Bump Firebase C++ SDK (14.1.0 → 14.2.0)Forse già presa @SelaseKay l’ha presa oggi. ApertaNeeds Attention type: enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
firebase/flutterfire#18977 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] 172.2* 排除域名包含公网IPAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
-
agent: is checked on a wrapper holding several checkables answers from the first one in tree orderApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
AlphaWaveSystems/flutter-probe#865 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
ubuntu/app-center#2306 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
spotiflacapp/SpotiFLAC-Mobile#923 ·