Fleet Schemas ↑↓ move within a pane · ←→ move between panes · Enter opens · Esc backs out
RunRecord 10 fields

lib-runs/RunRecord

runId string matching /^\d{4}-\d{2}-\d{2}\/\d{2}_\d{2}_\d{2}_\d{3}$/
Canonical run id; also the run directory path relative to the store folder.
required
host non-empty string
Short hostname of the machine that executed the run.
required
pid integer >= 0
Monitored process id on `host`; absent for in-process and synthetic runs.
sessionId non-empty string
Agent or harness session the run belongs to, when the caller supplies one.
status object (additional keys allowed) 4 sub
Lifecycle state. Flat by design: the per-kind field combinations are the named `runStatusFieldsMatchKind` rule, not union branches.
required
kind one of: running | pass | fail | aborted | killed
running until terminal; pass/fail may carry an exit code, aborted/killed a signal, and neither may carry the other kind of field.
required
durationMs integer >= 0
Wall time of a terminal run; absent while running.
exitCode integer
Process exit code on a pass/fail run.
signal non-empty string
Terminating signal name on an aborted/killed run.
streams object (additional keys allowed)
Per-lane captured byte counts. Lane names are producer-chosen basenames (stdout/stderr/output/...), so the lane set is a declared dictionary; the durable bytes live in sibling `<lane>.log` files.

Rules

  • runStatusFieldsMatchKind

Where it lives

Bound bylib-runs
Declared in~/mnt/mdr/skills/lib-runs/assets/schemas/run-record.ts
BindingRunRecordZod
Directorynone
Filesnone
Referenced asrun-record