Skip to content

xpd dspy gate

Use xpd dspy gate during a recorded DSPy review.

Commit the fix first. The gate checks finding removal, checklist ownership for a design fix, project checks that passed at baseline, and benchmark latency regressions when configured.

Terminal window
xpd dspy gate [OPTIONS] <FIX>
Argument What it does
<FIX> Required.
Option Default What it does
--format <FORMAT> Output format. Default: text on a terminal, json otherwise. Values: text, json.
Terminal window
$ xpd dspy gate --help | head -n 1
Gate a fix that is committed: run the checks, time `--bench` when set, count lines and compare the findings with the commit before it. Exit 1 when the fix is not kept