qualia-cli 0.3.0rc13__tar.gz → 0.3.0rc15__tar.gz

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.
Files changed (81) hide show
  1. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/PKG-INFO +142 -33
  2. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/README.md +140 -31
  3. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/examples/agent_path.sh +3 -2
  4. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/pyproject.toml +6 -4
  5. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/qualia-cli.spec.md +36 -4
  6. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/__init__.py +1 -1
  7. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/checks.py +306 -52
  8. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/dataset_episodes.py +14 -2
  9. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/dataset_ops.py +33 -24
  10. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/dataset_studio.py +18 -4
  11. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/datasets.py +278 -113
  12. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/issues.py +15 -6
  13. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/mixtures.py +3 -2
  14. qualia_cli-0.3.0rc15/src/qualia_cli/commands/pipelines.py +379 -0
  15. qualia_cli-0.3.0rc15/src/qualia_cli/commands/preparation.py +855 -0
  16. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/statuses.py +7 -2
  17. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/tasks.py +12 -1
  18. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/versions.py +33 -19
  19. qualia_cli-0.3.0rc15/src/qualia_cli/dataset_ref.py +199 -0
  20. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/main.py +24 -6
  21. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/output.py +13 -2
  22. qualia_cli-0.3.0rc15/src/qualia_cli/run_ref.py +128 -0
  23. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_checks.py +428 -1
  24. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_dataset_ops.py +47 -1
  25. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_datasets.py +302 -27
  26. qualia_cli-0.3.0rc15/tests/commands/test_pipelines.py +409 -0
  27. qualia_cli-0.3.0rc15/tests/commands/test_preparation.py +1192 -0
  28. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_umi_setup.py +139 -0
  29. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_versions.py +41 -0
  30. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/test_agent_path_example.py +10 -0
  31. qualia_cli-0.3.0rc15/tests/test_dataset_ref.py +522 -0
  32. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/test_main.py +47 -2
  33. qualia_cli-0.3.0rc15/tests/test_output.py +72 -0
  34. qualia_cli-0.3.0rc15/tests/test_run_ref.py +483 -0
  35. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/uv.lock +2 -2
  36. qualia_cli-0.3.0rc13/src/qualia_cli/commands/pipelines.py +0 -155
  37. qualia_cli-0.3.0rc13/src/qualia_cli/commands/preparation.py +0 -421
  38. qualia_cli-0.3.0rc13/tests/commands/test_pipelines.py +0 -183
  39. qualia_cli-0.3.0rc13/tests/commands/test_preparation.py +0 -285
  40. qualia_cli-0.3.0rc13/tests/test_output.py +0 -32
  41. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/.gitignore +0 -0
  42. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/client.py +0 -0
  43. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/__init__.py +0 -0
  44. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/activity.py +0 -0
  45. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/auth.py +0 -0
  46. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/credits.py +0 -0
  47. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/git.py +0 -0
  48. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/grippers.py +0 -0
  49. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/instances.py +0 -0
  50. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/integrations.py +0 -0
  51. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/members.py +0 -0
  52. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/models.py +0 -0
  53. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/projects.py +0 -0
  54. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/commands/robots.py +0 -0
  55. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/src/qualia_cli/config.py +0 -0
  56. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/__init__.py +0 -0
  57. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/agent_path_stub.py +0 -0
  58. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/__init__.py +0 -0
  59. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_activity.py +0 -0
  60. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_auth.py +0 -0
  61. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_credits.py +0 -0
  62. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_dataset_episodes.py +0 -0
  63. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_dataset_studio.py +0 -0
  64. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_dataset_transfer.py +0 -0
  65. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_git.py +0 -0
  66. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_grippers.py +0 -0
  67. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_integrations.py +0 -0
  68. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_issues.py +0 -0
  69. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_members.py +0 -0
  70. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_mixtures.py +0 -0
  71. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_models.py +0 -0
  72. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_projects.py +0 -0
  73. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_robots.py +0 -0
  74. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_robots_parity.py +0 -0
  75. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_statuses.py +0 -0
  76. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/commands/test_tasks.py +0 -0
  77. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/conftest.py +0 -0
  78. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/test_client.py +0 -0
  79. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/test_config.py +0 -0
  80. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/test_older_sdk.py +0 -0
  81. {qualia_cli-0.3.0rc13 → qualia_cli-0.3.0rc15}/tests/test_sdk_floor.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: qualia-cli
3
- Version: 0.3.0rc13
3
+ Version: 0.3.0rc15
4
4
  Summary: CLI for Qualia robot data curation: upload, curate, version and export datasets
5
5
  Project-URL: Homepage, https://qualiastudios.dev
6
6
  Project-URL: Documentation, https://docs.qualiastudios.dev
@@ -18,14 +18,14 @@ Classifier: Typing :: Typed
18
18
  Requires-Python: >=3.10
19
19
  Requires-Dist: click>=8.1.0
20
20
  Requires-Dist: pyyaml>=6.0
21
- Requires-Dist: qualia-sdk>=0.8.0rc13
21
+ Requires-Dist: qualia-sdk>=0.8.0rc15
22
22
  Requires-Dist: rich>=13.0.0
23
23
  Requires-Dist: typer>=0.15.0
24
24
  Description-Content-Type: text/markdown
25
25
 
26
26
  # qualia-cli — terminal client for Qualia robot data: upload, curate, version, export
27
27
 
28
- **Status:** beta pre-release (0.3.0rc13) · **Distribution:** PyPI, `qualia-cli` (installs `qualia-sdk`)
28
+ **Status:** beta pre-release (0.3.0rc15) · **Distribution:** PyPI, `qualia-cli` (installs `qualia-sdk`)
29
29
 
30
30
  Qualia keeps robot recordings (MCAP or LeRobot) as datasets of episodes. The `qualia` command
31
31
  uploads a folder of takes and shows what preparation found in it. It links the episodes to a Task
@@ -55,24 +55,28 @@ pre-release for now.
55
55
  ### Pre-release builds
56
56
 
57
57
  The CLI and the deployment it talks to negotiate the upload protocol exactly, so pin the version
58
- your deployment's docs name. This candidate is `0.3.0rc13` and requires `qualia-sdk>=0.8.0rc13`.
58
+ your deployment's docs name. This candidate is `0.3.0rc15` and requires `qualia-sdk>=0.8.0rc15`.
59
59
  `qualia dataset preparation` and `qualia dataset confirm-task-names` first shipped in `0.3.0rc12`;
60
- `0.3.0rc11` answers "No such command".
60
+ `0.3.0rc11` answers "No such command". `qualia dataset preparation --wait` and
61
+ `qualia --version` first shipped in `0.3.0rc14`; `0.3.0rc13` answers "No such option".
62
+ `qualia dataset download --format original` takes a workspace key from `0.3.0rc15`; earlier
63
+ releases need an organization key and return the stored folder, `meta/qds` included.
61
64
 
62
65
  ```sh
63
- pip install 'qualia-cli==0.3.0rc13'
66
+ pip install 'qualia-cli==0.3.0rc15'
64
67
  ```
65
68
 
66
69
  uv does not resolve a pre-release through a dependency, even one that names it, so uv needs the
67
70
  flag as well as the pin:
68
71
 
69
72
  ```sh
70
- uv tool install --prerelease=allow 'qualia-cli==0.3.0rc13'
73
+ uv tool install --prerelease=allow 'qualia-cli==0.3.0rc15'
71
74
  ```
72
75
 
73
- Upgrading from 0.1.2: fine-tuning is gone (`qualia job list`, `launch`, `get`, `items`, `logs`,
74
- `cancel`, `hyperparams`, removed in 0.3.0rc10). `qualia status list --running` shows a launched
75
- pipeline run.
76
+ Upgrading from 0.1.2: 0.3.0rc10 removed the fine-tuning commands (`qualia job list`, `launch`,
77
+ `get`, `items`, `logs`, `cancel`, `hyperparams`); `qualia status list --running` shows a launched
78
+ pipeline run. Training isn't available on your account's plan yet. We're working on it. To request
79
+ access, write to support@qualiastudios.dev.
76
80
 
77
81
  ## Quick start
78
82
 
@@ -81,8 +85,8 @@ From a fresh upload to a downloaded version. Each step is in the
81
85
 
82
86
  ```sh
83
87
  qualia auth login --api-key <key> # the key names its account
84
- qualia dataset upload ./takes box-pick # "Source dataset: <dataset>"
85
- qualia dataset preparation <dataset> # tasks found, the dataset's task names, warnings
88
+ qualia dataset upload ./takes box-pick # "Source dataset: <dataset>", and the next step
89
+ qualia dataset preparation <dataset> --wait # waits for it: tasks found, task names, warnings
86
90
  qualia task create --name "Pick a box" -d "Move the box from the crate to the table"
87
91
  qualia task edit <task> --success "The box stands on the table"
88
92
  qualia task publish <task>
@@ -96,6 +100,12 @@ qualia dataset pin <dataset> 1.0 # the kept takes, as version
96
100
  qualia dataset download <dataset>:1.0 --format lerobot_v2_1
97
101
  ```
98
102
 
103
+ `<dataset>` is the dataset's id (what `Source dataset:` prints), its full name
104
+ (`accounts/.../datasets/...`) or its slug, the name in its dashboard address. Every command
105
+ that takes a dataset takes any of the three; only `qualia dataset delete` wants the full id or
106
+ name. The short id `qualia dataset list` shows works too, while one dataset of the workspace
107
+ begins with it; in a script, pass the slug or the whole id, which cost less to look up.
108
+
99
109
  ## Draft Tasks from selected episodes (staged)
100
110
 
101
111
  Manual creation remains available: `qualia task create --name "Pick a box"`
@@ -126,7 +136,7 @@ qualia task drafts <task> # every draft run and its
126
136
  No reference is sampled, suggested or silently omitted. The apply command
127
137
  saves an editable proposal, never publishes; the file may edit its text and
128
138
  procedure. `--max-cost` caps credit reservation, and `task draft-get` can
129
- resume review after a lost connection. The draft runs on Gemini 3.8 Flash in
139
+ resume review after a lost connection. The draft runs on Qualia VLM Fast in
130
140
  every environment.
131
141
 
132
142
  ## Usage
@@ -181,12 +191,19 @@ qualia model slots pi05
181
191
 
182
192
  # Launch any template the dashboard's launcher offers
183
193
  qualia pipeline templates
184
- qualia pipeline launch <template> --project <id> --set dataset=<version-id> --set hours=1
194
+ qualia pipeline show <template> # launch fields and audience
195
+ qualia pipeline launch <template> --project <id> --set dataset=<version-id> --max-cost 400
196
+ qualia pipeline estimate <template> --project <id> --set dataset=<version-id>
197
+ qualia pipeline catalog # what your own templates may pin
198
+ qualia pipeline template validate -f our-act.toml
199
+ qualia pipeline template apply -f our-act.toml # new graph: next version; new description: same
200
+ qualia pipeline template history our-act
201
+ qualia pipeline template retire our-act
185
202
 
186
203
  # Running work in a workspace (--workspace or QUALIA_WORKSPACE; --org for the
187
204
  # organization), and stop one
188
205
  qualia status list --running
189
- qualia status cancel <operation-id>
206
+ qualia status cancel <operation-id> # or a check run: vlm/<run-id>, as `qualia check runs` prints it
190
207
 
191
208
  # Upload a recorded MCAP session; a session no bag can derive is refused
192
209
  # before upload unless you pass --allow-underivable
@@ -226,6 +243,22 @@ qualia dataset upload ./session dk1-kitchen --source-format mcap_ros2
226
243
  # The format is read from the tree when --source-format is left out.
227
244
  qualia dataset upload ./my-recording my-dataset
228
245
 
246
+ # Who recorded each LeRobot episode, on which station, in which shift: put
247
+ # meta/qualia/episodes.jsonl in the tree before uploading, one line per episode
248
+ # (episode_index is a number from 0; operator, scene and session_id are quoted
249
+ # strings):
250
+ # {"episode_index": 0, "operator": "ana", "scene": "station-2", "session_id": "2026-11-09-am"}
251
+ # {"episode_index": 1, "operator": "ben", "scene": "station-1", "session_id": "2026-11-09-am"}
252
+ # {"episode_index": 2, "operator": "ana", "scene": "station-2", "session_id": "2026-11-09-pm"}
253
+ # An episode without a line keeps them empty; a line that cannot be applied is
254
+ # left out with a finding and never fails the upload. rig_id there means the
255
+ # robot, so leave stations out of it. Then filter and count by operator, scene
256
+ # (the station) and session (the shift), and correct a station with an edit,
257
+ # which wins over the file:
258
+ qualia dataset episodes <dataset> --filter 'operator = "ana" AND session = "2026-11-09-am"'
259
+ qualia dataset summary <dataset> --facet operator --facet scene --facet session
260
+ qualia dataset edit <episode>... -d <dataset> --scene "station-1"
261
+
229
262
  # Save a default merged-dataset destination for uploads in this local config.
230
263
  # It is bound to this API host, account, and workspace; changing it affects
231
264
  # future upload intents, not uploads already in flight.
@@ -360,8 +393,8 @@ qualia dataset history <episode> -d <dataset>
360
393
  qualia dataset videos <episode> -d <dataset> --download ./videos
361
394
 
362
395
  # Download a dataset version in a format (lerobot_v3 default, lerobot_v2_1,
363
- # mcap_ros2), or every file uploaded to it, byte for byte (original: no
364
- # version, trims and splits not applied, an organization key for now).
396
+ # mcap_ros2), or the files its newest upload sent, byte for byte (original:
397
+ # no version, trims and splits not applied).
365
398
  # No version means the newest: stable, or v0 when nothing is tagged yet (it
366
399
  # says so). A version is a tag, stable, v0, the DatasetVersion id an upload
367
400
  # prints, or a digest or id prefix. Default folder: ./<slug>-<tag>, plus
@@ -370,6 +403,10 @@ qualia dataset videos <episode> -d <dataset> --download ./videos
370
403
  # Saved shelf:1.0 as mcap_ros2 to /path (12 files, 1.2 GB)
371
404
  qualia dataset download <dataset>[:<version>] [dest] --format lerobot_v2_1
372
405
  qualia dataset download <dataset> --format original
406
+ # Until QUA-4341 and QUA-4342, four cases download the stored folder (meta/qds included) over
407
+ # the older route instead, for an organization key, with a notice on stderr (also
408
+ # under --json): a sent file over 4.995 GiB, an upload that derived no episodes,
409
+ # a sent file with no recorded SHA-256, or a failed original build.
373
410
  # pi_mcap_v1 and dreamlabs_v2_1 are files to upload to Physical Intelligence or
374
411
  # Dream Labs with your own account: the version's episodes that are not
375
412
  # rejected (Dream Labs: successful ones only). A failed episode is listed in
@@ -377,7 +414,8 @@ qualia dataset download <dataset> --format original
377
414
  qualia dataset download <dataset>:<tag> --format pi_mcap_v1
378
415
 
379
416
  # Versions: list, read, compare, tag, annotate; a merged dataset's merges and
380
- # what was done in a version's round (its curation record)
417
+ # what was done in a version's round (its curation record). get and record
418
+ # take a version as <dataset>:<tag> or as <dataset> <tag>.
381
419
  qualia dataset version list <dataset>
382
420
  qualia dataset version diff <dataset> --base 1.0
383
421
  qualia dataset version create <dataset> 1.1 --note "dropped 3 jerky takes"
@@ -398,6 +436,13 @@ qualia dataset import-hf \
398
436
  --source-format lerobot_v3
399
437
  ```
400
438
 
439
+ `qualia pipeline templates` and `qualia pipeline show` include the template's
440
+ `audience` (`public` or `internal`) when the API supplies it; `--json` also
441
+ carries this field. A deployment's `internal_pipelines` feature flag is off by
442
+ default, so internal templates and runs are not returned to the CLI. With the
443
+ flag on, they appear marked as internal. No new command or CLI-side override
444
+ is needed: the gateway applies the visibility filter.
445
+
401
446
  ### Tasks
402
447
 
403
448
  Tasks say what a robot should do and how success shows, as five pieces of
@@ -512,37 +557,95 @@ qualia dataset relink-task <dataset> [--max-cost N] [--json]
512
557
  # Relinked to Task Restock shelf v4 (was v3); started 2 check runs, up to 120 credits
513
558
  ```
514
559
 
515
- What prepare found in an upload: the tasks discovery sorted the takes into
516
- (each with its Task, a draft until published), the dataset's own task names,
517
- warnings. A found task with no Task prints the `task create` line that makes one.
560
+ What prepare found in an upload: the tasks discovery sorted the takes into,
561
+ the dataset's own task names, warnings. Under each task's name the table says
562
+ what its Task is, `existing Task, linked v1` (checks use the revision stored in
563
+ each episode's link) or `new draft, not published`, then the Task's whole id.
564
+ When its origin is uncertain, the table shows only the known publication;
565
+ `--json` reports `UNKNOWN`. Publication at or after queueing cannot establish
566
+ origin: preparation has no stable completion time, and its last-update time
567
+ can change after success during calibration.
568
+ When every link uses the current published revision, its publication date is
569
+ shown if known. Older or mixed link revisions never take that date.
570
+ For an existing Task a line says how many
571
+ episodes are linked to it now and prints the `dataset assign-task` command that
572
+ links them to a Task of your own, filtering by each label. Empty labels get
573
+ `dataset link-episode` guidance to preserve them. A newer published revision
574
+ prints `vN is published`. The `qualia dataset relink-task DATASET` hint appears
575
+ only when the dataset links that same Task; the command acts on the dataset's
576
+ Task. `--json` has the link facts in `linkedTasks`. A found task with no Task
577
+ prints the `task create` line that makes one.
578
+ When discovery could not sort the takes, a line says why and that the tasks are
579
+ the recordings' own task names, or one Task: check them before publishing.
580
+
581
+ Preparation starts by itself after an upload and takes minutes. Automatic
582
+ checks depend on policy and upload eligibility. Free quality checks default
583
+ on; paid video (VLM) checks default off and require opt-in. An eligible paid
584
+ check may run after preparation if the current policy still enables it and
585
+ admission succeeds.
586
+
587
+ `--wait` covers preparation only. It reads it until it has ended, with a line
588
+ on stderr for each change, then prints it. It exits 1 when the preparation
589
+ failed or is still going after `--timeout` seconds (default 3600; the run goes
590
+ on server-side), and 0 otherwise, also when task discovery fell back. If task
591
+ discovery fails while the run is still going, `--wait` says so at once and
592
+ keeps waiting.
518
593
 
519
594
  ```sh
520
595
  qualia dataset preparation <upload-id> # or its slug; --json for the whole record
596
+ qualia dataset preparation <upload-id> --wait # until it has ended; --timeout SECONDS
521
597
  qualia dataset confirm-task-names <upload-id> --use ts_… # the rest a person's no; --all uses every one
522
598
  ```
523
599
 
524
600
  ### Checks
525
601
 
602
+ Automatic free quality checks default on, paid video checks default off.
603
+ Each half inherits dataset → workspace → org → platform. An override can
604
+ be on, off or inherit. Switching one on starts no work on old episodes;
605
+ run checks manually for them. Admins/Owners set organization or workspace
606
+ defaults; dataset writers set dataset overrides.
607
+
608
+ ```sh
609
+ qualia check policy <ORG_UUID> --org
610
+ qualia check policy <WORKSPACE_UUID> --workspace
611
+ qualia check policy-set <ORG_UUID> --org --graph off
612
+ qualia check policy-set <DATASET_UUID> --graph inherit
613
+ ```
614
+
615
+ [Policy commands and permissions](https://docs.qualiastudios.dev/cli/commands/#qualia-check-policy-and-policy-set).
616
+
526
617
  Run a check over a dataset and read its findings. The VLM check reads each
527
618
  episode against its linked, published task; `estimate` says what a run would
528
- reserve without starting or charging anything.
619
+ reserve without starting or charging anything. Preparation links the episodes,
620
+ so right after an upload `estimate` and `run` are refused ("no selected episode
621
+ is linked to a published task or has a draft task"); while the preparation is
622
+ still going, the error ends with a line that says so and names
623
+ `qualia dataset preparation <dataset> --wait`.
529
624
 
530
625
  ```sh
531
626
  qualia check estimate <dataset> --max-episodes 5 --max-cost 20 # estimate a small trial
532
627
  qualia check run <dataset> --max-episodes 5 --max-cost 20 --wait # same sample and credit ceiling
533
628
  qualia check run <dataset> --model <model> --wait # --check episode-rules|mixture|reach; - for defaults
534
629
  qualia check get vlm # can this deployment run the VLM check?
535
- qualia check status <run-name> # QUEUED, RUNNING, SUCCEEDED or FAILED, with counts
536
- qualia check runs --check vlm -d <dataset> --state FAILED
630
+ qualia check runs --check vlm -d <dataset> --state FAILED # one line per run: vlm/<run-id>, state, raised, created
631
+ qualia check status <run> # QUEUED, RUNNING, SUCCEEDED or FAILED, with counts
537
632
  qualia check findings <dataset> # issues and notes, with verdict, confidence and moments
538
- qualia check reach-status <dataset> # Run solver: its settings and how far the last run got
633
+ qualia check reach-status <dataset> # Run solver: its settings, how far the last run got, and the calibrations its uploads are mixed from
539
634
  qualia check reach-cancel <dataset> # stop the run under way
540
635
  ```
541
636
 
637
+ `<run>` is a check run as `check runs` prints it, `<check>/<run-id>` (for example
638
+ `vlm/<run-id>`), or its full name (`accounts/.../checks/<check>/runs/<run-id>`, what
639
+ `check run` prints). `check status`, `check get`, `dataset checks findings --run` and
640
+ `status cancel` take either, and neither costs a request. A run id alone is refused with
641
+ what to pass: a run is read under its check. `check runs` prints plain lines, not a boxed
642
+ table, so the run is whole at any terminal width.
643
+
542
644
  A VLM run that could not read some episodes still ends SUCCEEDED. `status`
543
645
  then prints `Result: completed, 4 of 30 episodes not checked` and lists each of
544
646
  those episodes with why. Each gets an open "Not checked" issue until a later run
545
- reads it.
647
+ reads it. A graph check run that asks questions about what it removed prints
648
+ them last, under `Review health:`, each with why and a few example episodes.
546
649
 
547
650
  `--max-episodes` and `--max-cost` are positive VLM-only limits. Match both on
548
651
  `estimate` and `run` to see what the trial reserves before it starts. Omit
@@ -552,7 +655,7 @@ them to check the whole eligible scope without a credit ceiling.
552
655
  run first (to stderr with `--json`), then sits out up to five failed reads in a
553
656
  row (any 5xx, a 408, a timeout, a dropped connection); any other 4xx, a 429
554
657
  included, stops it at once. If it still fails, the run keeps
555
- going: follow it with `qualia check status <run-name>` (a draft: `qualia task
658
+ going: follow it with `qualia check status <run>` (a draft: `qualia task
556
659
  draft-get <draft>`).
557
660
 
558
661
  The checks catalog (versioned checks such as `heuristic.jerk` or `task.graph`)
@@ -560,7 +663,7 @@ runs a selection as one run of one kind. Heuristic checks read each episode's
560
663
  data without a model and cost nothing; VLM checks use one model call per episode:
561
664
 
562
665
  ```sh
563
- qualia dataset checks list <dataset> # by category: kind, runnable, last result
666
+ qualia dataset checks list <dataset> # by category: the id --check takes (never cut), kind, runnable, last result
564
667
  qualia dataset checks run <dataset> --kind heuristic --category heuristic --validate-only
565
668
  qualia dataset checks run <dataset> --kind heuristic --all --wait # free: no --max-cost
566
669
  qualia check estimate <dataset> --max-episodes 50 --max-cost 120 # supported VLM check
@@ -590,7 +693,7 @@ Thresholds and reach:
590
693
  ```sh
591
694
  qualia check ranges --interface-hash b3:<hex> # the fences per metric
592
695
  qualia check run <dataset> --check reach # start the reach solver
593
- qualia check reach-status <dataset> # settings, key, last run, stale
696
+ qualia check reach-status <dataset> # settings, key, last run, stale; Mixed: the calibrations the uploads hold when more than one (or the solver is refused for a mix), and whether the solver runs on them
594
697
  qualia check reach-cancel <dataset> # stop it; solved takes keep their results
595
698
  qualia check results <dataset> --state SUCCEEDED # where the robot cannot follow each take
596
699
  ```
@@ -625,7 +728,7 @@ qualia dataset setup <dataset> --robot <robot> # the solver is
625
728
  qualia dataset setup <dataset> --base 0 0 0 --heading 0 # placement: metres, degrees
626
729
  qualia dataset setup <dataset> --robot <robot> --wait # stay for the resolve
627
730
  qualia dataset setup <dataset> --run-solver # press Run solver (never started by itself)
628
- qualia check reach-status <dataset> # settings, last run, takes solved, stale
731
+ qualia check reach-status <dataset> # settings, last run, takes solved, stale, mixed calibrations
629
732
  qualia check reach-cancel <dataset> # stop it; solved takes keep their results
630
733
  ```
631
734
 
@@ -660,20 +763,26 @@ then explicitly move eligible uploads using the revision printed by the check:
660
763
  qualia dataset poses-precheck <merged-dataset>
661
764
  qualia dataset poses-move <merged-dataset> --revision <revision>
662
765
  qualia dataset poses-move <merged-dataset> --revision <revision> --member <upload> # retry one
766
+ qualia dataset poses-move <merged-dataset> --revision <revision> --rig <upload>=<gripper> # name an upload's UMI rig
663
767
  qualia dataset poses-remove <merged-dataset> <upload> --revision <revision>
664
768
  ```
665
769
 
666
770
  The check reports each upload and its blockers. Each move uses that upload's
667
771
  capture rig calibration; uploads without a saved pose file cannot use this
668
- path. The precheck currently requires a write-scoped credential; read-scoped
772
+ path. A workspace with several UMI rigs of one kind does not record which one an
773
+ upload was recorded on. An upload is never placed on one of them by guesswork. It is blocked
774
+ with the rigs it could be. The check lists them, and marks the one whose calibration the
775
+ upload already carries as a hint that is never applied. Name the rig per upload with
776
+ `--rig <upload>=<gripper>` on `poses-precheck` or `poses-move`, and repeat it for more uploads.
777
+ A move carries the rig it used. When the move lands, that rig is stored as the upload's rig, so later
778
+ checks use it and you name it once. A move that fails stores nothing, and retrying it repeats its rig.
779
+ A pre-check stores nothing. If the stored rig is deleted, the check asks again. The precheck currently requires a write-scoped credential; read-scoped
669
780
  prechecks remain a follow-up. Removal makes the upload standalone again and records the removal;
670
781
  its data and review decisions, and the merged dataset's old versions, remain.
671
782
  A move of an upload with split episodes is blocked
672
783
  until pose correction can preserve its pieces ([QUA-3786](https://linear.app/qualia-studios/issue/QUA-3786)).
673
784
  Run a fresh check after membership changes.
674
785
 
675
-
676
-
677
786
  ### Robots and their grippers
678
787
 
679
788
  `qualia robot` registers robots, imports their URDFs and gives a robot a gripper of