ucm-cli
Command-line interface for the Unified Context Management (UCM) engine. Installs the
ucmbinary.
ucm-cli brings the full UCM pipeline to your terminal and CI: scan a codebase,
inspect the dependency graph, and ask "I changed X — what breaks, and what should
I test?" — all offline, with optional JSON output for automation.
Install
# or, from this workspace:
Subcommands
| Command | What it does |
|---|---|
ucm scan <path> |
Parse source files and build the dependency graph |
ucm graph <path> |
Show graph statistics (optionally --export) |
ucm impact <file> <symbol> |
Reverse-BFS impact analysis for a changed symbol |
ucm intent <file> <symbol> |
Test-intent recommendations from the impact report |
All commands accept --language (typescript · javascript · rust · python),
--package-root (Python absolute-import resolution), and --no-limit (research
mode; raises the community 500-entity cap to 50,000).
Examples
# Build and summarize a graph for a Rust project
# What is impacted when validateToken changes? (JSON for CI)
# Turn that into a prioritized test plan
# Scan a large Python codebase in research mode
Where it fits
The CLI is a thin shell over the workspace libraries: it uses
ucm-ingest to parse code, ucm-graph-core +
ucm-events to build the graph, and ucm-reason
to produce impact and intent reports. The --json output is designed to be wired
into pull-request checks so every change ships with a blast-radius report.
License
MIT — see LICENSE.