CLI command
probierz gate-prepush
Evaluate the repository's pre-push merge gate, optionally running change-driven CI first.
Invocation#
probierz gate-prepushRequired inputs and options#
- `--repo` defaults to the current directory. Application, base, and head may be supplied explicitly.
- `--ci` runs the affected CI contract before the gate decision.
Output and state effects#
Writes the pre-push result as JSON and sets exit code 1 when `ok` is false. It does not install the hook.
Exact refusals#
- A non-passing or incomplete gate result refuses the push by returning `ok: false`.
- Repository, source identity, CI, manifest, and evidence failures stay blocking; unavailable evidence is never treated as green.
Source snapshot#
Generated from the Rust binaries at https://github.com/wisent-ai/probierz.git revision `c589d6917201c31f57e6a7f24522c0d50ae5bd0f`.
Combined help SHA-256: `43f0d9cd136ac2c46ec3eedb2824bd5d6168f235dea4caaa50610c005f40c84a`; binary SHA-256: `7e42c843082863ed265817de90a110a2f27546426a54d372e10009fd665a4d8e`.