Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ looked up again in the graph before you see it; the `verified:` line is that che

### Support for agents

Every agent below gets the four MCP tools and the skill; the hooks, which add the graph's edges to the agent's
own file reads and searches, run where the last column says so.
Every agent below gets the four MCP tools and the skill; the hooks, which keep the graph current and report what an
edit breaks, run where the last column says so. No hook annotates the agent's own reads and searches.

| Agent | Install | Uninstall | Hooks |
|---|---|---|---|
Expand Down
6 changes: 0 additions & 6 deletions hooks/hooks.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@
}
],
"AfterTool": [
{
"matcher": "read_file|grep_search|glob|run_shell_command|replace|write_file",
"hooks": [
{ "type": "command", "command": "node \"${extensionPath}${/}plugins${/}axiomcode${/}hooks${/}run.js\" enrich.py", "timeout": 20000 }
]
},
{
"matcher": "run_shell_command",
"hooks": [
Expand Down
6 changes: 3 additions & 3 deletions plugins/axiomcode/AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# axiomcode

Search with grep and Read as usual: after a grep, the call graph adds only what grep cannot know (which
declaration each match reaches, the callers that never spell the name). Ask it directly, through the axiomcode
MCP tools, for what no text search answers:
Search with grep and Read as usual; the call graph stays out of the way until you ask it. Ask it directly,
through the axiomcode MCP tools, for what no text search answers — which declaration a call reaches, the callers
that never spell the name:

impact(name) who calls it, what a change to it reaches, and its tests;
impact() with no name: the same for your uncommitted edits
Expand Down
2 changes: 1 addition & 1 deletion plugins/axiomcode/hooks/_graphline.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""What the enrich and changes hooks print about one declaration, where a bare number would mislead.
"""What the changes hook prints about one declaration, where a bare number would mislead.

zero_label a method with no resolved caller. Of 323 caller counts the Read / Grep hooks printed in headless
sessions, 209 were `← 0`, and most of those were methods a framework calls: a route handler, an
Expand Down
2 changes: 1 addition & 1 deletion plugins/axiomcode/hooks/changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

PreToolUse Edit / Write / MultiEdit the edit is applied to a copy of the file; when it changes a SIGNATURE, a FIELD's
type, a TYPE header, or removes a declaration, the blast radius is given BEFORE the
file changes (a body-only edit is reported after, by enrich.py — nothing breaks)
file changes (a body-only edit breaks no caller; it is reported on the next prompt)
PostToolUse Bash a command that can modify sources (sed -i, patch, git apply / checkout / pull / merge /
stash pop / cherry-pick / revert, a redirect into a source file, a script run): the
whole working tree against the graph's commit, the declarations not reported yet
Expand Down
205 changes: 0 additions & 205 deletions plugins/axiomcode/hooks/direct.py

This file was deleted.

Loading
Loading