feat(graphify): add full-project knowledge graph + Claude Code hooks

Runs graphify over src/ + documentation/ to build a persistent knowledge
graph (2,234 nodes, 4,651 edges, 217 communities) used by Claude for
codebase queries. Includes post-commit hook for incremental updates and
PreToolUse hooks enforcing query-before-grep in Claude Code sessions.

- graphify-out/: graph.json, GRAPH_REPORT.md, labels, manifest, root ptr
- .claude/settings.json: PreToolUse hooks (graphify query enforcement)
- CLAUDE.md: graphify section added by `graphify claude install`
- .gitignore: exclude cache/, graph.html, settings.local.json
- vite.config.ts: exclude graphify-out/ from HMR watch

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Scott Idem
2026-06-23 21:59:24 -04:00
parent dcc0f9a05b
commit 28ef0e9d3f
12 changed files with 72829 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ export default defineConfig({
server: {
watch: {
// Do not trigger HMR/reload for documentation or test files
ignored: ['**/documentation/**', '**/tests/**']
ignored: ['**/documentation/**', '**/tests/**', '**/graphify-out/**']
}
},
optimizeDeps: {