--json provides feedback from the current process, and its final receipt contains the Invocation’s runIds. A JUnit file gives the CI platform test results to display.
Basic command
Whenever a required Boolean condition is mismatched, a measurement falls below its.gate(minimum) threshold, or execution errors, NiceEval exits with a nonzero status. Both Eval kinds read explicit gates; there is no global strict mode, and reading results does not turn a stop-only condition into a gate. Put requirements that must block a merge directly in Eval source so CI and local runs read the same Verdicts.
- Exit status: CI uses it to pass or fail the job.
- NDJSON: Progress and diagnostics describe the current process; the final receipt describes the Invocation.
- JUnit: A temporary file for the CI platform.
GitHub Actions example
This step retains JSON output and correctly preserves the exit status fromniceeval exp:
Use the receipt in a later step
After an Invocation is created successfully, the final NDJSON line contains its receipt. A later script can read itsrunIds and select an explicit Run for View or construct a query request:
Keep feedback readable
CI logs are for the current process’s progress and diagnostics. For business results, AI, scripts, and CI first runquery discover; people use the receipt’s runIds with view.