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. A hook `gate install` wrote before this group existed still runs the hidden `gate-prepush` spelling; `gate install` in that repository rewrites it to `gate prepush`.
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 `f65b755da397f2ec7435eb80ed722aa6017437c1`.
Combined help SHA-256: `4a12655d233812abc29eeebbf3db3065efe3e00288024383f3eef3970d092e94`; binary SHA-256: `d5398832d3ab52c541b1efe979730dea62941ac6197898a20fccfc5d3fca44df`.