Origit Console
IBM Bob connected acme-payments · Business plan · demo
main northbridge-payments/.githooks/pre-commit
5 lines · 394 bytes sha256 a726db1dc8616d3d9812 hours ago
#!/bin/sh
# Origit pre-commit: fold the Bob trace into a pending record.
# Rule: a commit without a record does not exist. Set ORIGIT_REQUIRE_TRACE=1 to refuse untraced (agent) commits.
ORIGIT=$(sh "$(dirname "$0")/origit-bin.sh") || { echo "origit: CLI not found; refusing to commit without provenance (pip install -e origit/ or set ORIGIT_BIN)" >&2; exit 1; }
"$ORIGIT" record fold || exit 1
Powered by IBM Bob 2.0