zabibu canary

man zabibucanary

Command reference

zabibucanary review

Analyzes changes and shows the report in your terminal.

FlagDefaultWhat it does
--stagedautoReview only staged changes. Without flags: staged if any, else the working tree.
--working—Review only the working tree.
--range <a>..<b>—Review an explicit git range. This is what the push hook uses.
--watch, -w—Re-review automatically as files change (600 ms debounce).
--format <fmt>texttext · json · github (GitHub Actions annotations).

In the interactive view: a approves and signs a receipt, q quits.

zabibucanary demo

Runs the bundled example — a realistic risky diff from an AI coding session. The fastest way to see what a report looks like.

zabibucanary hook

SubcommandWhat it does
hook installWrites a pre-push gate into this repo's .git/hooks.
hook removeRemoves it again.

Exit codes

CodeMeaning
0Clean, or every critical finding has a signed approval.
1Critical findings without a signed approval — hooks and CI should treat this as a stop.

Machine output

zabibucanary review --format json > report.json

JSON contains the risk score, grade, per-sector impact levels, and every finding with its category, severity, and explanation — everything the UI renders.

zabibucanary review --format github

Prints GitHub Actions annotations (::error / ::warning) that show up inline on the PR's Files tab.

zabibucanary ledger

zabibucanary ledger                     # records, chain status, key fingerprint
zabibucanary ledger export > proof.json # a self-contained, verifiable bundle
zabibucanary ledger verify proof.json   # check a bundle using only the file

An export carries the records, the public key and the chain tip, so somebody else can verify it without your machine, your repo, or any trust in this tool. See how it works for the one thing a bundle cannot prove on its own.

Environment

VariablePurpose
ZABIBU_SIGNING_KEYA PKCS#8 Ed25519 private key (PEM; literal \n accepted). Signs receipts instead of the key auto-created at ~/.zabibucanary/approver.key.
CANARY_ACK=1Override the gate once, for a push you have reviewed yourself.

zabibu canary — a Zabibu Technika product · built by Tehillah Kachila