Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Runtime

A Runtime eval runs an ordinary program. Use it for checks whose answer is already decided by a test, linter, renderer or other deterministic command. No model or API key is needed.

name = "library"

[evals.tests]
title = "The library tests pass"
profile = { kind = "runtime", command = "cargo", args = ["test", "--locked"], timeout_ms = 240000 }
payload.instruction = "Run the tests of {library}."

command and args are separate: artifactize starts an argument vector, not a shell command. The working directory is the Artifact folder, or the containing folder for a file Artifact. Programs use the author’s normal toolchain environment, with artifactize’s caller variables withheld and private output and temporary space outside the repository. See Operating systems for executable lookup and portable commands.

Exit 0 is GREEN; another exit code is RED. Failure to start, a timeout, interruption or invalid inputs produce operational errors instead. Runtime commands do not return Agent/Human owner fields. Saved results include the exit code and bounded stdout/stderr after completion. While execution is still appending output, artifactize request logs REQUEST_ID can read bounded snapshots; unconfirmed captures are explicitly marked partial. This is snapshot inspection, not an automatic streaming log feed. The runtime-log CLI reference explains tail/range/search and capture evidence; the shared runtime execution reference owns retention details, including the raw captures current pruning leaves intact. The CLI, TUI and Desktop read the same saved evidence.

References such as {spec}/requirements.json in the declared operands admit those inputs. Files changed during execution invalidate the review. A later Run reuses an unchanged result, including a RED result, rather than rerunning the command. See Fingerprint and the runtime execution reference for exact limits, environment, substitution and process cleanup.