← Back to Explore

artifact-status-vars

Status vars include artifact-record variables

testartifacts

Rundown

# Status vars include artifact variables

## 1. Produce an artifact variable

- ARTIFACTS
  - PlanPath "plan.json"
- PASS CONTINUE

```bash
printf '{"plan":"ok"}' > "{{ path PlanPath }}"
```

## 2. Pause with the artifact variable in scope

- ARTIFACTS
  - PlanPath
- PASS COMPLETE
- FAIL STOP

The active status output should include `PlanPath`, rendered as a local path
rather than an `rd://` URI. That payload assertion lives in
`packages/cli/__tests__/integration/artifact-variable-inputs.test.ts` — scenario
`commands:` assert through the scenario schema, never by inspecting CLI output
in a shell wrapper.

Run

Initializing...

Initializing...

Step/2