job_verdict
Records a human pass, fail, or skip verdict for a running job's current step, writing confirmable evidence and a milestone event; rejects jobs that are not running or lack a linked test run.
Instructions
Answer the running job's current step with a human verdict (pass | fail | skip). Writes a
human-confirm evidence row through the same path as POST /api/evidence (so the confirm push
files fire) and appends a milestone event. The job must be running and link a test run, else
the call is a conflict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | No | Step id/phase the verdict answers (optional) | |
| notes | No | Free-text note recorded with the verdict | |
| job_id | Yes | Job id from job_enqueue/job_list, e.g. 'j-1a2b3c4d' | |
| source | No | Where the verdict came from: 'coordinator' when relaying one the user typed in the Hermes chat, else chat | console | key | web | web |
| verdict | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| kind | Yes | ||
| links | No | ||
| phase | No | ||
| title | Yes | ||
| events | No | ||
| origin | No | Who asked for this run (human | agent | driver | eval | probe | warmup) — scopes the learning loop | agent |
| params | No | Intake: purpose, expected, caps, flags, pending_shot, ... | |
| status | Yes | ||
| target | Yes | ||
| worker | No | ||
| host_id | No | NULL = not yet assigned (host_choice='ask') | |
| summary | No | Present once the job is closed out | |
| web_url | No | Absolute URL of this job's page in the web UI | |
| position | No | ||
| artifacts | No | ||
| created_at | Yes | ||
| project_id | No | ||
| started_at | No | ||
| updated_at | Yes | ||
| crash_count | No | crash-level events (the queue board flags these) | |
| error_count | No | error-level events (the queue board flags these) | |
| finished_at | No | ||
| current_step | No | The step awaiting a verdict (newest prompt event + whether it is answered) | |
| requested_by | No |