You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5a2e001
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CLAUDE.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,10 @@
2
2
3
3
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4
4
5
+
## CRITICAL BEHAVIORS (Always Follow)
6
+
-**Auto-Update Documentation:** Whenever you modify codebase logic, add new screens, change configuration, or alter the architecture, you **MUST automatically update the corresponding markdown files in the `docs/` directory** in the same set of changes. Do not ask for permission to update the docs; just do it so they never drift from the source code.
7
+
-**Auto-Update Graphify:** After modifying code, run `graphify update .` to keep the AST/knowledge graph current (AST-only, no API cost).
8
+
5
9
## graphify
6
10
7
11
This project has a knowledge graph at graphify-out/ with god nodes, community structure, and cross-file relationships.
@@ -10,7 +14,6 @@ Rules:
10
14
- For codebase questions, first run `graphify query "<question>"` when graphify-out/graph.json exists. Use `graphify path "<A>" "<B>"` for relationships and `graphify explain "<concept>"` for focused concepts. These return a scoped subgraph, usually much smaller than GRAPH_REPORT.md or raw grep output.
11
15
- If graphify-out/wiki/index.md exists, use it for broad navigation instead of raw source browsing.
12
16
- Read graphify-out/GRAPH_REPORT.md only for broad architecture review or when query/path/explain do not surface enough context.
13
-
- After modifying code, run `graphify update .` to keep the graph current (AST-only, no API cost).
14
17
15
18
## Commands
16
19
@@ -36,7 +39,7 @@ There are no runtime environment variables — the app reads no `process.env`/`E
36
39
37
40
## Documentation
38
41
39
-
`docs/` is a maintained, current reference — prefer it over re-deriving things from source:
42
+
`docs/` is a maintained, current reference — prefer it over re-deriving things from source. **You must keep these files updated when you change the code**:
40
43
-`docs/getting-started.md` — setup, run commands, common startup failures
41
44
-`docs/architecture.md` — full runtime structure, navigation, data flow, file-by-file
42
45
-`docs/project-structure.md` — why each `src/` folder exists and its boundaries
0 commit comments