Repository navigation
heavy-gate v1.0.0
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:
GlobalMemoryStatusExon Windows,MemAvailableon Linux,kern.memorystatus_levelon 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 configto show effective values,heavy statusto show holders and memory. - An optional Claude Code
PreToolUsehook (heavy hook) that denies unwrapped builds and suggests the wrapped command, withheavy checkto 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.