job_link
Attach a canonical record such as a test run, build, deploy, evidence row, or project to a job, so the job clearly references what it covers.
Instructions
Attach a canonical record the job is about (a test run, build, deploy, evidence row or project).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | test_run | build | deploy | evidence | project | |
| job_id | Yes | Job id from job_enqueue/job_list, e.g. 'j-1a2b3c4d' | |
| ref_id | Yes | Id of the test run / build / deploy / evidence / project |
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 |