CLI command
probierz incident
Enter the register of attempts that did not hold.
Invocation#
probierz incident <COMMAND>Required inputs and options#
- The leaf must be `record`, `list`, `show`, or `resolve`.
Output and state effects#
The group dispatches to the selected register operation. Record and resolve append to `test-results/.incidents/register.jsonl`; list and show read it. Probierz Desktop uses the same core through the loopback API started by `probierz serve`, not a separate file parser or writer.
Exact refusals#
- Missing or unknown leaves return the group usage, which names the two `record` forms and the envelope fields the register requires.
Desktop API: POST /v1/incidents/record#
Start `probierz --harness <project> serve` and use the loopback address in its ready response. The serve command has its own CLI reference page. Send JSON with Content-Type application/json; requests are limited to 1 MiB.
Successful operations return HTTP 200. Invalid inputs and register failures return HTTP 400 with the same error sentence as the core; unknown routes return 404. Use the incident ID returned by record for show and resolve. Read responses keep complete envelopes, including nested context.
{"claim":"The check passed","envelope":{"service":"probierz","failure_point":"verification.claim","error_code":"invalid","detail":"The run was not retained"},"run_id":"optional-run"}Desktop API: POST /v1/incidents/list#
Start `probierz --harness <project> serve` and use the loopback address in its ready response. The serve command has its own CLI reference page. Send JSON with Content-Type application/json; requests are limited to 1 MiB.
Successful operations return HTTP 200. Invalid inputs and register failures return HTTP 400 with the same error sentence as the core; unknown routes return 404. Use the incident ID returned by record for show and resolve. Read responses keep complete envelopes, including nested context.
{"state":"all","limit":20}Desktop API: POST /v1/incidents/show#
Start `probierz --harness <project> serve` and use the loopback address in its ready response. The serve command has its own CLI reference page. Send JSON with Content-Type application/json; requests are limited to 1 MiB.
Successful operations return HTTP 200. Invalid inputs and register failures return HTTP 400 with the same error sentence as the core; unknown routes return 404. Use the incident ID returned by record for show and resolve. Read responses keep complete envelopes, including nested context.
{"id":"recorded-incident-id"}Desktop API: POST /v1/incidents/resolve#
Start `probierz --harness <project> serve` and use the loopback address in its ready response. The serve command has its own CLI reference page. Send JSON with Content-Type application/json; requests are limited to 1 MiB.
Successful operations return HTTP 200. Invalid inputs and register failures return HTTP 400 with the same error sentence as the core; unknown routes return 404. Use the incident ID returned by record for show and resolve. Read responses keep complete envelopes, including nested context.
{"id":"recorded-incident-id","note":"Retained the actual verification","run_id":"optional-verification-run"}Source snapshot#
Generated from the Rust binaries at https://github.com/wisent-ai/probierz.git revision `c589d6917201c31f57e6a7f24522c0d50ae5bd0f`.
Combined help SHA-256: `43f0d9cd136ac2c46ec3eedb2824bd5d6168f235dea4caaa50610c005f40c84a`; binary SHA-256: `7e42c843082863ed265817de90a110a2f27546426a54d372e10009fd665a4d8e`.