Skip to content

heavy-gate v1.0.0

Choose a tag to compare

@vsolano9 vsolano9 released this 15 Oct 17:34
· 1 commit to main since this release

First public release of heavy-gate: run builds and renders through a shared slot and free-memory gate on Windows, Linux, and macOS.

heavy run -- COMMAND starts a command only when a slot is free and available physical memory meets the configured floor, so heavy work from parallel agent sessions, subagents, and scripts on one machine starts a few at a time instead of all at once. It controls admission only: a command that is already running can still use as much memory as it needs. It runs locally, needs no service or account, and makes no network requests.

Highlights

  • Shared admission across processes of one user: kernel locks (Windows named mutexes, Unix flock) that free their slot at once when a holder crashes or is killed.
  • Native memory readings: GlobalMemoryStatusEx on Windows, MemAvailable on Linux, kern.memorystatus_level on macOS.
  • Child cleanup: a kill-on-close Job Object on Windows, signal forwarding on Unix, and a parent-death signal for the direct child on Linux.
  • Machine-sized defaults from RAM and CPU count, a TOML config with clear per-key warnings, heavy config to show effective values, heavy status to show holders and memory.
  • An optional Claude Code PreToolUse hook (heavy hook) that denies unwrapped builds and suggests the wrapped command, with heavy check to test verdicts.

Assets

Platform Asset
Windows x86-64 heavy-v1.0.0-x86_64-pc-windows-msvc.zip
Linux x86-64, glibc 2.34 or newer heavy-v1.0.0-x86_64-unknown-linux-gnu.tar.gz
macOS 11 or newer, Apple Silicon heavy-v1.0.0-aarch64-apple-darwin.tar.gz
Checksums SHA256SUMS

Each archive holds the heavy executable with README.md, CHANGELOG.md, and LICENSE. Verification steps are in the README. The binaries are not code-signed: Windows SmartScreen may warn on first run, and on macOS a browser download needs its quarantine attribute cleared after the checksum check (xattr -d com.apple.quarantine heavy); curl downloads are not quarantined.

Or build from source: cargo install --git https://github.com/vsolano9/heavy-gate --tag v1.0.0.

See CHANGELOG.md for the full list and the README for limits.