Repository navigation
hooks: pre-search directive only names what this search is for, once per session - #1753
Merged
Merged
Conversation
…n the search names a declaration The generic block before the first Read, Grep or Bash was rarely acted on, and was said again per repository, or before every search where .axiomcode/ was not writable. It now names the declaration the grep pattern spells, where it is and the impact call for it; stays silent for prose, constants, fields, names declared in many places, piped greps and Reads; and is stamped once per session in the temp directory. Co-authored-by: axiomcode-bot[bot] <334110751+axiomcode-bot[bot]@users.noreply.github.com> Co-Authored-By: Claude <noreply@anthropic.com>
swapnilpaliwal-sd
requested review from
JaredHLZhang,
Whua689 and
suyashpaliwal26
as code owners
September 29, 2026 03:10
This was referenced Sep 29, 2026
Merged
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.
The PreToolUse directive (
hooks/direct.py) printed the same generic text before the first Read, Grep or Bash. It was repeated per repository, or before every search when.axiomcode/was read-only, and agents rarely acted on it.file:line, and gives theimpactcall for it.… | grep), non-source files, Reads and Globs.tests/directive.pyhas 24 promises, including controls: TODO/prose, field, lowercase word, string inside code, a name declared 8 times, piped grep.hosts.py,mcp_first.py(43/43) andhooks_from_path.py(26/26) pass on the VM.