@evolvingmachines/evolve 0.0.65 → 0.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-DK2MGUPB.js → chunk-RFLMRPGK.js} +5 -5
- package/dist/cli/index.cjs +39 -39
- package/dist/cli/index.d.cts +3 -3
- package/dist/cli/index.d.ts +3 -3
- package/dist/cli/index.js +30 -30
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/{types-B_qmzlMk.d.cts → types-84M4J_Vm.d.cts} +11 -44
- package/dist/{types-B_qmzlMk.d.ts → types-84M4J_Vm.d.ts} +11 -44
- package/package.json +4 -4
- package/skills/create-adapter/SKILL.md +71 -26
- package/skills/create-task/SKILL.md +124 -66
- package/skills/evolve/SKILL.md +37 -20
- package/skills/evolve-evals/SKILL.md +142 -69
- package/skills/evolve-evals/references/cli-reference/agent.md +76 -0
- package/skills/evolve-evals/references/cli-reference/analysis.md +78 -0
- package/skills/evolve-evals/references/cli-reference/analyze.md +95 -0
- package/skills/evolve-evals/references/cli-reference/auth.md +96 -0
- package/skills/evolve-evals/references/cli-reference/check.md +156 -0
- package/skills/evolve-evals/references/cli-reference/dataset.md +154 -0
- package/skills/evolve-evals/references/cli-reference/filesystem.md +168 -0
- package/skills/evolve-evals/references/cli-reference/index.md +149 -0
- package/skills/evolve-evals/references/cli-reference/job.md +198 -0
- package/skills/evolve-evals/references/cli-reference/run.md +187 -0
- package/skills/evolve-evals/references/cli-reference/secrets.md +77 -0
- package/skills/evolve-evals/references/cli-reference/session.md +56 -0
- package/skills/evolve-evals/references/cli-reference/skill.md +52 -0
- package/skills/evolve-evals/references/cli-reference/skills.md +85 -0
- package/skills/evolve-evals/references/cli-reference/trial.md +115 -0
- package/skills/evolve-evals/references/cli-reference/upload.md +72 -0
- package/skills/evolve-evals/references/core-concepts/agents.md +96 -0
- package/skills/evolve-evals/references/core-concepts/analyze.md +143 -0
- package/skills/evolve-evals/references/core-concepts/check.md +116 -0
- package/skills/evolve-evals/references/core-concepts/compatibility.md +39 -0
- package/skills/evolve-evals/references/core-concepts/compose.md +103 -0
- package/skills/evolve-evals/references/core-concepts/datasets.md +234 -0
- package/skills/evolve-evals/references/core-concepts/index.md +52 -0
- package/skills/evolve-evals/references/core-concepts/jobs.md +223 -0
- package/skills/evolve-evals/references/core-concepts/models.md +73 -0
- package/skills/evolve-evals/references/core-concepts/multi-step.md +93 -0
- package/skills/evolve-evals/references/core-concepts/rewardkit.md +341 -0
- package/skills/evolve-evals/references/core-concepts/sandboxes.md +73 -0
- package/skills/evolve-evals/references/core-concepts/secrets.md +86 -0
- package/skills/evolve-evals/references/core-concepts/sharing.md +81 -0
- package/skills/evolve-evals/references/core-concepts/skills.md +100 -0
- package/skills/evolve-evals/references/core-concepts/task-config.md +169 -0
- package/skills/evolve-evals/references/core-concepts/task-environment.md +127 -0
- package/skills/evolve-evals/references/core-concepts/task-reference.md +191 -0
- package/skills/evolve-evals/references/core-concepts/task-verifiers.md +209 -0
- package/skills/evolve-evals/references/core-concepts/tasks.md +90 -0
- package/skills/evolve-evals/references/core-concepts/teams.md +128 -0
- package/skills/evolve-evals/references/core-concepts/trial-outputs.md +225 -0
- package/skills/evolve-evals/references/core-concepts/trials.md +129 -0
- package/skills/evolve-evals/references/core-concepts/upload-sdk-session.md +240 -0
- package/skills/evolve-evals/references/core-concepts/upload.md +166 -0
- package/skills/evolve-evals/references/dashboard/checks.md +54 -0
- package/skills/evolve-evals/references/dashboard/datasets.md +65 -0
- package/skills/evolve-evals/references/dashboard/jobs.md +106 -0
- package/skills/evolve-evals/references/dashboard/traces.md +54 -0
- package/skills/evolve-evals/references/dashboard/trial-viewer.md +77 -0
- package/skills/evolve-evals/references/getting-started/first-task.md +228 -0
- package/skills/evolve-evals/references/getting-started/installation.md +79 -0
- package/skills/evolve-evals/references/getting-started/quick-start.md +100 -0
- package/skills/evolve-evals/references/index.md +58 -0
- package/skills/evolve-evals/references/sdk/http.md +110 -0
- package/skills/evolve-evals/references/sdk/python.md +108 -0
- package/skills/evolve-evals/references/sdk/typescript.md +104 -0
- package/skills/evolve-evals/references/sdk-reference/agents.md +75 -0
- package/skills/evolve-evals/references/sdk-reference/analyses.md +124 -0
- package/skills/evolve-evals/references/sdk-reference/auth.md +171 -0
- package/skills/evolve-evals/references/sdk-reference/checks.md +145 -0
- package/skills/evolve-evals/references/sdk-reference/datasets.md +170 -0
- package/skills/evolve-evals/references/sdk-reference/error-codes.md +231 -0
- package/skills/evolve-evals/references/sdk-reference/errors.md +98 -0
- package/skills/evolve-evals/references/sdk-reference/filesystem.md +166 -0
- package/skills/evolve-evals/references/sdk-reference/index.md +161 -0
- package/skills/evolve-evals/references/sdk-reference/jobs.md +250 -0
- package/skills/evolve-evals/references/sdk-reference/meta.md +54 -0
- package/skills/evolve-evals/references/sdk-reference/methods/agents.md +154 -0
- package/skills/evolve-evals/references/sdk-reference/methods/analyses.md +211 -0
- package/skills/evolve-evals/references/sdk-reference/methods/auth.md +257 -0
- package/skills/evolve-evals/references/sdk-reference/methods/checks.md +460 -0
- package/skills/evolve-evals/references/sdk-reference/methods/datasets.md +687 -0
- package/skills/evolve-evals/references/sdk-reference/methods/filesystem.md +527 -0
- package/skills/evolve-evals/references/sdk-reference/methods/jobs.md +1021 -0
- package/skills/evolve-evals/references/sdk-reference/methods/meta.md +209 -0
- package/skills/evolve-evals/references/sdk-reference/methods/secrets.md +157 -0
- package/skills/evolve-evals/references/sdk-reference/methods/skills.md +125 -0
- package/skills/evolve-evals/references/sdk-reference/methods/trials.md +371 -0
- package/skills/evolve-evals/references/sdk-reference/secrets.md +104 -0
- package/skills/evolve-evals/references/sdk-reference/skills.md +66 -0
- package/skills/evolve-evals/references/sdk-reference/trials.md +164 -0
- package/skills/evolve-evals/references/sdk-reference/types.md +1249 -0
- package/skills/publish/SKILL.md +103 -79
- package/skills/rewardkit/SKILL.md +78 -23
- package/spec/openapi.yaml +19 -74
- package/skills/evolve-evals/references/cli-reference/agent.mdx +0 -79
- package/skills/evolve-evals/references/cli-reference/analysis.mdx +0 -160
- package/skills/evolve-evals/references/cli-reference/analyze.mdx +0 -84
- package/skills/evolve-evals/references/cli-reference/auth.mdx +0 -133
- package/skills/evolve-evals/references/cli-reference/check.mdx +0 -263
- package/skills/evolve-evals/references/cli-reference/dataset.mdx +0 -151
- package/skills/evolve-evals/references/cli-reference/index.mdx +0 -108
- package/skills/evolve-evals/references/cli-reference/job.mdx +0 -278
- package/skills/evolve-evals/references/cli-reference/run.mdx +0 -204
- package/skills/evolve-evals/references/cli-reference/secrets.mdx +0 -95
- package/skills/evolve-evals/references/cli-reference/skill.mdx +0 -61
- package/skills/evolve-evals/references/cli-reference/skills.mdx +0 -81
- package/skills/evolve-evals/references/cli-reference/trial.mdx +0 -181
- package/skills/evolve-evals/references/cli-reference/upload.mdx +0 -36
- package/skills/evolve-evals/references/core-concepts/agents.mdx +0 -106
- package/skills/evolve-evals/references/core-concepts/analyze.mdx +0 -86
- package/skills/evolve-evals/references/core-concepts/check.mdx +0 -64
- package/skills/evolve-evals/references/core-concepts/datasets.mdx +0 -138
- package/skills/evolve-evals/references/core-concepts/index.mdx +0 -42
- package/skills/evolve-evals/references/core-concepts/jobs.mdx +0 -151
- package/skills/evolve-evals/references/core-concepts/models.mdx +0 -68
- package/skills/evolve-evals/references/core-concepts/sandboxes.mdx +0 -52
- package/skills/evolve-evals/references/core-concepts/secrets.mdx +0 -41
- package/skills/evolve-evals/references/core-concepts/sharing.mdx +0 -35
- package/skills/evolve-evals/references/core-concepts/skills.mdx +0 -42
- package/skills/evolve-evals/references/core-concepts/tasks.mdx +0 -216
- package/skills/evolve-evals/references/core-concepts/teams.mdx +0 -36
- package/skills/evolve-evals/references/core-concepts/trial-outputs.mdx +0 -117
- package/skills/evolve-evals/references/core-concepts/trials.mdx +0 -103
- package/skills/evolve-evals/references/core-concepts/upload.mdx +0 -93
- package/skills/evolve-evals/references/dashboard/checks.mdx +0 -21
- package/skills/evolve-evals/references/dashboard/datasets.mdx +0 -24
- package/skills/evolve-evals/references/dashboard/jobs.mdx +0 -65
- package/skills/evolve-evals/references/dashboard/traces.mdx +0 -17
- package/skills/evolve-evals/references/dashboard/trial-viewer.mdx +0 -30
- package/skills/evolve-evals/references/getting-started/installation.mdx +0 -56
- package/skills/evolve-evals/references/getting-started/quick-start.mdx +0 -94
- package/skills/evolve-evals/references/index.mdx +0 -48
- package/skills/evolve-evals/references/sdk/python.mdx +0 -161
- package/skills/evolve-evals/references/sdk/typescript.mdx +0 -163
- package/skills/evolve-evals/references/sdk-reference/agents.mdx +0 -108
- package/skills/evolve-evals/references/sdk-reference/analyses.mdx +0 -222
- package/skills/evolve-evals/references/sdk-reference/auth.mdx +0 -116
- package/skills/evolve-evals/references/sdk-reference/checks.mdx +0 -300
- package/skills/evolve-evals/references/sdk-reference/datasets.mdx +0 -346
- package/skills/evolve-evals/references/sdk-reference/errors.mdx +0 -210
- package/skills/evolve-evals/references/sdk-reference/index.mdx +0 -60
- package/skills/evolve-evals/references/sdk-reference/jobs.mdx +0 -822
- package/skills/evolve-evals/references/sdk-reference/meta.mdx +0 -52
- package/skills/evolve-evals/references/sdk-reference/skills.mdx +0 -69
- package/skills/evolve-evals/references/sdk-reference/trials.mdx +0 -302
- package/skills/evolve-evals/references/sdk-reference/types.mdx +0 -274
- package/skills/evolve-evals/references/snippets/global-options.mdx +0 -13
- package/skills/evolve-evals/references/snippets/list-flags.mdx +0 -23
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "evolve check"
|
|
3
|
+
description: "Check task quality, inspect the report, and read the checker's trace."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Check a local task folder, a folder of tasks, or a published dataset. Evolve runs the checker remotely.
|
|
7
|
+
|
|
8
|
+
### Local tasks
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
evolve check ./tasks --watch
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
### Published tasks
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
evolve check -d harbor-examples@1.0 -i hello-world --watch
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Use exactly one source: a local path or `--dataset`. Local tasks are uploaded for this check; they do not need to be published as a dataset first.
|
|
21
|
+
|
|
22
|
+
**Note:**
|
|
23
|
+
|
|
24
|
+
`evolve check` runs an agent and incurs usage. For metadata validation before publishing, use [`evolve dataset check`](/cli-reference/dataset#check-before-publishing).
|
|
25
|
+
|
|
26
|
+
## Choose tasks
|
|
27
|
+
|
|
28
|
+
| Option | Meaning |
|
|
29
|
+
| --- | --- |
|
|
30
|
+
| `-d`, `--dataset <name[@version]>` | Use tasks from a published dataset instead of a local path. |
|
|
31
|
+
| `-i`, `--include-task-name <glob>` | Include matching tasks. Repeatable. |
|
|
32
|
+
| `-x`, `--exclude-task-name <glob>` | Exclude matching tasks. Repeatable. |
|
|
33
|
+
| `-l`, `--n-tasks <n>` | Maximum tasks after filtering, selected in sorted order. |
|
|
34
|
+
| `-n`, `--n-concurrent <n>` | Concurrent task checks, `1`–`150`; otherwise your organization's ceiling. |
|
|
35
|
+
|
|
36
|
+
## Configure the checker
|
|
37
|
+
|
|
38
|
+
Read the actual platform defaults before customizing them.
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
evolve check --show-defaults
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
| Option | Meaning |
|
|
45
|
+
| --- | --- |
|
|
46
|
+
| `--name <name>` | Check label. Defaults to the acceptance timestamp. |
|
|
47
|
+
| `-m`, `--model <name>` | Checker model. |
|
|
48
|
+
| `--effort <value>` | Reasoning effort. |
|
|
49
|
+
| `-r`, `--rubric <path>` | TOML, YAML, or JSON rubric. |
|
|
50
|
+
| `-p`, `--prompt <path>` | Replacement prompt text file. |
|
|
51
|
+
| `-e`, `--env <provider>` | Checker sandbox provider. |
|
|
52
|
+
| `--show-defaults` | Print the prompt, rubric, model, effort, and provider, then exit. |
|
|
53
|
+
| `--watch` | Wait until every task check settles. |
|
|
54
|
+
| `-q`, `--quiet` | With watch, suppress intermediate progress. |
|
|
55
|
+
|
|
56
|
+
`--show-defaults` accepts only [global options](/cli-reference/index#global-options). It cannot be combined with a path, dataset, or checker options.
|
|
57
|
+
|
|
58
|
+
For rubric format and interpretation, see [Check](/core-concepts/check).
|
|
59
|
+
|
|
60
|
+
## Read the report
|
|
61
|
+
|
|
62
|
+
The command prints a parent check ID. Use it as `$CHECK_ID` below.
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
evolve check list
|
|
66
|
+
evolve check show "$CHECK_ID"
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
```text
|
|
70
|
+
Check
|
|
71
|
+
├── Task check: task A
|
|
72
|
+
├── Task check: task B
|
|
73
|
+
└── Task check: task C
|
|
74
|
+
|
|
75
|
+
Each task check
|
|
76
|
+
├── Criterion results
|
|
77
|
+
└── Trace
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
The default rubric's execution criteria say whether a task check ran the task; `unknown` on them is not proof that the solution or verifier ran. A clean inspection without execution is not proof that the solution and verifier work.
|
|
81
|
+
|
|
82
|
+
### List options
|
|
83
|
+
|
|
84
|
+
`check list` accepts the shared [list options](/cli-reference/index#list-options), plus:
|
|
85
|
+
|
|
86
|
+
| Option | Meaning |
|
|
87
|
+
| --- | --- |
|
|
88
|
+
| `--scope <my\|shared\|org>` | Records to list. Default `my`. |
|
|
89
|
+
| `--status <statuses>` | Comma-separated parent check statuses: `queued`, `running`, `completed`. |
|
|
90
|
+
| `-d`, `--dataset <name[@version]>` | Filter checks by dataset. A bare name includes all versions. |
|
|
91
|
+
|
|
92
|
+
`check show` returns exit code `1` if any task-check execution failed. A criterion marked `fail` is a quality finding, not that execution error.
|
|
93
|
+
|
|
94
|
+
## Inspect one task check
|
|
95
|
+
|
|
96
|
+
Find the task-check ID in `evolve check show "$CHECK_ID" --json`. Use that ID as `$TASK_CHECK_ID`.
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
evolve check trace "$TASK_CHECK_ID"
|
|
100
|
+
evolve check trace "$TASK_CHECK_ID" --since 200
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
`--since <n>` skips the first N transcript events. JSON output is one event per line. For files, logs, and live processes, use the [filesystem commands](/cli-reference/filesystem).
|
|
104
|
+
|
|
105
|
+
**Note:**
|
|
106
|
+
|
|
107
|
+
The parent check ID selects the whole report. Trace, files, logs, and processes need an individual **task-check ID**.
|
|
108
|
+
|
|
109
|
+
## Download
|
|
110
|
+
|
|
111
|
+
### Whole check
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
evolve check download "$CHECK_ID" -o checks/
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Saves `check-<id>/` with the report and task-check folders.
|
|
118
|
+
|
|
119
|
+
### One task check
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
evolve check download "$TASK_CHECK_ID" -o checks/
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Saves that task check's folder.
|
|
126
|
+
|
|
127
|
+
### One artifact
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
evolve check download "$TASK_CHECK_ID" --stream task-check
|
|
131
|
+
evolve check download "$TASK_CHECK_ID" --stream trace-stdout
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
| Option | Meaning |
|
|
135
|
+
| --- | --- |
|
|
136
|
+
| `-o`, `--output-dir <dir>` | Parent folder. Default `checks/`. |
|
|
137
|
+
| `--overwrite` | Allow replacing an existing folder. |
|
|
138
|
+
| `--stream <artifact>` | Print `task-check`, `trace-parsed`, `trace-stdout`, `trace-stderr`, or `agent-home`. Requires a task-check ID. |
|
|
139
|
+
| `--since <n>` | Skip N transcript events with `--stream trace-parsed`. |
|
|
140
|
+
|
|
141
|
+
Stream mode cannot be combined with output directory or overwrite.
|
|
142
|
+
|
|
143
|
+
## Share a report
|
|
144
|
+
|
|
145
|
+
The creator can share the parent check by link or email.
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
evolve check share "$CHECK_ID" --link
|
|
149
|
+
evolve check share "$CHECK_ID" --email colleague@example.com
|
|
150
|
+
evolve check shares "$CHECK_ID"
|
|
151
|
+
evolve check unshare "$CHECK_ID" --link
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
`share` and `unshare` accept `--link`, repeatable `--email <address>`, or both; at least one is required. Email sharing sends a link to the recipient.
|
|
155
|
+
|
|
156
|
+
[Sharing rules](/core-concepts/sharing) and [global options](/cli-reference/index#global-options) apply.
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "evolve dataset"
|
|
3
|
+
description: "Find tasks, validate a corpus, and publish a version for evaluation."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
A dataset version is a named collection of tasks. Jobs select `name@version`, or the active version when only the name is given.
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
evolve dataset list --search harbor-examples
|
|
10
|
+
evolve dataset show harbor-examples@1.0
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Browse the catalog
|
|
14
|
+
|
|
15
|
+
| Command | Options |
|
|
16
|
+
| --- | --- |
|
|
17
|
+
| `dataset list` | `--search <text>` matches names and descriptions; all shared [list options](/cli-reference/index#list-options). |
|
|
18
|
+
| `dataset show <name[@version]>` | `-l, --limit <n>` and `--cursor <cursor>` page the task list. |
|
|
19
|
+
|
|
20
|
+
The detail view includes versions, tasks, build failures, and provider information.
|
|
21
|
+
|
|
22
|
+
## Check before publishing
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
evolve dataset check ./tasks
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
This reads local task metadata and sends it to Evolve for validation. It does not publish the corpus or run the tasks.
|
|
29
|
+
|
|
30
|
+
For an agent-based quality check, use [`evolve check`](/cli-reference/check).
|
|
31
|
+
|
|
32
|
+
## Publish a version
|
|
33
|
+
|
|
34
|
+
Choose one source.
|
|
35
|
+
|
|
36
|
+
### Local directory
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
evolve dataset publish \
|
|
40
|
+
--dir ./tasks \
|
|
41
|
+
--name my-benchmark \
|
|
42
|
+
--version 1.0 \
|
|
43
|
+
--watch
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
A `dataset.toml` manifest can supply the name and version. Local publishing runs metadata preflight before uploading.
|
|
47
|
+
|
|
48
|
+
### Git repository
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
evolve dataset publish \
|
|
52
|
+
--git https://github.com/acme/tasks.git \
|
|
53
|
+
--ref v1.0.0 \
|
|
54
|
+
--path benchmark \
|
|
55
|
+
--name my-benchmark \
|
|
56
|
+
--version 1.0 \
|
|
57
|
+
--watch
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Pin a tag or full commit SHA. Branch names are refused. Omit `--path` to use the repository root.
|
|
61
|
+
|
|
62
|
+
### Public archive
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
evolve dataset publish \
|
|
66
|
+
--from https://example.com/tasks.tar.gz \
|
|
67
|
+
--name my-benchmark \
|
|
68
|
+
--version 1.0 \
|
|
69
|
+
--watch
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Evolve fetches the HTTPS archive. Supply both name and version.
|
|
73
|
+
|
|
74
|
+
### Harbor package
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
evolve dataset publish --from hub:cookbook/hello-world --watch
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Import a public Harbor Hub package using `hub:org/name[@ref]`. Name and version may come from the package.
|
|
81
|
+
|
|
82
|
+
### Publish options
|
|
83
|
+
|
|
84
|
+
| Option | Meaning |
|
|
85
|
+
| --- | --- |
|
|
86
|
+
| `--dir <path>` | Local corpus directory. |
|
|
87
|
+
| `--git <url>` | Git repository URL. Requires `--ref`. |
|
|
88
|
+
| `--ref <tag\|sha>` | Pinned Git revision. |
|
|
89
|
+
| `--path <subfolder>` | Corpus folder within the Git repository. |
|
|
90
|
+
| `--from <source>` | Public HTTPS tarball or `hub:org/name[@ref]`. |
|
|
91
|
+
| `--name <name>` | Dataset name. Required for Git and HTTPS sources. |
|
|
92
|
+
| `--version <version>` | Version label. Required for Git and HTTPS sources. |
|
|
93
|
+
| `--org <name>` | Organization for a new dataset; otherwise the saved CLI default, then personal. |
|
|
94
|
+
| `--skip-preflight` | Skip metadata preflight for a local directory. |
|
|
95
|
+
| `--watch` | Follow the import and version build to completion. |
|
|
96
|
+
|
|
97
|
+
Do not combine source types. `--skip-preflight` skips the early check; it does not remove import validation.
|
|
98
|
+
|
|
99
|
+
## Follow the build
|
|
100
|
+
|
|
101
|
+
```text
|
|
102
|
+
1. Upload or fetch the corpus
|
|
103
|
+
↓
|
|
104
|
+
2. Validate tasks and build environments
|
|
105
|
+
↓
|
|
106
|
+
3. Settle the version
|
|
107
|
+
├── At least one task built → READY
|
|
108
|
+
└── No task built → FAILED
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
A `READY` version can contain failed tasks. The final report shows how many built and which failed. On your own dataset, the new ready version becomes active.
|
|
112
|
+
|
|
113
|
+
To reconnect while an import is running:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
evolve dataset watch my-benchmark
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
To inspect a specific import, including one that has already settled, use its full ID:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
evolve dataset watch "$IMPORT_ID"
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
`$IMPORT_ID` is printed during publishing. Watching by dataset name selects a live import; when none exists, the command returns `nothing_to_watch`.
|
|
126
|
+
|
|
127
|
+
With `--json`, watching prints progress records followed by `import.final`.
|
|
128
|
+
|
|
129
|
+
## Change the active version
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
evolve dataset activate my-benchmark 1.0
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
The chosen version must be `READY`. This changes what a bare `my-benchmark` selects; version-pinned jobs still use their selected version.
|
|
136
|
+
|
|
137
|
+
## Download the corpus
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
evolve dataset download my-benchmark@1.0 -o corpora/
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
`-o, --output-dir <dir>` sets the destination; the default is the current directory. This downloads the original stored corpus package. Access is limited to the dataset owner.
|
|
144
|
+
|
|
145
|
+
## Read one task's files
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
evolve dataset files list harbor-examples@1.0 hello-world /
|
|
149
|
+
evolve dataset files cat harbor-examples@1.0 hello-world /instruction.md
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
Use [`dataset files status/list/cat`](/cli-reference/filesystem#published-task-files) for package metadata, folder pagination, and byte ranges. These commands require an explicit dataset version.
|
|
153
|
+
|
|
154
|
+
[Global options](/cli-reference/index#global-options) apply. Next, [run a job](/cli-reference/run) against the published version.
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Files, logs, and processes"
|
|
3
|
+
description: "Inspect a running sandbox, captured files, or a published task package."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
The same read commands work for trials, analysis runs, and individual task checks.
|
|
7
|
+
|
|
8
|
+
| Resource | Command prefix | ID source |
|
|
9
|
+
| --- | --- | --- |
|
|
10
|
+
| Evaluation trial | `evolve trial` | `evolve job trials "$JOB_ID"` |
|
|
11
|
+
| Analysis run | `evolve analysis` | `evolve analysis list` |
|
|
12
|
+
| Task check | `evolve check` | `evolve check show "$CHECK_ID" --json` |
|
|
13
|
+
|
|
14
|
+
Use the corresponding full ID as `$TRIAL_ID`, `$ANALYSIS_ID`, or `$TASK_CHECK_ID` below.
|
|
15
|
+
|
|
16
|
+
## Choose a resource
|
|
17
|
+
|
|
18
|
+
### Trial
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
evolve trial files status "$TRIAL_ID"
|
|
22
|
+
evolve trial files list "$TRIAL_ID" /
|
|
23
|
+
evolve trial files cat "$TRIAL_ID" /app/result.txt
|
|
24
|
+
evolve trial files search "$TRIAL_ID" 'error' --path /app
|
|
25
|
+
evolve trial files changes "$TRIAL_ID"
|
|
26
|
+
evolve trial files archive "$TRIAL_ID" --path /app -o archives/
|
|
27
|
+
evolve trial logs "$TRIAL_ID" --stream agent --follow
|
|
28
|
+
evolve trial procs "$TRIAL_ID"
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Analysis
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
evolve analysis files status "$ANALYSIS_ID"
|
|
35
|
+
evolve analysis files list "$ANALYSIS_ID" /
|
|
36
|
+
evolve analysis files cat "$ANALYSIS_ID" /app/analysis.json
|
|
37
|
+
evolve analysis files search "$ANALYSIS_ID" 'error' --path /app
|
|
38
|
+
evolve analysis files changes "$ANALYSIS_ID"
|
|
39
|
+
evolve analysis files archive "$ANALYSIS_ID" --path /app -o archives/
|
|
40
|
+
evolve analysis logs "$ANALYSIS_ID" --stream agent --follow
|
|
41
|
+
evolve analysis procs "$ANALYSIS_ID"
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Use an analysis ID, not the evaluated trial's ID.
|
|
45
|
+
|
|
46
|
+
### Task check
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
evolve check files status "$TASK_CHECK_ID"
|
|
50
|
+
evolve check files list "$TASK_CHECK_ID" /
|
|
51
|
+
evolve check files cat "$TASK_CHECK_ID" /app/task/task.toml
|
|
52
|
+
evolve check files search "$TASK_CHECK_ID" 'error' --path /app
|
|
53
|
+
evolve check files changes "$TASK_CHECK_ID"
|
|
54
|
+
evolve check files archive "$TASK_CHECK_ID" --path /app -o archives/
|
|
55
|
+
evolve check logs "$TASK_CHECK_ID" --stream agent --follow
|
|
56
|
+
evolve check procs "$TASK_CHECK_ID"
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Use the individual task-check ID, not the parent check ID.
|
|
60
|
+
|
|
61
|
+
The file paths above are examples. List the folder first and choose a path that exists in your run.
|
|
62
|
+
|
|
63
|
+
## Live or captured?
|
|
64
|
+
|
|
65
|
+
`files status` reports what is available.
|
|
66
|
+
|
|
67
|
+
| State | What you can inspect |
|
|
68
|
+
| --- | --- |
|
|
69
|
+
| `live` | Files in the running sandbox. |
|
|
70
|
+
| `capturing` | Capture is still being written. |
|
|
71
|
+
| `captured` | The stored file tree. |
|
|
72
|
+
| `none` | No live sandbox or available capture. |
|
|
73
|
+
|
|
74
|
+
Reads normally choose the available source. Add `--source live` or `--source capture` to require one; an unavailable source returns an error.
|
|
75
|
+
|
|
76
|
+
**Note:**
|
|
77
|
+
|
|
78
|
+
A capture is not a full copy of the original image. Unchanged image files can appear in listings without stored bytes. Reading one returns `not_captured`. Search also excludes files whose bytes were not captured.
|
|
79
|
+
|
|
80
|
+
## Browse and read
|
|
81
|
+
|
|
82
|
+
| Command | Options |
|
|
83
|
+
| --- | --- |
|
|
84
|
+
| `files status <id>` | No command-specific options. |
|
|
85
|
+
| `files list <id> [path]` | Path defaults to `/`; `--source`; `-l, --limit` (default `500`, max `1000`); `--cursor <name>`. |
|
|
86
|
+
| `files cat <id> <path>` | `--source`; `--range <bytes=a-b>`. |
|
|
87
|
+
|
|
88
|
+
`files ls` is an alias of `files list`. Listing cursors come from `next_cursor`.
|
|
89
|
+
|
|
90
|
+
### Byte ranges and binary output
|
|
91
|
+
|
|
92
|
+
| Range | Selects |
|
|
93
|
+
| --- | --- |
|
|
94
|
+
| `bytes=0-1023` | The first 1024 bytes. |
|
|
95
|
+
| `bytes=1024-` | Everything from byte 1024 onward. |
|
|
96
|
+
| `bytes=-1024` | The last 1024 bytes. |
|
|
97
|
+
|
|
98
|
+
`files cat` writes raw bytes. Redirect them to a local file when needed.
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
evolve trial files cat "$TRIAL_ID" /app/result.txt > result.txt
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
With `--json`, the response contains base64 `data`, `encoding`, `bytes`, and `path`.
|
|
105
|
+
|
|
106
|
+
## Search and changes
|
|
107
|
+
|
|
108
|
+
| Command | Options |
|
|
109
|
+
| --- | --- |
|
|
110
|
+
| `files search <id> <text>` | `--path <folder>` (default `/`); `--regex`; `-l, --limit` (default `200`, max `1000`); `--source`. |
|
|
111
|
+
| `files changes <id>` | `--phase <setup\|agent\|verifier\|all>` (default `all`); `-l, --limit` (default `500`, max `1000`); `--cursor <path>`; `--source`. |
|
|
112
|
+
|
|
113
|
+
Search reports file paths, line numbers, and snippets. Narrow `--path` when searching the whole sandbox is unnecessary.
|
|
114
|
+
|
|
115
|
+
Changes report created, modified, and removed files by execution phase.
|
|
116
|
+
|
|
117
|
+
## Download a subtree
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
evolve trial files archive "$TRIAL_ID" --path /app -o archives/
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
| Option | Meaning |
|
|
124
|
+
| --- | --- |
|
|
125
|
+
| `--path <path>` | Subtree to archive. Default `/`. |
|
|
126
|
+
| `--source <live\|capture>` | Require a specific source. |
|
|
127
|
+
| `-o`, `--output-dir <dir>` | Save the `.tar.gz` file and print its path. |
|
|
128
|
+
|
|
129
|
+
Without an output directory, the command writes archive bytes to stdout. With `--json`, those bytes are base64; when saving to disk, JSON returns the saved path.
|
|
130
|
+
|
|
131
|
+
## Logs
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
evolve trial logs "$TRIAL_ID" --stream agent --follow
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
| Option | Meaning |
|
|
138
|
+
| --- | --- |
|
|
139
|
+
| `--stream <name>` | Required: `agent`, `verifier`, or `system`. |
|
|
140
|
+
| `-f`, `--follow` | Keep printing new lines while the sandbox lives. |
|
|
141
|
+
| `-l`, `--limit <n>` | Lines per page without follow. Default and maximum `1000`. |
|
|
142
|
+
| `--cursor <seq>` | Resume after this line sequence. |
|
|
143
|
+
|
|
144
|
+
`system` is recorded only when the job enabled `--system-log`. `setup` and `metrics` are accepted stream names but are not recorded today.
|
|
145
|
+
|
|
146
|
+
Without follow, JSON is a page of lines. With follow, each line is a separate JSON record. `--limit` does not limit a follow stream.
|
|
147
|
+
|
|
148
|
+
## Processes
|
|
149
|
+
|
|
150
|
+
`procs <id>` reads the running sandbox's process list. It accepts only [global options](/cli-reference/index#global-options) and is unavailable after the sandbox ends.
|
|
151
|
+
|
|
152
|
+
## Published task files
|
|
153
|
+
|
|
154
|
+
These commands read the **task package**, not a trial sandbox. Pin the dataset version.
|
|
155
|
+
|
|
156
|
+
```bash
|
|
157
|
+
evolve dataset files status harbor-examples@1.0 hello-world
|
|
158
|
+
evolve dataset files list harbor-examples@1.0 hello-world /
|
|
159
|
+
evolve dataset files cat harbor-examples@1.0 hello-world /instruction.md
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
| Command | Options |
|
|
163
|
+
| --- | --- |
|
|
164
|
+
| `dataset files status <name@version> <task>` | No command-specific options. |
|
|
165
|
+
| `dataset files list <name@version> <task> [path]` | Path defaults to `/`; `-l, --limit` (default `500`, max `1000`); `--cursor <name>`. |
|
|
166
|
+
| `dataset files cat <name@version> <task> <path>` | `--range <bytes=a-b>`. |
|
|
167
|
+
|
|
168
|
+
Task-package reads have no live/capture selector. All commands accept [global options](/cli-reference/index#global-options).
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "CLI reference"
|
|
3
|
+
description: "Run evaluations, inspect results, and manage the resources around them."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Use `evolve` to run evaluations in the cloud. Add `--help` to any command for its options.
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
evolve run --help
|
|
10
|
+
evolve job list --json
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
**[Run an evaluation](/cli-reference/run)**
|
|
14
|
+
|
|
15
|
+
Select tasks, agents, models, and a spend cap.
|
|
16
|
+
|
|
17
|
+
**[Inspect results](/cli-reference/job)**
|
|
18
|
+
|
|
19
|
+
Read scores, compare jobs, and inspect trials.
|
|
20
|
+
|
|
21
|
+
**[Check and analyze](/cli-reference/check)**
|
|
22
|
+
|
|
23
|
+
Check task quality or analyze completed traces.
|
|
24
|
+
|
|
25
|
+
**[Read files and logs](/cli-reference/filesystem)**
|
|
26
|
+
|
|
27
|
+
Browse a running sandbox or its captured files.
|
|
28
|
+
|
|
29
|
+
## Choose a command
|
|
30
|
+
|
|
31
|
+
| You want to… | Command |
|
|
32
|
+
| --- | --- |
|
|
33
|
+
| Start an evaluation | [`run`](/cli-reference/run), also `job start` |
|
|
34
|
+
| Inspect or act on a job | [`job`](/cli-reference/job) |
|
|
35
|
+
| Inspect or act on one trial | [`trial`](/cli-reference/trial) |
|
|
36
|
+
| Analyze completed traces | [`analyze`](/cli-reference/analyze) |
|
|
37
|
+
| Read analysis runs | [`analysis`](/cli-reference/analysis) |
|
|
38
|
+
| Check tasks and read reports | [`check`](/cli-reference/check) |
|
|
39
|
+
| Browse or publish tasks | [`dataset`](/cli-reference/dataset) |
|
|
40
|
+
| Import completed results | [`upload`](/cli-reference/upload) |
|
|
41
|
+
| Register a custom agent | [`agent`](/cli-reference/agent) |
|
|
42
|
+
| Upload skills for evaluated agents | [`skill`](/cli-reference/skill) |
|
|
43
|
+
| Read the bundled agent manual | [`skills`](/cli-reference/skills) |
|
|
44
|
+
| Check identity or manage teams | [`auth`](/cli-reference/auth) |
|
|
45
|
+
| Store environment secrets | [`secrets`](/cli-reference/secrets) |
|
|
46
|
+
| Inspect managed-agent sessions | [`session`](/cli-reference/session) |
|
|
47
|
+
|
|
48
|
+
`skill` and `skills` are different: one manages uploaded content; the other reads the manual shipped with your CLI.
|
|
49
|
+
|
|
50
|
+
## Global options
|
|
51
|
+
|
|
52
|
+
Put options after the command, as in `evolve job list --json`.
|
|
53
|
+
|
|
54
|
+
| Option | Meaning |
|
|
55
|
+
| --- | --- |
|
|
56
|
+
| `--json` | Machine-readable output. The shape depends on the command; see [Output](#output). |
|
|
57
|
+
| `--api-key <key>` | Override `EVOLVE_API_KEY`. |
|
|
58
|
+
| `--base-url <url>` | Override `EVOLVE_DASHBOARD_URL`, otherwise use the Evolve dashboard API. |
|
|
59
|
+
| `-h`, `--help` | Show help for the command. |
|
|
60
|
+
|
|
61
|
+
`evolve --version` or `evolve -v` prints the installed version. Bare `evolve` prints help.
|
|
62
|
+
|
|
63
|
+
## List options
|
|
64
|
+
|
|
65
|
+
Paged lists return **one page**. Pass the returned cursor to read the next.
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
evolve job list --limit 20 --json
|
|
69
|
+
evolve job list --cursor "$NEXT_CURSOR" --json
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
| Option | Meaning |
|
|
73
|
+
| --- | --- |
|
|
74
|
+
| `-l`, `--limit <n>` | Page size. |
|
|
75
|
+
| `--cursor <cursor>` | Read the next page. |
|
|
76
|
+
| `--columns <keys>` | Comma-separated column names, in the order you want. |
|
|
77
|
+
| `--columns all` | Show every available column. |
|
|
78
|
+
| `--columns help` | List available columns without an API request. |
|
|
79
|
+
| `-q`, `--quiet` | Print only IDs, or the resource's name where it has no ID column. |
|
|
80
|
+
| `--no-trunc` | Keep full cell text in terminal tables. |
|
|
81
|
+
| `--no-headers` | Omit the header from piped TSV output. |
|
|
82
|
+
|
|
83
|
+
These options apply to paged `list` commands, `job trials`, `job tasks`, and `job imports`. `auth org list` and `secrets list` use the formatting options only. The local `skills list` has its own simpler output.
|
|
84
|
+
|
|
85
|
+
### Scope
|
|
86
|
+
|
|
87
|
+
`job list`, `analysis list`, `check list`, `session list`, `agent list`, and `skill list` accept `--scope`.
|
|
88
|
+
|
|
89
|
+
| Value | Records selected |
|
|
90
|
+
| --- | --- |
|
|
91
|
+
| `my` | Records you created. Default. |
|
|
92
|
+
| `shared` | Other users’ records available through your organizations or supported email shares. |
|
|
93
|
+
| `org` | Records across your organizations, including your own. |
|
|
94
|
+
|
|
95
|
+
Email shares apply to jobs, analyses, checks, and sessions. Analyses follow the ownership and sharing of their source job.
|
|
96
|
+
|
|
97
|
+
Use full IDs when opening records from another scope. Prefix lookup usually searches your own records.
|
|
98
|
+
|
|
99
|
+
## IDs and values
|
|
100
|
+
|
|
101
|
+
Most positional UUIDs accept an unambiguous prefix of at least eight characters. A full ID avoids the extra lookup requests.
|
|
102
|
+
|
|
103
|
+
**Note:**
|
|
104
|
+
|
|
105
|
+
Use **full trial IDs** with `analyze --trial` and `job retry --trial`. Import IDs must also be copied in full.
|
|
106
|
+
|
|
107
|
+
A trial prefix may require reading the trials of every job in scope. On large accounts, prefer the full ID from `evolve job trials "$JOB_ID"`.
|
|
108
|
+
|
|
109
|
+
Repeat a repeatable flag once per value. Do not combine short flags.
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
evolve run -d harbor-examples@1.0 -a codex -m gpt-5.6-luna \
|
|
113
|
+
-i 'hello-*' -x '*-slow' --max-trial-spend 0.30 --max-retries 0
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Values may begin with `-`. If a value is also a recognized option, use `--flag=value` to make it explicit.
|
|
117
|
+
|
|
118
|
+
### Aliases
|
|
119
|
+
|
|
120
|
+
`jobs`, `trials`, `analyses`, `sessions`, and `datasets` alias their singular nouns. `secret` aliases `secrets`. `ls` aliases `list`, including `files ls` and `auth org ls`.
|
|
121
|
+
|
|
122
|
+
`agents` is reserved and is not an alias of `agent`. `skills` is not an alias of `skill`.
|
|
123
|
+
|
|
124
|
+
## Output
|
|
125
|
+
|
|
126
|
+
| Command shape | Output with `--json` |
|
|
127
|
+
| --- | --- |
|
|
128
|
+
| Ordinary read or list | One JSON object or page. Multiple `job show` IDs return an array. |
|
|
129
|
+
| Run, analysis, or check with `--watch` | One JSON record per line: accepted, progress, final. |
|
|
130
|
+
| Dataset publish/watch | One JSON record per line while watching. |
|
|
131
|
+
| Upload or `job import --watch` | One final job or error object. |
|
|
132
|
+
| Trace or `logs --follow` | One event or log line per JSON record. |
|
|
133
|
+
| File or archive to stdout | Base64 data with a byte count. Without `--json`, raw bytes. |
|
|
134
|
+
|
|
135
|
+
Without `--json`, lists use aligned tables in a terminal and tab-separated rows when piped. `-q` is command-specific: on lists it selects IDs; during a watch it suppresses progress.
|
|
136
|
+
|
|
137
|
+
Runtime and API errors print an error object under `--json`, plus a human message on stderr. Usage errors print only to stderr. A partially completed `job stop` can print its partial result before an error.
|
|
138
|
+
|
|
139
|
+
## Exit codes
|
|
140
|
+
|
|
141
|
+
| Code | Meaning |
|
|
142
|
+
| --- | --- |
|
|
143
|
+
| `0` | Command succeeded. An accepted asynchronous request may still be running. |
|
|
144
|
+
| `1` | Runtime/API failure, watched job cancelled or failed, or an analysis/task-check execution failed. |
|
|
145
|
+
| `2` | Invalid command usage or launch quota refusal. |
|
|
146
|
+
|
|
147
|
+
A completed job can contain failed trials. A check criterion marked `fail` is a quality finding; an errored checker is an execution failure. `check show` also returns `1` when a task checker failed.
|
|
148
|
+
|
|
149
|
+
For API error codes, see [Errors](/sdk-reference/errors).
|