Persistent dependency memory
CXGRD writes structural intelligence to a local .cg/ folder so your architecture context survives across AI sessions.
.cg/graph.json · symbols.json · arch.json · history.json
cxgrd is a lightweight developer CLI that maps codebase dependencies, computes downstream blast radius before sweeping AI edits, and checks generated diffs for structural and logic risks before commit.
See CXGRD in action with this quick walkthrough.
Cursor, Claude Code and other tools guard what the AI does in your editor — permissions, hooks, rules, one session at a time. CXGRD guards what actually merges — dependency-graph-aware, enforced org-wide, regardless of which tool or person wrote the code.

AI coding tools are fast, but they are often stateless and context-limited. CXGRD adds architectural memory and dependency-aware safety checks so velocity does not come at the cost of production stability.
CXGRD writes structural intelligence to a local .cg/ folder so your architecture context survives across AI sessions.
.cg/graph.json · symbols.json · arch.json · history.json
Before prompting AI to change code, CXGRD shows what modules, schemas, and APIs will be impacted downstream.
Unlike session-level AI guardrails, blast radius analysis persists across tools and sessions
Generate architecture-aware prompts with the right file context instead of relying on temporary agent memory.
Improves AI output quality on large codebases
Check AI-generated diffs for logic gaps, missing imports, and dependency breakage before shipping to production.
Designed for safe, high-velocity AI-native workflows
A command-first flow that fits naturally into modern AI-assisted coding loops.
scan
Crawls the repo and builds dependency + symbol graphs.
Creates and updates .cg/ graph memory.
input
Analyzes a planned change and computes blast radius.
Returns impacted files and architectural dependencies.
prompt
Builds an architecture-aware prompt for your AI assistant.
Produces enriched prompt context for safer code generation.
check
Verifies implementation quality with compiler-backed checks.
Flags structural issues before merge or commit.
A lightweight TypeScript CLI paired with a cloud backend — no native dependencies, works anywhere Node runs.