diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..f69c7c6 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,15 @@ +{ + "hooks": { + "PreToolUse": [ + { + "matcher": "Glob|Grep", + "hooks": [ + { + "type": "command", + "command": "[ -f graphify-out/graph.json ] && echo '{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"additionalContext\":\"graphify: Knowledge graph exists. Read graphify-out/GRAPH_REPORT.md for god nodes and community structure before searching raw files.\"}}' || true" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 2c9d901..870a7cd 100644 --- a/.gitignore +++ b/.gitignore @@ -57,7 +57,15 @@ skills/find-skills skills-disabled/ # Local project config (per-machine, not shared) -.claude/ +.claude/* +!.claude/tasks/ +!.claude/memory/ +!.claude/audits/ +!.claude/settings.json +# But keep local stuff ignored within .claude/ +.claude/settings.local.json +.claude/agent-memory/ +.claude/gstack/ # Generated outputs graphify-out/