Conversation
omartinma
approved these changes
Sep 29, 2026
ryzizub
force-pushed
the
feat/warn-missing-prereqs
branch
from
September 30, 2026 08:57
3827676 to
90d0b5a
Compare
Add a SessionStart hook that tells Claude when dart or jq is missing in an FFCA-shaped repo, since validate_layers.sh skips silently without them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ryzizub
force-pushed
the
feat/warn-missing-prereqs
branch
from
October 1, 2026 13:40
90d0b5a to
13d98cc
Compare
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.
validate_layers.shexits 0 silently whenjqordartis missing, so Claude never learns layer validation is off. This adds a SessionStart hook that warns Claude in that case.hooks/warn_missing_prereqs.sh: only runs in FFCA-shaped repos (features/*/*_{domain,data,presentation}packages under the project). Warns whendartorjqis not onPATH. Always exits 0. Modeled onwarn-missing-mcp.shfrom vgv-ai-flutter-plugin.hooks/warn_missing_prereqs_test.sh: stubbed-PATHtests, run in the existing Hook Tests CI job.Reviewer note: the hook doesn't parse the stdin payload, since
jqmay be the missing tool. It scansCLAUDE_PROJECT_DIR(or$PWD) up to depth 6 and prunes hidden,build, andnode_modulesdirs.🤖 Generated with Claude Code