hibi check flags a claim when either side changes. A flag is a request to re-verify, not a statement that the doc is wrong.
Install
The npm package targets Bun. For a machine with no JS runtime, use the prebuilt binary.
Record and check a claim
1
Initialize the store
hibi init creates a .claims/ directory with a per-repo banner nonce. One file per claim. Commit it.2
Record a claim
Point at the documented sentence and at the code span that backs it. Quote the load-bearing token on the code side.The claim is enforced by default.
--verified records that you confirmed the code backs the sentence. Because the code span contains the literal 5, changing it to 50 later trips the claim even if nothing else moves.Agents record in batches on stdin:3
Check
hibi check exits 0 when clean, 2 when an enforced claim gates (changed, orphaned, or ambiguous on either side, expired, or refuted), and 1 on an operational error. A moved side is a warning and exits 0 unless you pass --fail-on warn.
Everyday commands
recommended action id and an ordered actions list, each with a command when Hibi can perform the step.
Output is JSON when piped and human-readable on a TTY.
--format human|compact|json|json-pretty overrides; --json is short for --format json. --explain adds the evidence tail; --no-hints drops the remediation menu. hibi <cmd> --help prints that command’s options.Verdicts
The claim model, the five anchor states, the gates rule, and the exit codes.

