Skip to content

update v0.4.0

Choose a tag to compare

@KangBasrengg KangBasrengg released this 27 Jul 03:29

πŸ’“ Release v0.4.0 ("Pulse") β€” Architectural Technical Debt & Health Intelligence

We are thrilled to announce the official release of CodeMRI v0.4.0 (Codename: "Pulse")! πŸš€

In this milestone release, CodeMRI evolves from a passive syntactic dependency indexer into an Active Architectural Diagnostic Engine. Built entirely in pure Go with zero CGO dependencies, Pulse computes system technical debt, isolates forgotten dead code, and detects cyclical architectural anti-patterns locally in sub-millisecond speeds.


πŸ”₯ Highlights & Core Innovations

  • πŸ† Authoritative Repository Health Scoring (0–100 & Grades A+ to F):
    Synthesizes dead code rates, circular coupling loops, comments documentation ratio, and structural complexity density into an actionable executive grade.
  • 🧟 Dead Code & Isolated Symbol Discovery:
    Traverses structural incoming bindings (CALLS, IMPORTS, DEPENDS_ON, QUERIES) across the SQLite Neural Repository Graph (NRG). Accurately flags unreferenced private functions and redundant boilerplate while intelligently exempting exported public interfaces and framework entry points.
  • πŸ” Circular Dependency Loop Analyzer:
    Implements high-speed Depth-First Search (DFS) with recursion stack tracking to instantly expose architectural deadlocks and spaghetti import cycles (e.g., pkg/A βž” pkg/B βž” pkg/A).
  • βš™οΈ Cyclomatic Complexity Hotspot Ranking:
    Identifies structural density hotspots and classifies source files into severity strata: Low, Moderate, High, or Extreme Technical Debt.
  • πŸ’‘ Actionable AI Reasoning Advice:
    Provides prioritized human-readable architecture refactoring guidance directly in your terminal and visual web dashboard.

πŸ“¦ Zero-Friction Installation & Quickstart

Install or upgrade to v0.4.0 natively via Go (no Node.js or JVM required):

# Upgrade your global CodeMRI engine
go install github.com/KangBasrengg/MRI-Code/cmd/codemri@v0.4.0

# Alternatively, build directly from the main release branch
go install github.com/KangBasrengg/MRI-Code/cmd/codemri@latest

⚑ The "One-Word" Killer Workflow

Navigate into any enterprise codebase or personal project and run:

# Execute standalone technical debt and health diagnostics
codemri analyze .

# Or run the universal 1-command workflow (indexes Pulse diagnostics & launches Web UI on port 4000)
codemri

πŸ“Š Reactive Visual Web Dashboard (Port 4000)

When you run codemri, our interactive dark-mode web UI automatically consumes .codemri/pulse.json via /api/pulse, rendering:

  • Real-time Neon Health Score & Debt Grade Cards
  • Live dead code counters & circular loop badges
  • Automated AI structural recommendations

πŸ›‘οΈ 100% Offline & Enterprise Patent Security

As always, CodeMRI is governed by ADR-0001 (Single Source of Truth) and ADR-0002 (Local Privacy). Your proprietary repository is analyzed entirely on your local CPU and disk using our embedded SQLite relational engine. Zero source code is ever transmitted to cloud endpoints.


Licensed under Apache 2.0 β€’ Built with ❀️ by @KangBasrengg