graphify · diff
git:20260626.cac9d59 to git:20260714.353f8b0
13 added, 17 removed. Audit A to A.
What this update changes in the checks
No check changed: every fixed check gives the same answer before and after this update.
A tripped check is a label, not a verdict: read the matched text and the lines below. This week's updates that newly trip a check.
---
- description: graphify knowledge graph context
+ description: Graphify knowledge graph first. Use before grep/read.
+ globs: []
alwaysApply: true
---
- This project has a graphify knowledge graph at graphify-out/.
-
- **MANDATORY: Before using Read, Grep, Glob, or Bash to explore the codebase, you MUST run graphify first:**
- - `graphify query "<question>"` — scoped subgraph for any codebase or architecture question
- - `graphify path "<A>" "<B>"` — dependency path between two symbols
- - `graphify explain "<concept>"` — all nodes related to a concept
-
- This applies to YOU and to every subagent you spawn. Include this rule explicitly in every subagent prompt that involves code exploration. Do not skip graphify because files are "already known" or because you are executing a plan — the graph surfaces cross-file dependencies and INFERRED edges that grep and Read cannot find.
-
- Only use Read/Grep/Glob directly when:
- 1. graphify has already oriented you and you need to modify or debug specific lines
- 2. `graphify-out/graph.json` does not exist yet
-
- - If `graphify-out/wiki/index.md` exists, navigate it instead of reading raw files
- - Read `graphify-out/GRAPH_REPORT.md` only for broad architecture review when query/path/explain do not surface enough context
- - After modifying code files, run `graphify update .` to keep the graph current (AST-only, no API cost)
+ [FILE] graphify.mdc
+ [OBJ] Knowledge graph orientation rule.
+ [RULES]
+ 1. [REQ] If `graphify-out/graph.json` exists, use graphify BEFORE raw grep/read.
+ 2. [CMD] `graphify query "<question>"` for architecture/codebase questions.
+ 3. [CMD] `graphify path "<A>" "<B>"` for dependency paths.
+ 4. [CMD] `graphify explain "<concept>"` for related concepts.
+ 5. [REQ] Include this rule in every subagent prompt doing code exploration.
+ 6. [CMD] If `graphify-out/wiki/index.md` exists, navigate it.
+ 7. [CMD] Read `graphify-out/GRAPH_REPORT.md` only when query/path/explain fail.
+ 8. [CMD] Run `graphify update .` after any code edit.