Skip to content

chore(claude): run the graphify search reminder on Grep only - #1329

Merged
mforce merged 2 commits into
mainfrom
chore/graphify-hook-grep-only
Oct 19, 2026
Merged

mforce merged 2 commits into
mainfrom
chore/graphify-hook-grep-only

Conversation

@mforce

@mforce mforce commented Oct 19, 2026

Copy link
Copy Markdown
Owner

Summary

The graphify search reminder in .claude/settings.json matched every Bash call. So gh, git, npm and dotnet commands each carried the "run graphify query before grepping" text, about 20 times in one recent session. The reminder is about searches, so the matcher is now Grep only.

The other two hooks are unchanged: the graphify read guard on Read|Glob and the agent guard on Bash.

Running graphify claude install again would restore the old Bash|Grep matcher.

Testing

  • The file is valid JSON, and the diff is the one matcher line.
  • No test, tool or doc depends on the search hook firing for Bash. hook-guard appears only in this file.

The PreToolUse hook matched every Bash call, so gh, git, npm and dotnet commands each carried the graphify query reminder. Graphify's guidance is about searches; the Grep tool is where they happen. Re-running graphify claude install restores the old matcher.
@mforce
mforce merged commit 154cebf into main Oct 19, 2026
41 of 44 checks passed
@mforce
mforce deleted the chore/graphify-hook-grep-only branch October 19, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant