Repository navigation
Aid grep instead of replacing it: grep notes, smaller impact answers, three MCP tools - #1842
Merged
Merged
Conversation
…not know; impact shows code only where no text search reaches; find leaves MCP The hook after a grep now names, for each identifier, the declarations its matched lines reach when they differ, and the callers whose call never spells the name; it is silent when grep was complete. impact lists the places a word grep already finds by location only, names places further than one hop and the tests without code, and keeps the code for the direct places grep cannot see. MCP offers impact, path and tests; find stays a shell verb. AXIOMCODE_GREP_AID=0 restores the previous answers. Co-authored-by: axiomcode-bot[bot] <334110751+axiomcode-bot[bot]@users.noreply.github.com>
…sts cover both notes A grep that finds only a route handler's declaration reads as dead code; the note now says the runtime or a framework enters it, and stays silent for a plain uncalled method. The previous note's checks run under AXIOMCODE_GREP_AID=0, and the grep-aid checks (who enters it, silence when grep was complete) run beside them. Co-authored-by: axiomcode-bot[bot] <334110751+axiomcode-bot[bot]@users.noreply.github.com>
swapnilpaliwal-sd
requested review from
JaredHLZhang,
Whua689 and
suyashpaliwal26
as code owners
October 1, 2026 07:33
swapnilpaliwal-sd
enabled auto-merge
October 1, 2026 07:33
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.
AxiomCode now aids an agent's grep instead of answering the same search again.
impact,pathandtests.findstays a shell verb. Docs, the install block and the orientation hooks now say to search with grep as usual.AXIOMCODE_GREP_AID=0restores the previous answers, and the previous note's checks run under it.Measured on two apps' A/B tasks: answers about 70% smaller per call, with the same results (every arm found every expected file). Cost and turns did not change on these tasks.
Tests: all 1390 case checks pass; front_door, mcp, mcp_first, mcp_docs, surfaces, repo_arg, enrich_lines and hooks_from_path pass. Two multi_language checks about a stopped build differ from the base; this needs a re-check on an idle machine.