A workspace task runner. Tracks task DAGs across multiple projects, executes them with caching, and supports queries over the graph. https://haz-cli.dev
  • Rust 99.6%
  • Shell 0.3%
  • JavaScript 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Andrés Correa Casablanca 89d9dee5fb
feat(check): validate declared inputs
Signed-off-by: Andres Correa Casablanca <andreu@ctrlback.coop>
2026-09-17 16:24:11 +02:00
.hooks fix(discovery): match project globs on the walked path spelling 2026-08-26 21:33:31 +02:00
apps/haz-cli feat(check): validate declared inputs 2026-09-17 16:24:11 +02:00
docs/spec fix(spec): refine explanation about --dry-run 2026-08-29 20:36:14 +02:00
libs feat(check): validate declared inputs 2026-09-17 16:24:11 +02:00
packages/npm build(npm): make @ctrlback/haz packages publishable 2026-06-13 21:46:52 +02:00
scripts fix(discovery): match project globs on the walked path spelling 2026-08-26 21:33:31 +02:00
.gitignore fix(discovery): match project globs on the walked path spelling 2026-08-26 21:33:31 +02:00
Cargo.lock feat(check): validate declared inputs 2026-09-17 16:24:11 +02:00
Cargo.toml fix(discovery): treat one entry reaching a root twice as 1 project 2026-08-27 00:36:05 +02:00
deny.toml refactor(paths): extract pattern_walk into a dedicated haz-paths crate 2026-06-13 21:01:09 +02:00
LICENSE.md docs(spec): workspace & project discovery 2026-05-09 11:35:36 +02:00
README.md docs: attribute to ctrlback 2026-08-26 21:52:58 +02:00

haz

A workspace task runner. Tracks task DAGs across multiple projects, executes them with caching, and supports queries over the graph.

Status: alpha, pre-1.0. The specification under docs/spec/ is labelled as DRAFT; behaviour can change between minor versions until 1.0.

Install

From crates.io:

cargo install haz-cli

From npm:

npm install -g @ctrlback/haz

The installed binary is named haz. Prebuilt npm binaries are currently published for Linux x64 (glibc and musl); on other platforms, install from crates.io or from source.

From source:

git clone https://forge.cloudsling.dev/andreu/haz-cli
cd haz-cli
cargo build --release

Documentation

The normative specification lives in docs/spec/.

Workspace layout

This repository is a Cargo workspace:

Crate Purpose
haz-cli The haz binary.
haz-cache Content-addressed cache for task outputs.
haz-config YAML parser for workspace, project, and task files.
haz-dag DAG construction and traversal.
haz-discovery Workspace and project discovery.
haz-domain Shared domain types.
haz-exec Async task execution engine.
haz-query Query evaluator.
haz-query-lang Query language parser.
haz-target Target selection.
haz-vcs Git helpers.
haz-vfs Filesystem abstraction.

License

Created by CTRLback.

Distributed under AGPL-3.0-or-later.