query or view use.
What a Reporter is for
Configure a Reporter for the run you need to observe, and let it handle results visible to the current process. An external system can receive a run summary, Attempt results, or links. To read complete business facts, reopen published facts using the receipt’srunIds.
A Reporter cannot:
- Treat external-system data as a business value in the Record.
- Replace Verdicts, Usage, assertions, or diagnostics with external reporting.
- Make later fixed
queryorviewreads come from the external system. - Write results from the external system back into the Record.
Use JUnit in CI
JUnit is the most direct external integration:Use JSON and the receipt
--json emits NDJSON for the current process. Its final receipt contains invocationId, runIds, start time, end time, and completion. External automation can retain the receipt, then use its runIds with fixed Inspection operations.
Principles for external integrations
- Let external reporting consume only information the current Invocation knows.
- Keep credentials in runtime variables, not output.
- Use the exit status for a CI gate.
- Use a receipt’s
runIdsto connect external workflows to inspectable results. - Use the receipt’s
runIdswithviewto review published facts, or usequeryfor automation.