Skip to content

Releases: rhi-zone/normalize

Normalize CLI v0.2.0

25 Mar 08:06

Choose a tag to compare

Added

  • normalize ci — single entry point for CI pipelines. Runs syntax, native, and fact rules in one command. Supports --sarif output, --strict mode (warnings as errors), and --no-syntax/--no-native/--no-fact flags to disable individual engines. Emits a warning diagnostic (rather than failing) when the index has not been built yet.
  • normalize ratchet — metric regression tracking. ratchet check compares current metrics (line count, function count, complexity, call-graph complexity) against a stored baseline and fails if any regress; ratchet update advances the baseline; ratchet add/remove manage tracked metrics.
  • normalize budget — diff-based code growth limits. budget check enforces per-file or per-directory line/function ceilings relative to a base ref; budget add/update manage budget entries.
  • Install scripts with SHA256 checksum verification — auto-detect platform, verify checksum, install to ~/.local/bin (Unix) or %LOCALAPPDATA%\Programs\normalize (Windows). Version pinning via NORMALIZE_VERSION env var.
  • JIT compilation for Datalog rule evaluation on x86_64 Linux and Windows (via ascent-interpreter 0.1.5). aarch64 uses interpreted evaluation.
  • Incremental Datalog evaluation: the daemon now warms the rule engine cache after each index refresh, so subsequent normalize rules run calls retract and re-derive only affected strata rather than running a full cold evaluation.

Improved

  • 15 rounds of API polish: cleaner --help text, consistent report naming, complete error propagation, and improved error messages across all commands.

Installation

Linux / macOS

curl -fsSL https://rhi.zone/normalize/install.sh | sh

Windows (PowerShell)

irm https://rhi.zone/normalize/install.ps1 | iex

Manual download: pick the archive for your platform from the assets below and verify with SHA256SUMS.txt.