Runs and Workflows
artifactize verify submits a durable Run that schedules and records your checks. artifactize status predicts what the next verify will execute, reuse, wait for, or mark blocked without running any evals (rows in the required closure that are outside the execution selection are marked not included: their action is a forecast under the current selection—including whether upstream sign-offs are selected and can be deferred—while only included evals are scheduled or counted in the action totals; rerun status with the intended selector to see how expanding the selection changes the plan).
Status reports unreadable records from the latest saved attempts in the required scope. Use artifactize run show RUN_ID to inspect a saved Run.
Selecting what to verify
verify requires a selector:
artifactize verify --all --wait # every Artifact and eval in the project
artifactize verify app --wait # app, its parts, and any cycle peers
artifactize verify app/tests --wait # one eval (same as --eval app/tests)
artifactize verify --artifacts app,docs --wait # multiple Artifacts (or --evals CSV)
artifactize verify app/tests --recursive --wait # also execute dependencies in closure
- Execution gates vs. final obligations:
- Execution gates decide when a selected eval can start; see Per-eval gating.
- Final obligations decide whether the Run as a whole is satisfied. Even when you select a single eval (
verify app/tests), the Run requires validGREENevidence across its entire dependency closure—including other checks onapp, its parts, and the Artifacts it depends on (human sign-offs included; a selected Artifact with no evals, noparts, and nobasis = trueis also an unreviewed obligation). Unselected obligations are checked against saved cache/store evidence (evidencein the Run record); see Sign-offs and the end of a Run for the Run outcome precedence and exit codes. Use--recursiveor--allto select and run the whole closure.
- Concurrency and queuing: all
READYevals start as soon as their gates clear, with no default Run-wide job cap. Evals can still queue (QUEUED) when they share amutextag, when a backend reaches its slot limit inlimits.json(shared by all Runs using the same state directory), or when you pass an opt-in--jobs Ncap. Passing--max-executions Ncaps freshruntimeandagentstarts for the Run (cache hits, joined executions, and Human sign-off requests do not count; when the cap prevents a ready start, that request is markedBUDGET_EXHAUSTEDand the Run endsINCOMPLETEwith exit 4).
Submit, observe, and cancel
Artifactize owns each Run in the background independently of the terminal or MCP session that started it:
- Plain
artifactize verify SELECTORsubmits the Run, prints itsRUN_ID, and exits0immediately on acceptance. artifactize verify SELECTOR --waitwaits until the Run settles and exits with the Run’s outcome code.artifactize run show RUN_ID --wait [--timeout-ms MS]also waits for an open Run (default 10-minute observation timeout; exits3if that timeout expires first, leaving the Run running).artifactize verify SELECTOR --watch(orartifactize run watch RUN_ID) streams JSON-line progress events (update,eval_result,outcome).- Pressing
Ctrl+Con--waitor--watchexits130and stops watching without cancelling the Run. - Only
artifactize run cancel RUN_ID(or MCPrun_cancel) requests cancellation of an open Run (RUNNINGorWAITING_HUMAN). It returns immediately (exit0) once the cancellation request is recorded; the Run then stops starting new work, terminates the running work it started (cancelling a follower Run that joined an in-flight execution in another Run detaches the follower without stopping the producer Run’s execution), and endsERROR/CANCELLEDwhile retaining any results already saved. Follow it withrun watch RUN_IDorrun show RUN_IDto confirm completion. - Pass
--comment "Fixing auth"to label the Run inrun listand the Desktop app. Reusing a--request-key KEYin the same project and state directory returns the original Run. Use a new key to start a Run with a different selection or options.
Speculation (--speculate)
By default, an eval waits until its upstream dependency gates are satisfied (GREEN, PROVISIONAL, or a selected DEFERRED sign-off). Passing --speculate starts requested runtime and agent evals before unresolved upstream gates finish, within --jobs, --max-executions, backend capacity, and mutex limits (Human sign-offs are never started speculatively):
- Ready non-speculative work has priority: when it needs
--jobsor backend capacity held by a speculative review, the speculative review is interrupted and requeued for later (each start counts toward--max-executions). - If an upstream dependency turns
GREEN, the speculative result is kept and saves wall time. - If an upstream dependency turns
REDorERROR, Artifactize cancels any running speculative work that depends on it outside its own Artifact and cycle, invalidates any already completed speculative result so it cannot be reused, and marks downstream requests (including affected sign-offs)BLOCKED. - During iterative debugging (Focus then sweep),
verify --eval ID --speculatelets a builder rerun one eval even while its upstream inputs are stale.
Sign-offs and the end of a Run
A Human eval starts only after every non-Human (runtime and agent) eval on its same Artifact is GREEN (even if PROVISIONAL), in addition to its input dependency gates; if a sibling machine eval is RED or ERROR, the Human eval is BLOCKED.
Once ready, a selected Human sign-off is recorded as a DEFERRED request that never holds up other evals: the open Run shows WAITING_HUMAN, downstream checks that depend on the sign-off proceed once their other prerequisites and scheduling limits allow, and their passing (GREEN) verdicts are marked PROVISIONAL until the sign-off is submitted (while RED or ERROR verdicts show as-is). Non-forced concurrent Runs in the same local state that need a sign-off with the same reuse key join the existing waiting request as followers instead of creating duplicate prompts.
Once all machine checks have finished and only unsubmitted sign-offs remain, the Run stays open while any sign-off is actively claimed by a reviewer, plus an idle grace of 2 minutes (signoffIdleGraceSeconds in limits.json, configurable with artifactize limits --signoff-idle-grace SECONDS). When the grace expires with no active claim, the Run settles with its final outcome (YELLOW when pending sign-offs are the sole unmet obligations, or RED/ERROR/INCOMPLETE if another required obligation failed or is missing):
| Run outcome | Exit code | Meaning |
|---|---|---|
GREEN | 0 | Every required eval, including human sign-offs, is GREEN. |
RED | 1 | At least one eval (or required obligation) judged its Artifact and returned RED (with no cancellation, ERROR, or budget/--reuse-only INCOMPLETE). |
ERROR | 2 | Explicit Run cancellation (ERROR/CANCELLED, highest precedence), a Run-level preparation failure (such as a failing fingerprint script or declarations changing mid-preparation with INPUT_CHANGED), or—when no budget/--reuse-only INCOMPLETE applies—an operational eval failure. |
INCOMPLETE | 4 | In a Run that was not cancelled: --max-executions prevented a start (BUDGET_EXHAUSTED) or a --reuse-only check missed (both take precedence over eval ERROR and RED), or no eval is ERROR/RED and any required obligation remains unmet (such as an unselected obligation without valid evidence, or a selected Artifact with no evals, parts, or basis = true). |
YELLOW | 5 | All machine checks passed (GREEN or PROVISIONAL) and only unsubmitted human sign-offs remain (not full approval). |
After a Run ends YELLOW, the waiting sign-off remains open in artifactize review and the Desktop app. Submitting GREEN settles that request (and any joined follower requests); while its reuse key still matches, the next artifactize verify reuses that sign-off (fingerprint = false disables reuse across Runs). If a newer Run in the same working tree requests the same Human eval with a different reuse key, the older waiting sign-off is retired as ERROR/SUPERSEDED.