Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
TypeScript antigravity-skillsbusiness-knowledgeclaude-codeclaude-skillscodebase-analysiscodexcodex-skillsdeveloper-tools-ai-agentgemini-cli-skillskarpathy-llm-wikiknowledge-baseknowledge-graphmemoryopencode-skillspi-agentunderstandcodevibe-coding
docs(claude): update data-directory convention to .ua with legacy fallback
Lum11043a40c241d42d
diff --git a/CLAUDE.md b/CLAUDE.mdindex bed0248c..3d619137 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -25,7 +25,7 @@ An open-source tool combining LLM intelligence + static analysis to produce inte- Schema validation on graph load with error banner## Agent Pipeline-- Agents write intermediate results to `.understand-anything/intermediate/` on disk (not returned to context)+- Agents write intermediate results to the data directory's `intermediate/` subdirectory on disk (not returned to context) — `.ua/intermediate/`, or `.understand-anything/intermediate/` when that legacy directory is present- Agent model field is omitted from frontmatter so each platform falls back to its configured default — `inherit` was a Claude Code-only keyword that opencode (and similar tools) treated as a literal model id and rejected with `ProviderModelNotFoundError` (see #167)- `/understand` auto-triggers `/understand-dashboard` after completion- Intermediate files cleaned up after graph assembly@@ -44,7 +44,7 @@ An open-source tool combining LLM intelligence + static analysis to produce inte- TypeScript strict mode everywhere- Vitest for testing- ESM modules (`"type": "module"`)-- Knowledge graph JSON lives in `.understand-anything/` directory of analyzed projects+- Knowledge graph JSON lives in the analyzed project's data directory: `.ua/` for new projects, or the legacy `.understand-anything/` directory when it already exists (if `.understand-anything/` is present it is used for both reads and writes; otherwise `.ua/`). All bundled scripts and core code self-resolve this rule.- Core uses subpath exports (`./search`, `./types`, `./schema`) to avoid pulling Node.js modules into browser## Gotchas@@ -52,7 +52,7 @@ An open-source tool combining LLM intelligence + static analysis to produce inte- **Dashboard imports**: Dashboard must only import from core's browser-safe subpath exports (`./search`, `./types`, `./schema`), never the main entry point which pulls in Node.js modules## Scripts-- `scripts/generate-large-graph.mjs` — Generates a fake knowledge graph for performance testing (e.g. large-graph layout). Writes to `.understand-anything/knowledge-graph.json`. Usage: `node scripts/generate-large-graph.mjs [nodeCount]` (default: 3000 nodes). Not part of the production pipeline.+- `scripts/generate-large-graph.mjs` — Generates a fake knowledge graph for performance testing (e.g. large-graph layout). Writes to the project data directory's `knowledge-graph.json` (`.ua/knowledge-graph.json`, or `.understand-anything/` when that legacy directory is present). Usage: `node scripts/generate-large-graph.mjs [nodeCount]` (default: 3000 nodes). Not part of the production pipeline.## VersioningWhen pushing to remote, bump the version in **all five** of these files (keep them in sync):