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

10
.gitignore vendored
View File

@@ -33,4 +33,12 @@ tmp/
temp/
*.kate-swp
test_results
test-results
test-results
# graphify knowledge graph — exclude derived/cache files
graphify-out/cache/
graphify-out/graph.html
src/graphify-out/
# Claude Code local settings (machine-specific)
.claude/settings.local.json