Skip to content

Releases

heavy-gate v1.0.1

Choose a tag to compare

@vsolano9 vsolano9 released this 15 Oct 18:05

Patch release: closes five gaps the final code review found in v1.0.0. Upgrading is recommended for everyone who uses the Claude Code hook or runs heavy run on Unix with non-UTF-8 file names.

Fixed

  • The hook now recognizes a quoted build subcommand or script path (cargo "build", pwsh -File './build.ps1'), which the shell passes on as the plain word.
  • The hook recognizes global options before a build subcommand (cargo --offline build, npm --prefix web run build, go -C sub build).
  • PowerShell strings end where PowerShell ends them: a backslash before the closing quote ("C:\") no longer hides the rest of the command.
  • Command substitutions are checked where the shell runs them: $(...) and Bash backticks inside double quotes are classified as commands, and a substitution in the arguments of heavy run -- counts as outside the wrapper, since it runs before heavy starts.
  • heavy run passes arguments that are not valid UTF-8 through to the command instead of panicking.

heavy run -- COMMAND itself is unchanged: it starts a command only when a slot is free and available physical memory meets the configured floor. It controls admission only; a running command can still use as much memory as it needs.

Assets

Platform Asset
Windows x86-64 heavy-v1.0.1-x86_64-pc-windows-msvc.zip
Linux x86-64, glibc 2.34 or newer heavy-v1.0.1-x86_64-unknown-linux-gnu.tar.gz
macOS 11 or newer, Apple Silicon heavy-v1.0.1-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.1.

See CHANGELOG.md for the full history.

heavy-gate v1.0.0

Choose a tag to compare

@vsolano9 vsolano9 released this 15 Oct 17:34

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.