`hook-guard search` gives a hint for searches outside the project
hook-guard read skips targets outside the project (#1840), but hook-guard search does not. A Bash grep on a file in /tmp still adds a hint built from the command's words, such as graphify query "Findings log far", which points at unrelated nodes. Suggest applying the same outside-the-project check to search targets, at least when every path argument resolves outside the root. Seen on graphifyy 0.9.101 in Claude Code.
Thanks for opening this issue, @mattgdrums-cloud. A maintainer will take a look soon.
If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.
To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.