From beb52eba4c4ce6d4555b3d92c748f0eba13ad109 Mon Sep 17 00:00:00 2001 From: Hank Date: Thu, 29 Oct 2026 17:46:33 +0800 Subject: [PATCH] =?UTF-8?q?chore(graphify):=20hook=20=E6=94=B9=E6=94=BE?= =?UTF-8?q?=E6=9C=AC=E6=A9=9F=E8=A8=AD=E5=AE=9A=E4=B8=A6=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E4=B8=8D=E9=81=A9=E7=94=A8=E7=9A=84=20graph.json=20=E8=A6=8F?= =?UTF-8?q?=E5=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - .claude/settings.json 寫死了本機的 graphify.exe 絕對路徑, 改併入已被忽略的 .claude/settings.local.json,不進版控 - CLAUDE.md 刪除「已提交的 graph.json 大 diff 屬預期」一條, 本專案已忽略 graphify-out/,該規則不適用 Co-Authored-By: Claude Sonnet 5.5 --- .claude/settings.json | 26 -------------------------- CLAUDE.md | 1 - 2 files changed, 27 deletions(-) delete mode 100644 .claude/settings.json diff --git a/.claude/settings.json b/.claude/settings.json deleted file mode 100644 index 12586a8..0000000 --- a/.claude/settings.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "hooks": { - "PreToolUse": [ - { - "matcher": "Bash|Grep", - "hooks": [ - { - "type": "command", - "command": "C:/Users/2110062/AppData/Roaming/uv/tools/graphifyy/Scripts/graphify.exe hook-guard search", - "timeout": 10 - } - ] - }, - { - "matcher": "Read|Glob", - "hooks": [ - { - "type": "command", - "command": "C:/Users/2110062/AppData/Roaming/uv/tools/graphifyy/Scripts/graphify.exe hook-guard read", - "timeout": 10 - } - ] - } - ] - } -} \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md index a971406..12fab82 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -223,4 +223,3 @@ Rules: - If graphify-out/wiki/index.md exists, use it for broad navigation instead of raw source browsing. - Read graphify-out/GRAPH_REPORT.md only for broad architecture review or when query/path/explain do not surface enough context. - After modifying code, run `graphify update .` to keep the graph current (AST-only, no API cost). -- A committed graphify-out/graph.json is rewritten whole on every build, so a large diff to it in a pull request is expected. Do not flag it as churn or suggest skipping the graph rebuild or its hooks.