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 `f40fa7ed94a028b56b5a59342eaf55982ba5cf7d`.
Combined help SHA-256: `04bab0ac1e9691119efcb70627b534a73431f51bb44ed8ba81d93cc10afd6569`; binary SHA-256: `08424ee2465261eafaa112d13ef05a20ce1fe1b6479e896341e22fbc55e61d3e`.