Repository navigation
ELCODE Forge v0.6.0 - Git Hooks, Terminal UX Modernization & Zero-Install Distribution
ELCODE Forge (eforge) v0.6.0
Know your code. Ship with confidence.
"Software should feel like an instrument, not a compromise." — "Deterministic before generative."
We are proud to release ELCODE Forge v0.6.0, marking the complete delivery of Phase 6 (Git Hooks, Terminal UX Modernization & Zero-Install Distribution) under the ELCODE Studio Manifesto.
With v0.6.0, engineering teams gain native Git hooks with sub-200ms staged-diff scanning, a modernized terminal UX with rich ANSI themes and health score meters, and friction-free zero-install distribution via npx @elcode-forge/cli, standalone shell/PowerShell installers, and Homebrew tap.
Highlights in v0.6.0 (Phase 6 Completed)
1. Native Git Hooks Engine (Phase 6A, Epic #129)
- Hooks Schema & Lifecycle (
forge-core&forge-git):- Declarative Git hooks configuration via
hooksblock ineforge.config.yaml(pre-commit,pre-push,commit-msg). - Safe hook scripts installation into
.git/hooks/with automated backup of existing non-eforge hooks (.backup). - Multi-tier bypass detection supporting standard environment variables (
EFORGE_SKIP_HOOKS=1,GIT_EXEC_PATH,--no-verify).
- Declarative Git hooks configuration via
- CLI Subcommand
eforge hook(forge-cli):eforge hook install [--hook-types pre-commit,pre-push,commit-msg]: Installs POSIX-compliant shell wrappers into the target Git repository.eforge hook run <HOOK_TYPE> [--dry-run]: Executes fast pre-commit inspection or full pre-push scan.eforge hook uninstall: Safely restores original user hooks from backups.eforge hook status: Displays hook installation status and active lifecycle stages.- Sub-200ms staged-diff scanner filtering uncommitted/staged files against active declarative and built-in rules.
2. Terminal UX Modernization (Phase 6B, Epic #132)
- TTY-Aware ANSI Theme & Score Meter (
theme.rs):- Zero-dependency ANSI styling system automatically respecting
NO_COLOR, non-TTY streams, andCIenvironments. - Visual 10-segment health score meter (
[████████░░] 82/100) with color gradients reflecting repo health. - Consistent ELCODE brand badges, severity badges, confidence indicators, and actionable diagnostic boxes.
- Zero-dependency ANSI styling system automatically respecting
- Rich Terminal Formatters (
formatters/terminal.rs):- Milestone progress headers with microsecond-level timing and execution metrics.
- Snippet evidence viewer with line numbering, file location links, and highlighted problematic tokens.
- Structured summaries for
eforge scan,eforge review,eforge rules list, andeforge doctor.
3. Zero-Install Distribution & Multi-Platform Delivery Suite (Phase 6C, Epic #135)
- Zero-Install npm Package
@elcode-forge/cli(packages/forge-cli-npm/):- Seamless
npx @elcode-forge/cli scanexecution without requiring a pre-installed Rust toolchain. - Dynamic platform and architecture resolution (Linux x86_64, macOS Apple Silicon / Intel, Windows x86_64).
- SHA256 checksum verification against official release manifests and local caching in
~/.eforge/bin/.
- Seamless
- Universal Installers & Package Registry Support:
- Standalone POSIX script
scripts/install.shfor Linux and macOS with custom--prefixsupport. - PowerShell script
scripts/install.ps1for Windows with automated UserPATHregistration. - Homebrew tap formula
packaging/homebrew/eforge.rbfor macOS / Linuxbrew users. - Direct binary installation via
cargo-binstallconfigured in rootCargo.toml.
- Standalone POSIX script
- E2E Integration Testing & Documentation:
- Comprehensive Git hooks integration test suite in
crates/forge-cli/tests/hooks_e2e.rs. - Updated
README.mdwith zero-install commands, hook setup guides, and cross-platform installation matrices. - Synchronized workspace version
0.6.0across Rust crates and npm packages.
- Comprehensive Git hooks integration test suite in
Verification & Self-Dogfooding
- Test Suite: All automated unit and integration tests passing cleanly across the workspace.
- Zero Linter Warnings:
cargo fmt,cargo clippy --all-targets -- -D warnings,pnpm run check,pnpm run lintall exit code0. - Self-Dogfooding Health Score:
eforge doctorexecutes in <100ms with 0 warnings, andeforge scanpasses with 100% compliance.