diff --git a/.mcp.json b/.mcp.json deleted file mode 100644 index b38c21d..0000000 --- a/.mcp.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "mcpServers": { - "code-review-graph": { - "command": "uvx", - "args": ["code-review-graph", "serve"] - } - } -} diff --git a/hooks/hooks.json b/hooks/hooks.json index 6ea91e7..4ee8137 100644 --- a/hooks/hooks.json +++ b/hooks/hooks.json @@ -1,5 +1,5 @@ { - "_comment": "PostEdit and PostGit are custom Claude Code hook events (confirmed working as of v1.6.4).", + "_comment": "Auto-update knowledge graph after file edits and git commits via PostToolUse hooks.", "hooks": { "SessionStart": [ { @@ -11,7 +11,7 @@ ] } ], - "PostEdit": [ + "PostToolUse": [ { "matcher": "Write|Edit", "hooks": [ @@ -20,11 +20,9 @@ "command": "code-review-graph update 2>/dev/null || true" } ] - } - ], - "PostGit": [ + }, { - "matcher": "commit", + "matcher": "Bash", "hooks": [ { "type": "command",