2026-11-27 16:22 UTC

CXGRD releases CLI for architectural checks in AI-assisted coding

state: expiredheat: lowuncertainty: mediumrelevance: mediumagent-harnesses coding-agents software-guardrailsCXGRD

What is this?

CXGRD’s GitHub repository presents a released v1.0.0 CLI for adding architectural checks to AI-assisted software development. It says the tool scans a project into a dependency graph, estimates the blast radius of proposed changes, generates prompts enriched with codebase context, checks architecture and compiler output, and can enforce merge policies through GitHub Actions. These are product capabilities described by CXGRD; the supplied sources do not independently verify their effectiveness or adoption.

Why it matters

CXGRD targets a practical gap in AI-assisted coding: code can compile while still violating a project’s architecture. Its CLI aims to put dependency and architectural context into coding prompts, then check changes and apply CI merge policies. If effective, this could help teams use coding agents in larger codebases without relying solely on reviewers to catch structural regressions. The evidence establishes a released tool and its stated features, not their effectiveness or adoption.

Current assessment

CXGRD’s GitHub repository presents a v1.0.0 CLI that scans projects into dependency graphs, estimates change blast radius, enriches prompts with codebase context, checks for issues such as circular dependencies and layer violations, and offers compiler-backed validation and GitHub Actions merge policies. The project also lists commands for monitoring dependencies and installing pre-commit checks. These are vendor-described capabilities; supplied sources provide no independent evaluation, adoption data, or evidence that the tool reliably identifies or blocks risky changes. The main significance is a developer-tooling approach to making architectural constraints part of AI-assisted coding workflows, rather than treating compilation or model quality as sufficient safeguards.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

09-20 04:21 (minted)⭐ origin echo-reconstructedThe released CLI scans projects into dependency graphs, supplies blast-radius context to AI assistants, validates architecture, and enforces
CXGRD on github (echo) · attributed from hn.story.49772473 · published time unknown
—
09-20 04:17first on hacker news · published · lag ?Show HN: Architectural Guardrails for AI native development
geekgod382
—
09-20 04:17amplified on hacker news 👑hn.story.49772473
geekgod382
peak 5 · 0 comments · 99% of case engagement
09-20 04:20our radar first saw it · lag ?discovery anchor: hn.story.49772473—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Architectural Guardrails for AI native development
Retrieved article excerpt

Open article · Retrieved 2026-09-20T04:21:28.350304+00:00

|  |  |
| --- | --- |
| [CXGRD logo](https://camo.githubusercontent.com/3b72c12686ed92316ac667b53b4c14944450e7efe90c64c256f1e2a4c087e0c5/68747470733a2f2f7777772e63786772642e636f6d2f63786772646c6f676f2e706e67) | CXGRD |

[License](https://camo.githubusercontent.com/1fd9f03569634d0b793dc2be729eab6b73fd190399c23b1f6457c97e49109203/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542532302d3466356437353f7374796c653d666c61742d737175617265)
[Release](https://camo.githubusercontent.com/52488be0b731d84f2b2deba77723a898e203b5404ff5a5edaa504814541be63f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f72656c656173652d76312e302e302d3862356366363f7374796c653d666c61742d737175617265)

# Architectural Guardrail for AI-native development

CXGRD maps blast radius across your codebase, so AI tools know what they will break - before they write a line

[example workflow](https://github.com/cxgrd/cli/blob/main/.github/profile/assets/example-flow.png)

**CXGRD** scans your project, builds a dependency graph, and gives AI assistants the architectural context they need to make safer changes.

- **Tell you exactly what will break** before a change lands.
- **Enrich AI prompts** with project structure, dependencies, and blast-radius analysis.
- **Validate architecture** with circular dependency checks, orphan detection, and compiler-backed validation.
- **Enforce merge policies** in GitHub Actions to protect your team from risky changes.

---

### Typical workflow

```
# 1. Install
npm install -g cxgrd

# 2. Authenticate
cxgrd auth login
# Required for Pro, Team, and Enterprise plans

# 3. Scan your project
cxgrd scan

# 4. Check blast radius before a change
cxgrd input "extract UserService into a separate module"

# 5. Generate an enriched prompt for your AI
cxgrd prompt "extract UserService into a separate module"

# 6. Validate the result
cxgrd check
```

### See it in action

CXGRD-Demo.mp4

[
](https://private-user-images.githubusercontent.com/181568300/654679638-7ea3ff22-d187-4166-9a84-1395bf7a625a.mp4?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODk4NzgzODcsIm5iZiI6MTc4OTg3ODA4NywicGF0aCI6Ii8xODE1NjgzMDAvNjU0Njc5NjM4LTdlYTNmZjIyLWQxODctNDE2Ni05YTg0LTEzOTViZjdhNjI1YS5tcDQ_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwOTIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDkyMFQwNDIxMjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05NGEwOThiODZjMGFhNGQ4YjVmMDgzNTBlODQ3YzJhNjAwYWJiNjc4NjM2YTI5ODYxOGY0NTJjOGJhZDA2Mzk4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9dmlkZW8lMkZtcDQifQ.Y2Ieq-9y6-RL304bjth5gSfEiUvJUxqo-3Aqx6Z7xSc)


---

### Core commands

- `cxgrd scan` → writes .cg/ from scratch or diffs it
- `cxgrd input` → reads graph + architecture + history, writes to history.json
- `cxgrd prompt` → reads everything, sends a subgraph to your LLM, and returns an enriched prompt
- `cxgrd check` → reads graph + compiler output, writes result to history.json
- `cxgrd auth login` → log in for Pro, Team, and Enterprise users
- `cxgrd doctor` → verifies toolchain readiness before strict checks
- `cxgrd watch` → monitors dependency changes in real time
- `cxgrd init-hooks` → installs pre-commit checks automatically

---

For more information, visit the [official website](https://www.cxgrd.com) or read the docs [here](https://docs.cxgrd.com).

[Report Bug](https://github.com/cxgrd/cli/issues/new/choose) · [Request Feature](https://github.com/cxgrd/cli/issues/new/choose)
geekgod38250
🟧 echo.github ⭐The released CLI scans projects into dependency graphs, supplies blast-radius context to AI assistants, validates architecture, and enforcesCXGRD——

Interpretation history

Decision trace