Export a regression test
export_regressionRun policy_check with caller-supplied records (no receipts or required-signature mode) and return it as a CI regression: curbi.regression JSON with each reply's expected verdict and rules, plus a dependency-free node:test file that replays it against the Check API. Expectations come from the checker, never from the caller. Nothing is stored. A pass grants no execution authority.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cases | No | Up to 50 replies checked against the same policy. Send reply or cases, not both. | |
| reply | No | One agent reply to check. Send reply or cases, not both. | |
| title | No | Title for the regression file. | |
| policy | Yes | Your rules. Set at least one of prices, forbid or actions; validate_policy lints a policy before use. Ready-made policies: https://curbi.io/policies/ | |
| record | No | What actually happened, supplied by the caller and not verified by Curbi. A claimed action passes only when its operation is DONE here. | |
| verify | No | Exports use caller records, so only "optional" is accepted. | |
| version | No | Regression format version. |