Repository navigation
Conversation
check_vgv_cli.sh read only the first line of `very_good --version`. A
stale snapshot prints pub's recompile output first, so a working CLI
read as unverifiable and its MCP tools stopped being auto-approved.
Match an anchored version line anywhere in the output instead, as
vgv-ai-flutter-plugin does.
Quote ${CLAUDE_PLUGIN_ROOT} in the validator commands of the auditor
and the audit skill, so they work when the plugin path has spaces.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Vxxv9fVFGupLXEnmx5bSq
erickzanardo
approved these changes
Nov 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Two small fixes found while comparing against the sister plugins.
Very Good CLI version check (from vgv-ai-flutter-plugin#176).
check_vgv_cli.shread only the first line ofvery_good --version. After a Dart SDK upgrade, the stale snapshot sends the shim throughdart pub global run, which prints its recompile output first. The hook then read the version as unverifiable and stood aside, so Very Good CLI MCP tools stopped being auto-approved. It now matches an anchored^x.y.z$line anywhere in the output, so a version-shaped fragment of a path in pub's output can't win.bash hooks/check_vgv_cli_test.sh: 17 passed. Also checked against a realvery_good1.6.0:allow.Quoted plugin paths (from vgv-wingspan#299, vgv-ai-flutter-plugin#195). The
dart run ${CLAUDE_PLUGIN_ROOT}/scripts/validate_layers.dart --allcommands inagents/ffca-layer-auditor.mdandskills/ffca-audit/SKILL.mdare now quoted, so they work when the plugin lives under a path with spaces, such as the desktop app's~/Library/Application Support/….hooks/hooks.jsonwas already quoted. The Plugin Paths check still passes.Type of Change
feat)fix)refactor)docs)ci)chore)🤖 Generated with Claude Code
https://claude.ai/code/session_017Vxxv9fVFGupLXEnmx5bSq