Skip to content

Releases: KangBasrengg/MRI-Code

codemri released

Choose a tag to compare

@KangBasrengg KangBasrengg released this 27 Jul 05:49

🚀 Release Notes: CodeMRI v1.0.0 ("MRI") — Stable Worldwide Release 🎉

We are beyond thrilled to officially launch CodeMRI v1.0.0 ("MRI") — the first stable public release of the world's first Offline-First Neural Repository Intelligence Platform.

This release represents the culmination of 10 engineering milestones (Genesis → Atlas → Neuron → Pulse → Vision → Cortex → Shield → Velocity → Forge → MRI), each building upon the last to deliver a complete repository understanding engine.


📦 One-Line Terminal Installation (Multi-OS Support)

# Windows (PowerShell)
winget install --id KangBasrengg.CodeMRI -e --source winget || iwr -useb https://raw.githubusercontent.com/KangBasrengg/MRI-Code/main/install.ps1 | iex

# macOS (Homebrew)
brew install kangbasrengg/tap/codemri || curl -fsSL https://raw.githubusercontent.com/KangBasrengg/MRI-Code/main/install.sh | sh

# Linux (Universal Shell Installer)
curl -fsSL https://raw.githubusercontent.com/KangBasrengg/MRI-Code/main/install.sh | sh

# Go Developers (Runtime v1.22+)
go install github.com/KangBasrengg/MRI-Code/cmd/codemri@latest

🎯 Complete Feature Set in v1.0.0

Phase 1-5 (Foundation → Visualization)

  • Genesis: Monorepo architecture, CLI engine, interface contracts
  • Atlas: High-speed concurrent scanning, multi-language AST parsing (12+ languages)
  • Neuron: CGO-free embedded SQLite relational graph engine
  • Pulse: Dead code detection, circular dependencies, health scoring (A+ to F)
  • Vision: 60FPS interactive force-directed topology canvas with impact analysis

Phase 6: ⚡ Cortex — AI Reasoning Engine

  • codemri explain "How does authentication work?" — ask natural language questions
  • Offline-first: traverses the NRG graph structure, not raw source code
  • Keyword extraction, relevance scoring, and structural insight generation
  • Zero API keys required for local reasoning (ADR-0002 compliant)

Phase 7: 🛡️ Shield — Security Intelligence

  • Hardcoded secret detection (AWS keys, GitHub tokens, JWT, database URLs, private keys)
  • SQL injection, XSS, CSRF, code injection, and open redirect pattern matching
  • Weak cryptography warnings (MD5/SHA1 usage)
  • Security grade scoring (A+ to F) with .codemri/security.json output

Phase 8: 🚀 Velocity — Performance Intelligence

  • Large file detection (>50KB source files flagged)
  • Heavy import analysis (>15 imports per file)
  • Duplicate package name detection across directories
  • Performance grade scoring with .codemri/performance.json output

Phase 9: 🔨 Forge — Plugin Extensibility Foundation

  • codemri graph [query] — terminal-based NRG query interface with search and JSON output
  • API endpoints for impact analysis (/api/graph/impact/:id)
  • Structured JSON output for all analysis reports (pulse, security, performance)
  • Foundation for community-built extensions and integrations

🏗️ Complete CLI Command Set

Command Description
codemri One-command workflow: auto-scan + launch dashboard
codemri scan . Scan repository and build NRG SQLite database
codemri analyze . Run Pulse + Shield + Velocity analysis suite
codemri serve Launch interactive dashboard at localhost:4000
codemri graph [query] Query NRG topology from terminal
codemri explain "question" AI reasoning over repository architecture
codemri doctor System diagnostics and environment check
codemri version Display version, codename, and runtime info

🛡️ 100% Offline & Enterprise Patent Security

Governed by ADR-0001 (Single Source of Truth) and ADR-0002 (Local Privacy). Your proprietary code never leaves your machine.


Licensed under Apache 2.0 • Built with ❤️ by Muhammad Nuril (@KangBasrengg) and the CodeMRI community

update v0.5.0

Choose a tag to compare

@KangBasrengg KangBasrengg released this 27 Jul 05:19

🚀 Release Notes: CodeMRI v0.5.0 ("Vision")

We are thrilled to officially unveil CodeMRI v0.5.0 ("Vision") — the definitive interactive release completing all primary milestone targets outlined in our initial Product Requirement Document (PRD).


📦 One-Line Terminal Installation (Multi-OS Support)

Experience ultra-fast, offline repository analysis instantly on your preferred operating system:

# Windows (PowerShell via Winget or pre-built scripts)
winget install --id KangBasrengg.CodeMRI -e --source winget || iwr -useb https://raw.githubusercontent.com/KangBasrengg/MRI-Code/main/install.ps1 | iex

# macOS (Homebrew or universal terminal installer)
brew install kangbasrengg/tap/codemri || curl -fsSL https://raw.githubusercontent.com/KangBasrengg/MRI-Code/main/install.sh | sh

# Linux (Debian, Ubuntu, Arch, Fedora - Universal Shell Installer)
curl -fsSL https://raw.githubusercontent.com/KangBasrengg/MRI-Code/main/install.sh | sh

# Go Developers (Native Compile via Runtime v1.21+)
go install github.com/KangBasrengg/MRI-Code/cmd/codemri@latest

💥 What's New in v0.5.0 ("Vision")?

1. 🕸️ 60FPS Interactive Force-Directed Topology Canvas

  • Launch codemri in any repository and open http://localhost:4000 to interactively navigate your codebase graph!
  • Watch struct, function, and package symbols dynamically organize themselves via smooth Coulomb force repulsion and Hooke spring attraction directly inside your browser.
  • 100% Offline CGO-free & CDN-free: Built totally independent of external third-party internet scripts to protect corporate air-gapped environments.

2. 🚨 Sub-Millisecond Architecture Impact Engine (/api/graph/impact/:id)

  • Interactive Blast Radius: Click on any structural node in the visual simulation to instantly uncover its cascading ripple effects.
  • Upstream & Downstream Mapping: Real-time calculation of upstream dependent callers and downstream dependency layers via the SQLite relational engine.
  • Automated Severity Assessment: Highlights potential architectural refactor bottlenecks with actionable AI defensive recommendations.

3. ✨ UI & UX Enhancements

  • Synchronized versioning metadata across both CLI runtime outputs and official web branding UI (localhost:5173).
  • Enhanced dark-mode glassmorphism styling and interactive node inspection panels.

🛡️ 100% Offline & Enterprise Patent Security

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 Muhammad Nuril (@KangBasrengg)

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

codemri

Choose a tag to compare

@KangBasrengg KangBasrengg released this 27 Jul 03:26

🧠 Release v0.3.0 ("Neuron") — Embedded SQLite Relational Graph Engine

We are excited to announce CodeMRI v0.3.0 (Codename: "Neuron")! ⚡

In Phase 03 ("Neuron"), CodeMRI overcomes the architectural bottlenecks of standard flat file parsing by implementing a High-Performance Embedded SQLite Relational Engine locally inside .codemri/graph.db—compiled completely CGO-free so it runs out-of-the-box on Windows, macOS, and Linux without needing GCC or external database daemons!


🔥 Highlights & Core Innovations

  • 🚀 Pure-Go SQLite Relational Engine (.codemri/graph.db):
    Replaced static flat JSON structures with relational SQL tables (nodes, edges, metadata). Enables sub-millisecond querying over thousands of symbols and complex structural bindings without RAM bloat.
  • 🔗 Sub-Millisecond Relational Bonds API (/api/graph/summary & /api/graph):
    Provides instantaneous HTTP JSON responses for visual dashboards and external local AI reasoning tools over port 4000.
  • 🎨 Reactive Dark-Mode Web Dashboard:
    Running codemri opens an ultra-premium, interactive dashboard displaying live language distributions, symbol topologies, and relational dependency counts directly in your browser!
  • 🛡️ 100% Offline & Local CPU Processing:
    Strict compliance with ADR-0002. Zero lines of your proprietary source code are ever uploaded or transmitted to third-party endpoints.

📦 Installation

# Install or upgrade to v0.3.0 Neuron via Go
go install github.com/KangBasrengg/MRI-Code/cmd/codemri@v0.3.0

⚡ Quickstart Commands

# Navigate into any project and execute our killer one-word command
cd your-repository-dir
codemri

# Or explicitly launch the reactive web server on custom ports
codemri serve --port 4000

📖 Technical Specification

Explore the underlying architecture and SQL schema designs in our official Phase 03 ("Neuron") Specification.


Licensed under Apache 2.0 • Built with ❤️ by @KangBasrengg

codemri

Choose a tag to compare

@KangBasrengg KangBasrengg released this 27 Jul 03:23

🗺️ Release v0.2.0 ("Atlas") — High-Speed AST Parsing & Concurrent Worker Pools

We are thrilled to ship CodeMRI v0.2.0 (Codename: "Atlas")! 🗺️

In this release, CodeMRI scales to massive monorepos by implementing a deterministic Multi-Language AST Parsing Engine combined with an asynchronous concurrent worker pool architecture. Scan 10,000+ files across a dozen programming languages in mere seconds—without cloud API throttling or high RAM usage.


🔥 Highlights & Core Innovations

  • 🔍 Universal Deterministic AST Parser (internal/parser/):
    Native semantic analysis supporting 11 industry-standard languages out-of-the-box:
    Go, TypeScript, JavaScript, Python, Java, PHP, Rust, SQL, HTML, CSS, and Docker. Zero external tooling or JVM/Node binaries required!
  • High-Speed Concurrent Worker Pool Engine (internal/scanner/):
    Distributes structural file scanning asynchronously across your local CPU cores. Handles deep directory structures cleanly while automatically ignoring build output artifacts and .git caches.
  • 📊 Authoritative Repository Language Distribution:
    Generates detailed byte and line-of-code breakdown statistics per syntax domain within .codemri/repository.json.

📦 Installation

go install github.com/KangBasrengg/MRI-Code/cmd/codemri@v0.2.0

🚀 Quickstart Commands

# Force a deep concurrent structural AST scan on your project
codemri scan .

# Launch interactive UI to review parsed symbol topologies
codemri serve

Licensed under Apache 2.0 • Built with ❤️ by @KangBasrengg

codemri

Choose a tag to compare

@KangBasrengg KangBasrengg released this 27 Jul 01:09

🌟 Release v0.1.0 ("Genesis") — Core Intelligence & Monorepo Foundation

We are proud to present the debut release of CodeMRI v0.1.0 (Codename: "Genesis")! 🚀

CodeMRI works like an automated medical MRI scanner for your software projects. Rather than relying on cloud LLM inference that acts as a blind text predictor, Genesis establishes an offline-first Neural Repository Graph (NRG) foundation to map dependencies, structural interfaces, and execution paths in milliseconds.

🔥 Key Innovations & Core Specifications

  • 📐 Monorepo Architecture & Single Source of Truth:
    Establishes standard structural schemas across all packages in accordance with ADR-0001. All AST parsers and analysis pipelines write to a unified immutable domain schema (graph.NeuralRepositoryGraph).
  • Zero-Friction Native CLI Engine:
    Implemented in robust, statically compiled Go (internal/cli via Cobra & Color). No bulky JavaScript runtimes or Java interpreters required—launches in under 5ms.
  • 🩺 Environmental Diagnostics (codemri doctor):
    Built-in system integrity checks to verify disk read limits, RAM availability, and language environment binaries.

📦 Installation & Quickstart

# Install global engine natively
go install github.com/KangBasrengg/MRI-Code/cmd/codemri@v0.1.0

# Verify installation & machine readiness
codemri version
codemri doctor