Skip to main content
haia-trace assembles Operation Receipts — one verdict per payment operation — from recorded events, and renders them in the terminal or as JSON.

Install

Both expose the haia-trace command. Requires Node ≥ 20.

Commands

sample

Assemble receipts from bundled fixtures — the zero-setup first taste.

build

Assemble one receipt per operation from a run’s events.

templates

List the operation templates shipped with the CLI.

Global flags

The .trace/ directory

The CLI reads and writes a project-local .trace/ directory — no daemon, no database, no network:
A run file is newline-delimited JSON — one event per line, append-only. It’s the source of truth; a Receipt is a derived, reproducible artifact, so re-building the same run always yields the same Receipt.