heavyq
Agents say done. heavyq knows.
Your coding agent says the tests pass. Which commit did they pass on? heavyq keeps a ledger of every
heavy command it runs, keyed by the exact code it ran on, so "proven" is a lookup and not a claim. It is
also a priority, resource-aware queue that keeps six agents from running six test suites at once.


curl -fsSL https://github.com/LysCongThanh/heavyq/releases/latest/download/install.sh | sh # checks the sha256; or: go install github.com/LysCongThanh/heavyq@latest, see docs/install.md
heavyq hook install claude # Claude Code agents use the queue without being told
heavyq init --agents-md # write heavyq.toml, tell agents to run the gate first
Claude Code plugin: see docs/claude-code.md.
What it is
heavyq is a single static Go binary with no daemon: the queue is a directory and the proof is a JSONL
ledger on your machine. It is local-first. Nothing leaves the box unless you add an SSH remote
yourself. It works with Claude Code today (a PreToolUse hook, heavyq hook install claude) and with
any agent that can run a shell command; a Codex adapter is next. Linux first, macOS supported.
Run, Prove, Steer
Run. Wrap a heavy command. Lower number goes first, light jobs jump ahead, and a job starts only if the
machine has RAM and CPU left. Identical runs on the same commit share one result.
heavyq 3 --lane api -- npm test # waits its turn; exit 75 if --max-wait runs out
heavyq 4 --cache -- npm test # same clean commit already tested? reuse that result
heavyq status # what runs, what waits, and why

Prove. A gate in heavyq.toml (or one detected from go.mod, package.json, pytest, Cargo.toml)
says what "done" means. gate status answers from the ledger in about 20 ms, for the exact tree checked
out now, uncommitted edits included; a gate that lists its paths is proven by those files only, so a docs-only
commit keeps the proof.
heavyq gate status # PROVEN or NOT PROVEN on this tree; exit 0 or 1
heavyq gate run # run what is not proven yet, through the queue, cached
Steer. When the caller is an agent, heavyq says little and ends with a digest the agent can act on.
Work items (heavyq item ls|claim|release|done|block|sync: claim, prove, finish) are in docs/items.md.
heavyq brief is the thread of the work in 300 tokens, injected after every compaction; heavyq steer guard adds a
Stop gate that will not let an agent stop while the item it holds is unproven (docs/steer.md).
heavyq: FAIL go test ./... · exit 1 · tree 3f2a9c1d7b0e · 12s
--- FAIL: TestRun (0.01s)
run_test.go:42: got 1, want 2
log: ~/.local/state/heavyq/logs/20261102T010203.123456Z-4242-wt-api.log (full output, 212 KiB)
next: fix the failure above, then re-run this command
Dashboard

heavyq dash is read-only; heavyq dash --control lets the page cancel jobs, change priorities and pause
machines. It listens on loopback only. See docs/dashboard.md. From a terminal,
heavyq retarget <pid> --remote WHERE moves a waiting job to other machines without cancelling it
(docs/remote.md).
Documentation